Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
hs.urlevent.bind('reload', function(eventName, params) | |
hs.reload() | |
end) | |
hs.urlevent.bind('currentScreenTag', function(eventName, params) | |
alert(getScreenTag()) | |
end) | |
hs.urlevent.bind("printLayout", function(eventName, params) | |
config = {} |
#!/usr/bin/env zsh | |
# | |
# This script generates and writes to file another bash-script (output_script) | |
# that implements "vscodeInstallExtensions" function which installs all | |
# Visual Studio Code extensions that were originally installed on your machine | |
# at the moment of generation output_script by running | |
# "vscodeUpdateExtensionsInstallationScript" function that is implemented here below. | |
# | |
# # How to use | |
# |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
# save it as /etc/profile.d/ssh-telegram.sh | |
# use sed to parse JSON from ipinfo.io | |
# you can get your user_id by writing to @get_id_bot | |
USERID="<target_user_id>" | |
KEY="<bot_private_key>" | |
TIMEOUT="10" | |
URL="https://api.telegram.org/bot$KEY/sendMessage" | |
DATE_EXEC="$(date "+%d %b %Y %H:%M")" | |
TMPFILE='/tmp/ipinfo-$DATE_EXEC.txt' | |
if [ -n "$SSH_CLIENT" ] && [ -z "$TMUX" ]; then |
Sometimes you may want to undo a whole commit with all changes. Instead of going through all the changes manually, you can simply tell git to revert a commit, which does not even have to be the last one. Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.
git revert {commit_id}
Deleting the last commit is the easiest case. Let's say we have a remote origin with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the origin remote repository to the parent of dd61ab32:
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Salesforce's Apex triggers allow you to trigger tray workflows in real-time, based on events that occur in Salesforce. Events include things like:
Salesforce doesn't support webhooks out of the box, so we'll need to add some Apex code to your Salesforce account to notify tray at the right time.
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
This will create a proxy server in whatever your availability zone your VPC is in. For me, that's us-east-1b
. For you, that may be something different. Steps 10+ should more or less work regardless of your provider since those steps cover the setup and configuration of TinyProxy.
IMPORTANT NOTE: Only tested under linux/debian 7.0
For use this bash it needs run in the $HOME folder and execute this command:
~ sudo chmod +x install_emacs_24.5.sh
Then:
~ ./install_emacs_26.sh