I hereby claim:
- I am dorentus on github.
- I am dorentus (https://keybase.io/dorentus) on keybase.
- I have a public key whose fingerprint is 32DD 649A 9F71 F018 1561 5167 34A8 0D0F 6825 922C
To claim this, I am signing this object:
#!/usr/bin/arch -x86_64 /bin/sh | |
exec $SHELL --login |
# ISP Shanghai Telecom | |
bogus-nxdomain=180.168.41.175 | |
# OpenDNS | |
bogus-nxdomain=67.215.65.132 | |
bogus-nxdomain=67.215.77.132 | |
bogus-nxdomain=208.69.34.132 | |
bogus-nxdomain=208.69.32.132 | |
# DNSPai |
#!/bin/bash | |
# see: http://blog.tomtung.com/2009/11/cowsay-fortune | |
# http://www.commandlinefu.com/commands/view/3584/remove-color-codes-special-characters-with-sed | |
# https://github.com/busyloop/lolcat | |
# https://github.com/dorentus/mruby-lolcat-bin | |
# | |
# requires `fortune`, `cowsay`, | |
# and ruby gem `lolcat` or its mruby version equivalent | |
export LANG="en_US.UTF-8" |
#import <Foundation/Foundation.h> | |
#import <dlfcn.h> | |
@interface UIWebView : NSObject | |
@end | |
@implementation UIWebView | |
+ (id)alloc | |
{ |
#!/usr/bin/env xcrun swift | |
import Foundation | |
import CoreText | |
func input_from_stdin() -> String { | |
var input = "" | |
let stdin = FileHandle.standardInput | |
let zeroData = Data() | |
while true { | |
let input_data = stdin.availableData |
MRuby::Build.new do |conf| | |
toolchain :clang | |
conf.gembox 'default' | |
end | |
def crossbuild_for(name, platform, sysroot, cc_defines = []) | |
MRuby::CrossBuild.new(name) do |conf| | |
toolchain :clang | |
conf.gembox 'default' |
[Unit] | |
Description=Shadowsocks Server | |
After=network.target | |
[Service] | |
Type=forking | |
PIDFile=/run/shadowsocks/server.pid | |
PermissionsStartOnly=true | |
ExecStartPre=/bin/mkdir -p /run/shadowsocks | |
ExecStartPre=/bin/chown nobody:nogroup /run/shadowsocks |
#!/bin/bash | |
RD=ramdisk | |
if [ ! -e "/Volumes/$RD" ]; then | |
diskutil erasevolume HFS+ "$RD" `hdiutil attach -nomount ram://16777216` # 8G | |
# ~/Library/Developer/Xcode | |
mkdir -p "/Volumes/$RD/Xcode" |
if ((*(int8_t *)guard variable for __dynamic_cast::use_strcmp == 0x0) && (___cxa_guard_acquire(guard variable for __dynamic_cast::use_strcmp, rsi, rdx, rcx, r8, r9) != 0x0)) { | |
rsi = *_NSGetProgname(); | |
rcx = 0x1; | |
if (strcmp("Adobe Illustrator", rsi) != 0x0) { | |
rsi = *_NSGetProgname(); | |
rdx = 0x13; | |
rcx = strncmp("Adobe Photoshop CS5", rsi, rdx) == 0x0 ? 0x1 : 0x0; | |
} | |
*(int8_t *)__dynamic_cast::use_strcmp = rcx; | |
___cxa_guard_release(guard variable for __dynamic_cast::use_strcmp, rsi, rdx, rcx, r8, r9); |
I hereby claim:
To claim this, I am signing this object: