I hereby claim:
- I am kccheung on github.
- I am chubao (https://keybase.io/chubao) on keybase.
- I have a public key ASCtq2R1gydp_8FoB0Nxec7TW1M__3aeAVd7N2y4dvs2Fwo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import argparse | |
from math import ceil, floor | |
sign = lambda amt: -1 if amt<0 else (1 if amt>0 else 0) | |
class dobj: |
[Unit] | |
Description=AutoSSH reverse tunnel service for jump.you.io 100022 -> 22 | |
After=network.target | |
[Service] | |
Environment="AUTOSSH_GATETIME=0" | |
ExecStart=/usr/bin/autossh -M 0 -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -NR 10022:127.0.0.1:22 [email protected] -i /home/root/.ssh/id_rsa | |
[Install] | |
WantedBy=multi-user.target |
import hashlib | |
import hmac | |
import json | |
import time | |
import urllib.parse | |
from threading import Thread | |
from collections import deque | |
from requests import Request, Session | |
from requests.exceptions import HTTPError |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# This script is meant to be used with bitcoin_fork_claimer: https://github.com/ymgve/bitcoin_fork_claimer | |
# The outputs of this script are the inputs to that script. | |
# Python 2.x is required | |
import urllib2 | |
import json | |
import sys |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""pyscript.py | |
A simple python script template. | |
http://ajminich.com/2013/08/01/10-things-i-wish-every-python-script-did/ | |
""" | |
import argparse | |
echo "license_key: YOUR_LICENSE_KEY" | sudo tee -a /etc/newrelic-infra.yml
:
vi /etc/newrelic-infra.yml
and add the line strip_command_line: false
, this allows the command line filter to include all argumentssudo systemctl restart newrelic-infra
cron
process, please goto INFRASTRUCTURE -> Settings -> Alerts -> Create alert condition, check existing created alert for reference" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
ACTION = build | |
AD_HOC_CODE_SIGNING_ALLOWED = NO | |
ALTERNATE_GROUP = staff | |
ALTERNATE_MODE = u+w,go-w,a+rX | |
ALTERNATE_OWNER = grantdavis | |
ALWAYS_SEARCH_USER_PATHS = NO | |
ALWAYS_USE_SEPARATE_HEADERMAPS = YES | |
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer | |
APPLE_INTERNAL_DIR = /AppleInternal | |
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation |
#!/usr/bin/env bash | |
targetVersion="$1" | |
if [ "$1" == "" ]; then | |
echo "Usage: $0 <buildToolsVersion>"; | |
else | |
find \ | |
node_modules \ | |
-type f \ | |
-iname 'build.gradle' \ |