Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Seven askdaddy

🎯
Focusing
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
@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

Install

Follow the steps below to install Team City 9.1.6 on Ubuntu with Nginx as the proxy for port 80.

Install Team City:

# will install on port 8111
sudo wget -c https://gist.githubusercontent.com/uglide/280b502c8be6fe46039b/raw/teamcity-install.sh -O /tmp/teamcity-install.sh
@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
@askdaddy
askdaddy / DockerCE-CentOS7.md
Last active Mar 2, 2018
Install Docker CE using the repository on CentOS 7.2
View DockerCE-CentOS7.md

Offical docs

  • Install requirements
yum install -y yum-utils device-mapper-persistent-data lvm2
  • Add repo