Skip to content

Instantly share code, notes, and snippets.

🎯

蕴荼 inkedawn

View GitHub Profile
@inkedawn
inkedawn / helper.js
Last active Apr 13, 2019
剑心闯江湖活动小游戏提交分数
View helper.js
// 活动网址:https://w.pvp.xoyo.com:60084/
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
var CryptoJS = CryptoJS || function(g, l) {
var e = {},
@inkedawn
inkedawn / jisuanke.user.js
Last active Jan 22, 2019
计蒜客助手
View jisuanke.user.js
// ==UserScript==
// @name 计蒜客助手
// @namespace http://tampermonkey.net/
// @homepage https://gist.github.com/inkedawn/12b82ba385666853a00c3725d6c04d27
// @version 0.2.0
// @description [计蒜客]
// @description [jisuanke]
// @author inkedawn
// @license MIT
// @date 22/01/2019
View TaomeeDLLUnpack.go
package main
import (
"fmt"
"os"
"strconv"
)
// args
var (
@inkedawn
inkedawn / calc.html
Created Jan 13, 2019
剑网3 会心/伤害(治疗)秘籍收益计算
View calc.html
<!DOCTYPE html>
<html>
<head>
<title>会心/伤害(治疗)秘籍收益计算</title>
</head>
<body>
<label for="criticalEffect">输入会效(%):</label>
<input type="text" placeholder="如175" id="criticalEffect" value="175">
<p>秘籍收益(从大到小排序):</p>
<div id="result">
@inkedawn
inkedawn / encrypt.go
Created Dec 29, 2018
Packet Encrypt Algorithm of taomee game Seer2
View encrypt.go
package encrypt
const (
Key = "taomee_seer2_k_~#"
)
// 异或加解密
func xorCalc(result []byte, raw []byte, key []byte) {
if len(result) != len(raw) {
panic(len(result))
View main.go
package main
import (
"fmt"
"strings"
"errors"
"net/http"
"net/url"
"encoding/json"
"os"
@inkedawn
inkedawn / expr.cpp
Last active Oct 7, 2018
简单的表达式解析与运算求值(支持整数/浮点运算、有优先级的二元运算(加减乘除))
View expr.cpp
#include <string>
#include <memory>
#include <cassert>
class Expr{
public:
virtual double evaluate() = 0;
virtual std::string toString() = 0;
virtual std::string toRPN() = 0; // 逆波兰表示法
class Op {
View InvisibleCharacterDemo.php
<?php
$a="test";
$b="test‬";
$c="test‬";
var_dump($a); var_dump($b); var_dump($c);
View genesis_public_key
04480894e8133a0dbedd0bfa20b4f610cd9249ba779d0a81f0e6ecbf8e64dd4b42f3aac18156afa5bd20aa931cb56680e7656b2400aa7a54ba283e41fbc8d3613d mickeyandkaka
You can’t perform that action at this time.