Skip to content

Instantly share code, notes, and snippets.

Avatar

Seven askdaddy

View GitHub Profile
View 视频文件转码对接规范.md
View README
# RUST DS @ aliyun-hangzhou
QQ群:148744924
View RUST_SERVER
# RUST DS @ aliyun-hangzhou
QQ群:148744924
View gist:cac8333ed16b90d32b904d481d4054e0
#proxy https://18616304029:MTg2MTYzMDQwMjkjMSM0NjQzMDc4NTAyIzM2MDAjM2FlOGFjODQ2YTRiNDE5NQ==@lax02.c2.tan14.org:2443
proxy https://18616304029:MTg2MTYzMDQwMjkjMSM0NjQzMDc4NTAyIzM2MDAjM2FlOGFjODQ2YTRiNDE5NQ==@98.126.105.30:2443
View 来源 jasper-1024.github.io
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#=================================================================#
# System Required: CentOS 6,7, Debian, Ubuntu #
# Description: One click Install ShadowsocksR Server #
# Author: Teddysun <i@teddysun.com> #
# Thanks: @breakwa11 <https://twitter.com/breakwa11> #
# Intro: https://shadowsocks.be/9.html #
#=================================================================#
@askdaddy
askdaddy / install-teamcity.md
Created Nov 23, 2017 — forked from uglide/install-teamcity.md
Install TeamCity 9.1.6 on Ubuntu with Nginx
View install-teamcity.md
@askdaddy
askdaddy / log.js
Created Nov 26, 2017 — forked from vikas5914/log.js
Custom Logger Library with winston
View log.js
var winston = require('winston')
// set default log level.
var logLevel = 'info'
// Set up logger
var customColors = {
trace: 'white',
debug: 'green',
info: 'blue',
@askdaddy
askdaddy / mining.sh
Created Dec 13, 2017
Ethereum-Mining
View mining.sh
#!/bin/sh
ethminer -G -F http://eth-us.dwarfpool.com/0x3dd88ef976d721dd4f76794d405b235a0a887461/humen1@gmail.com --cl-local-work 256 --cl-global-work 16384
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@askdaddy
askdaddy / smokeping.conf
Last active Jan 2, 2018
Supervisor_smokeping_slave_Config
View smokeping.conf
[program:smokeping]
command=/usr/sbin/smokeping --master-url=http://ping.yuanjin.io:8088/smokeping/smokeping.fcgi --shared-secret=/var/lib/smokeping/secret --cache-dir=/var/lib/smokeping --slave-name=sha0Seven --nodaemon
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.err
stopsignal=6