Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Xiao Wang truebit

🎯
Focusing
Block or report user

Report or block truebit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@truebit
truebit / default.conf
Created Apr 2, 2019 — forked from mattes/default.conf
redash.io setup
View default.conf
upstream redash {
server redash:5000;
}
server {
listen 80;
location / {
return 301 https://$host$request_uri;
}
@truebit
truebit / iterm2-solarized.md
Created Nov 16, 2017 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel9k

Powerlevel9k

View exception.php
<?php
namespace Pokus;
class Exception extends \Exception
{
}
function tttt($string)
{
try {
@truebit
truebit / valgrind_android_build.sh
Last active Dec 12, 2018
Valgrind 3.12.0 cross compile on Android
View valgrind_android_build.sh
#!/bin/sh
#ndk root now could be installed in Android SDK manager/Extras/NDK Bundle; should be $ANDROID_HOME/ndk_bundle
echo "NKDROOT: " $NDKROOT
export ANRDOID_TOOLCHAIN="arm-linux-androideabi-4.9"
# Set up toolchain paths.
#
# For ARM
@truebit
truebit / libev-centos6.md
Last active Jun 6, 2019
install shadowsocks-libev on CentOS 6
View libev-centos6.md

shadowsocks-libev install on CentOS 6

Latest update:

2016/12/10 add prce dependency

2016/07/13 remove latest dependencies that is not needed for compile: asciidoc xmlto

2019/03/06 change shadowsocks resource; add shadowsocks new dependencies build

View ryan-objc.cfg
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.2 (140)
#
# Alignment
# ---------
## Alignment
@truebit
truebit / clothes_lining
Last active Dec 16, 2015
面料材质中英对照
View clothes_lining
毛WOOL
丝 SILK(SE)
棉 COTTON(CO)
麻 LINEN
亚麻 FLAX
琼麻 SISAL
大麻 hemp
黄麻 jute
马尼拉麻 abaca
尼龙 NYLON
You can’t perform that action at this time.