Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Voyager is a nice compact split keyboard and it has a variety of mounting options thanks to the magnetic case and the extra magnetic mounting kit that ZSA also makes.
-
There are a few solutions to have remote access from iPad to MacBook: Chrome remote desktop Teamviewer Jump desktop SSH, Mac screen sharing app Some other options I’ll start with the simplest - Teamviewer and Jump Desktop.
-
I am testing the remote desktop to access MacBook and it is inconvenient that MacBook needs to stay with the lid open.
-
It is often useful to split a large change into several smaller branches and create smaller PRs which are easier to understand and review.
-
Solving the Vue app build out-of-memory error If you encounter an out-of-memory error during the frontend build, you can increase the memory limit for the node process by setting the NODE_OPTIONS environment variable: export NODE_OPTIONS=--max_old_space_s…
-
How to Profile Vue CLI Service Build (webpack build) The vue cli build is managed by the build command of the @vue/cli-service package.
-
Why run the same command in multiple tmux panes?
-
Traditional keyboards have a large spacebar that is available for both thumbs.
-
Testing FastAPI CORS Settings This is an example of testing FastAPI app CORS settings to see how allow_origins (the Access-Control-Allow-Origin) and allow_credentials (the Access-Control-Allow-Credentials header) parameters work practically.
-
Running OpenAI TTS API in Google Colab The example below runs OpenAI TTS API in a Google Colab notebook.
-
I used to configure ElasticBeanstalk access to the external RDS database by editing inbound rules for the security group attached to the database.
-
The upgrade to node 18 broke some things on CI that looked strange at first: The npx wait-on checks started showing connection errors.
-
I want to debug a flaky test and run it multiple times until the test runner returns non-zero code.
-
There are three useful tools to check the Docker image size and see what takes space: docker image ls - show images and sizes docker image history image:tag - show image layers and size for each layer dive - a tool to inspect the image and see what each l…
-
The extension storage is not displayed under the “Application” tab in Chrome DevTools, but it is possible to access it via the javascript console: Open some web page, open Chrome DevTools In the javascript console, select the extension context (the drop-d…
-
There are several tools that can be used to format a large JSON file.
-
To use kdiff3 as your diff tool and merge tool in git, run the following commands: git config --global mergetool.kdiff3.cmd 'kdiff3 "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED"' git config --global merge.tool kdiff3 git config --global difftool.kdiff3.cmd 'kdi…
-
Simple: Change Last Commit Message To change the last commit message, use commit with --amend flag: Careful: `commit --amend` will rewrite history, do not use on public branches. $ git commit --amend It will open an editor and change the commit message, c…
-
The shortlog -ns will show the number of commits by author: git shortlog -ns 280 Author One 46 Author Two 25 authorthree 14 au 4 x 3 Autor One 1 ide user x
-
Git allows joining unrelated repositories via remotes which, in turn, allows moving files and change history between them.
-
To cherry pick a range of commits to another branch, we can use the START^..END commit range syntax, where START is the first commit in the range and END is the last commit: git cherry-pick START^..END References How to cherry-pick a range of commits and…
-
Mitosis Keyboard First Impressions I’ve received my Mitosis a few days ago and I like it a lot so far: The size: perfect for the 36 keys layout I use The shape: very comfortable, lowered outer columns feel great for pinkies I wish the inner column, for the
-
After reading this, this and this and this, I’ve got Oculus Quest wanting to try it for work.
-
It can be useful to have more than one configuration file, for example, to build several code bundles.
-
A collection of links to touch typing tutors and games.
-
I started seeing an increased charge in billing for AWS Config service in one of the accounts, it increased from around $5 to $100 per month.
-
AWS CloudFront allows to have multiple origins for the distribution and, along with lambda@edge functions, that makes it possible to use CloudFront as an entry point to route the requests to different services based on the request path.
-
When using project management system (Jira, Redmine, Github issues, etc) it is useful to add the issue number into the commit message that makes it easier to understand which issue the commit belongs to and often allows the project management system to di…
-
Sometimes it is simpler to keep the package on github, for example, if you have a fork of a published package with some private changes.
-
The asciinema is a good and simple to use tool to record a screencast from the terminal session.
-
To get a very convenient full-screen console debugger for python, install ipdb and pdbpp packages.
-
There are two ways recommended in pep-8 to format the blocks with long parameter lists in Python: # Arguments start on the next line foo = long_function_name( var_one, var_two, var_three, var_four) Another way is: # Arguments start on the same line foo =…
-
There is no “callback hell” in Javascript, it is just a bad programming style.
-
It is possible to format and have syntax highlighting for code in Disqus comments.
-
Using SSH tunnels, it is possible to access remote resources that are not exposed to the Internet through the intermediate hosts or expose your local services to the Internet.
-
I suddenly started getting the Default subnet in us-east-1f not found error during the ElasticBeanstalk environment update.
-
The main purpose of this workflow is to have a reliable, but simple to use git workflow.
-
The purpose of this setup is: Setup multiple web apps with different dependencies on the same server Link all apps to the same MySQL server Manage uploaded files for web apps in the single place (so it is easy to backup them) Automatically deploy and upda…
-
According to the Wikipedia the Liskov Substitution Principle (LSP) is defined as: Subtype Requirement: Let f(x) be a property provable about objects x of type T.
-
Today I had a problem with PostgreSQL connection, both my application and psql tool returned an error: FATAL: remaining connection slots are reserved for non-replication superuser connections The PostgreSQL server was running on the db.t1.micro RDS instan…
-
Drone CI is a Continuous Integration platform.
-
CloudWatch Logs is an AWS service to collect and monitor system and application logs.
-
After using CloudWatch Logs for some time I found that it is very inconvenient to have one stream per instance.
-
Elastic beanstalk python application is deployed under /opt/python/.
-
Setup Download and extract dynamodb local to some folder.
-
Note: this post is outdated, because it is already possible to add a secondary index to the existing table (it was not possible in earlier DynamoDB versions).
-
First you need the EMR cluster running and you should have ssh connection to the master instance like described in the getting started tutorial.
-
I described how to setup mongodb on EC2 using OpsWorks and here is how to setup mongo data backups.
-
Below is a simple python script which performs application deployment using OpsWorks API library (boto).
-
Amazon OpsWorks provides a way to manage AWS resources using Chef recipes.