Skip to content

Instantly share code, notes, and snippets.

View dogtopus's full-sized avatar
🦄
Unicorn!

dogtopus

🦄
Unicorn!
View GitHub Profile
@dogtopus
dogtopus / Dockerfile
Last active July 1, 2016 13:31
v2ray Dockerfile using alpine
FROM alpine:latest
# ENV V2RAY_VERSION master
ENV V2RAY_VERSION v1.17.3
ENV BUILD_DEPENDENCIES go git
ENV GOPATH /tmp/go
RUN apk add --update $BUILD_DEPENDENCIES \
&& mkdir $GOPATH \
@dogtopus
dogtopus / haibot.txt
Created March 3, 2016 04:13
Haibara bot @ Baidu Tieba
不能从外表去判断的,就像美丽的蔷薇也有刺一样。
人是不可以过度水贴的……如果特意去水贴的话,吧务就会给你惩罚。
人是有感情的动物,而感情是看不见的,所以才会十分善变。
人类的科学所创造出来的悲剧,你不觉得很可怕吗?
今天是大吉呢
你不会得意忘形,水好多贴了吧,嗯?
你又召唤我这个年幼可爱的少女来帮你暖贴吗?
你是变态吗
你是我非常感兴趣的研究对象,所以我想给你挽尊
你的正义之眼看得穿邪恶之心,却看不透女人的心意?
# 脚本使用设定:
LEVEL_UP_POINT = 1 # 每升一级所增加的点数
LEVEL_UP_VARIABLE = 110 # 储存角色点数的变量编号与角色id编号的差值
# 默认情况 = 100,
# 则是数据库里1号角色的加点数存于101号变量
# 3号角色的加点数存于103号变量。
# 你可以直接操作变量赠与角色可分配点数
x
webadmin
webadmin2
vmail
vaimedia
vaimedia3
upload
transoft
tomcat
test
$ desmume --cpu-mode=1 --jit-size=1 ind-cpue.nds
Slot 2: NONE
Failed to set format: Invalid argument
Microphone init failed.
DeSmuME 0.9.10 svnr4636 x86-JIT NOSSE
SoftRast Initialized with cores=1
Already decrypted.
ROM game code: CPUE
ROM crc: 69D628E8
@dogtopus
dogtopus / 91sucks.sh
Created April 22, 2013 12:23
PandaDaemon remove script
#!/bin/bash
# Run as root, and it'll remove PandaDaemon automatically
# Make sure you have uninstalled ALL the pxl package before you run this script
# This script comes up with NO WARRANTY, it may brick your iOS device, you should know what you're doing before you start.
echo 'Cleaning up...'
rm -rf /Applications/PandaSpace.app
rm -rf /var/mobile/PandaSpace
rm -rf /var/mobile/Library/PandaSpace/
rm -rf /var/mobile/Library/NetDragon/
#!/usr/bin/env ruby
require 'zlib'
require 'yaml'
def decode(fname,dir)
begin
Dir.mkdir(dir) if !File.exist?(dir) and !File.directory?(dir)
marshal=File.open(fname,'rb')
yaml=File.open(File.join(dir,'Scripts.yaml'),'wb')