:tabnew new tab
:vsp vertical split
:sp horizental split
c-ww move around panes
gt switch between windows
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
source: https://aaronparecki.com/2016/07/29/10/git-tower
Configure your git client to always sign commits:
$ git config --global commit.gpgsign true
Try to sign a commit from the command line before trying it with Tower. Once you're able to successfully sign commits from the command line, you can set it up to work with Tower.
Add no-tty to your GPG configuration, to allow Tower to use it:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Jun 29 2016 | |
# --------------------------------------------- | |
# Source: https://github.com/nedhorning/PhotoMonitoringPlugin/blob/master/downloads/luts/NDVIBlu2Red.lut | |
mode = 255 | |
46 3 120 | |
46 3 120 | |
46 5 121 | |
45 7 122 | |
45 8 123 |
SELECT
pg_terminate_backend(pid)
FROM
pg_stat_activity
WHERE
-- don't kill my own connection!
pid <> pg_backend_pid()
-- don't kill the connections to other databases
AND datname = 'databasename';
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import pika | |
url = 'amqp://url/' | |
connection = pika.BlockingConnection(pika.URLParameters(url)) | |
channel = connection.channel() | |
while True: | |
method_frame, header_frame, body = channel.basic_get('default') | |
if method_frame: |
To test run:
$ python test.py 96 30 -112
[27.036776088952962, 238.07024499380225, 255]
$ python test.py 20 26 -112
[0, 57.81312081380023, 225.2969485439981]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var my_teams = ["@github/css", "@github/design"] // Add any teams you want autodetected to this list | |
var base_label = ["GitHub"] | |
var my_teams_regex = new RegExp('(' + my_teams.join('|') + ')') | |
function GitHubThread(thread) { | |
this._thread = thread | |
// Determine why we got this message and label the thread accordingly. | |
// |
NewerOlder