Skip to content

Instantly share code, notes, and snippets.

@hypery11
hypery11 / fb.js
Last active August 29, 2015 14:04 — forked from Inndy/What the hell...js
/*
* 這是神人大大剛剛發的JS
* 我稍微分析了一下
* 請各位不要幹這種無腦的事情
* 還好他很 ______ 的只會讓你追蹤他,按他讚,Tag更多好友中標
* 如果今天神人大大是真正的Hacker....
* 他可以偷走你的個人資料,對你的帳號做各種奇怪的事情
* Ex:對你的好友發送詐騙訊息,把你加入奇怪的社團
* 在瀏覽器內執行來路不明的 JavaScript 是非常危險的...
*/
@hypery11
hypery11 / php file_get_contents_POST
Created November 14, 2014 18:11
php file_get_contents_POST
$opts = array('http' =>
array(
'method' => 'POST',
'header' => "Content-Type: text/xml\r\n".
"Authorization: Basic ".base64_encode("$https_user:$https_password")."\r\n",
'content' => $body,
'timeout' => 60
)
);
<html lang=zh-tw>
<head >
<title>數創萬萬歲</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:type" content="website" />
<meta property="og:url" content="http://web.thu.edu.tw/s1023724/www/xmas/index.php" />
<meta property="og:title" content="數創萬萬歲" />
<meta name="og:description" content="2014 Marry XSS " />
@hypery11
hypery11 / tmp
Created April 9, 2015 15:26
tmp
import sys
import urllib
import base64
import time
import multiprocessing
url="http://fsis.thu.edu.tw/wwwstud/LABOR/spicview.php?spic_id="
id_set=list(range(1023700,1023999))
core=[1,4,8,16]
@hypery11
hypery11 / Obsidian
Last active September 28, 2015 17:48
[python][theme]Obsidian
##python idle theme
##insert to C:\Python34\Lib\idlelib\config-highlight.def
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
@hypery11
hypery11 / .nanorc
Created June 13, 2016 05:29
nanorc
## Sample initialization file for GNU nano
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that characters specially
## interpreted by the shell should not be escaped here.
##
## To make sure a value is not enabled, use "unset <option>"
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
@hypery11
hypery11 / thu_fsis_job_resign.user.js
Last active January 3, 2019 12:37 — forked from anonymous/thu_fsis_job_resign.user.js
東海大學學生資訊系統自動補登
// ==UserScript==
// @name THU fsis job resign
// @namespace cph@thu.edu.tw
// @version 0.2
// @description 東海大學學生資訊系統自動補登
// @author CPH
// @match http*://fsiso.thu.edu.tw/wwwstud/STUD_V6/LABOR/jobRESign_detail.php
// @grant none
// ==/UserScript==
(function() {
@hypery11
hypery11 / 簡易海水缸.md
Last active January 22, 2017 09:37
簡易海水缸

目標

以最簡單材料成本BUILD出超高CP值海水缸

器材

  • 一呎缸
  • 開缸達人、護缸達人
  • 過濾-外掛,考慮銀箭強迫式 XB-2060 或 XB-2100
  • 底沙-珊瑚砂
  • 海水素
const unirest = require('unirest')
headers = {
'Accept': 'application/x-thrift',
'Content-Type': 'application/x-thrift',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',
'X-Line-Application': 'ANDROIDLITE\t8.2.4\tAndroid\tOS\t6.0',
'X-LE': "18",
'X-LST': 1e3 * 1,
'X-LAL': "en",
'X-LHM': 'POST',