Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
import sys | |
import re | |
from time import sleep | |
import requests | |
from requests.auth import HTTPBasicAuth | |
from bs4 import BeautifulSoup | |
from termcolor import colored | |
MAIN_PAGE_URL = "http://192.168.1.1/info.html" |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
import requests | |
class AllianceBroadband(object): | |
def __init__(self, username, password, login_identification_string, | |
login_page_url='http://10.254.254.116/0/up/'): | |
self.username = username | |
self.password = password | |
self.login_identification_string = login_identification_string | |
self.login_page_url = login_page_url |
var webpack = require("webpack"); | |
module.exports = { | |
entry: { | |
'respondent-connections': './surveyapp/static/js/respondent-connections/app.js' | |
}, | |
output: { | |
path: './surveyapp/static/js/respondent-connections/', | |
filename: 'build.min.js' |
------------------------------------------------------------------------------- | |
-- HTTP Accept-Language header handler -- | |
-- @originalAuthor: [email protected] -- | |
-- @originalRepository: https://github.com/fghibellini/nginx-http-accept-lang-- | |
-- @modifiedBy: [email protected] -- | |
-- @gist: https://gist.github.com/mauron85/47ed1075262d9e020fe2 -- | |
-- @license: MIT -- | |
-- @requires: -- | |
-- @description: -- | |
-- returns language with greatest quality -- |
server { | |
listen 80 default_server; | |
root /home/ubuntu/test; | |
index index.html index.htm; | |
error_log /home/ubuntu/test/error.log; | |
access_log /home/ubuntu/test/access.log; | |
location / { |
// ==UserScript== | |
// @name Amazon Add to Cart | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match *://www.amazon.in/*/dp/* | |
// @match *://www.amazon.in/dp/* | |
// @match *://www.amazon.in/gp/product* | |
// @grant none |
#!/usr/bin/env bash | |
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz | |
mkdir vim && tar xzvf vim.tar.gz -C vim | |
export PATH=$PATH:/app/vim/bin |
### Keybase proof | |
I hereby claim: | |
* I am vivekagr on github. | |
* I am vivekagr (https://keybase.io/vivekagr) on keybase. | |
* I have a public key whose fingerprint is 4FA1 AE88 2283 2C82 BA99 3F46 3B29 18BA BEE9 8359 | |
To claim this, I am signing this object: |