Skip to content

Instantly share code, notes, and snippets.

View winooxx's full-sized avatar
💭
I may be slow to respond.

Lawrence_XS winooxx

💭
I may be slow to respond.
View GitHub Profile
@winooxx
winooxx / telecom_speedup.py
Created February 28, 2020 05:35
China Telecom SpeedUp
#!/usr/bin/python3
from Crypto.Cipher import AES
import requests
import json
import time
import urllib
import random
from base64 import b64decode,b64encode
# change this
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
@winooxx
winooxx / HanziToPinyin.java
Created April 10, 2017 05:10 — forked from D-clock/HanziToPinyin.java
从Android4.2.2原生系统中提取出来的汉字转换成拼音的方案,同时兼容国产ROM
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@winooxx
winooxx / demo.tex
Created February 28, 2017 11:27 — forked from Liam0205/demo.tex
demo of moderncv
%!TEX program = xelatex
% Font Size:
% 10pt, 11pt, 12pt
% Paper Size:
% a4paper, letterpaper, a5paper, leagalpaper, executivepaper, landscape
% Font Family:
% roman, sans
\documentclass[12pt, a4paper, roman]{moderncv}
% Style: