To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
| kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| -- TerminalVim.app | |
| -- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm | |
| -- To use this script: | |
| -- 1. Open Automator and create a new Application | |
| -- 2. Add the "Run Applescript" action | |
| -- 3. Paste this script into the Run Applescript section | |
| -- 4. Save the application as TerminalVim.app in your Applications folder | |
| -- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default |
| #!/usr/bin/python | |
| """Convert all of your Viscosity connections into OVPN configuration files for OpenVPN | |
| https://gist.github.com/ishahid/693c2c97b3236a3c2416fc09ab170244 | |
| """ | |
| import re | |
| import glob | |
| from os.path import expanduser, dirname |
| SELECT | |
| tc.constraint_name, tc.table_name, kcu.column_name, | |
| ccu.table_name AS foreign_table_name, | |
| ccu.column_name AS foreign_column_name | |
| FROM | |
| information_schema.table_constraints AS tc | |
| JOIN information_schema.key_column_usage AS kcu | |
| ON tc.constraint_name = kcu.constraint_name | |
| JOIN information_schema.constraint_column_usage AS ccu | |
| ON ccu.constraint_name = tc.constraint_name |
I'm not suggesting drastic action. I don't want to break backwards compatibility. I simply want to make the class feature more usable to a broader cross section of the community. I believe there is some low-hanging fruit that can be harvested to that end.
Imagine AutoMaker contained class Car, but the author wants to take advantage of prototypes to enable factory polymorphism in order to dynamically swap out implementation.
Stampit does something similar to this in order to supply information needed to inherit from composable factory functions, known as stamps.
This isn't the only way to achieve this, but it is a convenient way which is compatible with .call(), .apply(), and .bind().
Go to https://developer.apple.com/downloads/index.action and search for "Command line tools" and choose the one for your Mac OSX
Go to http://brew.sh/ and enter the one-liner into the Terminal, you now have brew installed (a better Mac ports)
Install transmission-daemon with
brew install transmission
Copy the startup config for launchctl with
ln -sfv /usr/local/opt/transmission/*.plist ~/Library/LaunchAgents
#How to work on someone else's branch
Let's assume you need to collaborate with Batman on his forked repository.
git remote add batman [email protected]:batman/iambatman.git