Skip to content

Instantly share code, notes, and snippets.

Avatar
❤️
Your sponsor

三三 oott123

❤️
Your sponsor
View GitHub Profile
View gist:43c640188639a80415218e241372fc96
Verifying my Blockstack ID is secured with the address 1JwxSWLq1wf4N8SYBHbXtsWQsgvv34DjBS https://explorer.blockstack.org/address/1JwxSWLq1wf4N8SYBHbXtsWQsgvv34DjBS
View safari-16-videos-bug.html
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>safari 16 videos bug</title>
</head>
<body>
<div id="count"></div>
<div id="hello"></div>
<button style="width: 300px; height: 200px; border: solid; font-size: 40px" onclick="test()">测试!</button>
View oott123_panda_fullscreen.user.js
// ==UserScript==
// @name 熊猫自动网页全屏
// @namespace oott123_panda_fullscreen
// @version 0.1
// @description 自动网页全屏+网页全屏按钮
// @author You
// @match *://*.panda.tv/*
// @grant none
// @run-at document-end
// ==/UserScript==
View Proxy.java
package com.xloger.unitylib;
import android.util.Log;
import java.util.LinkedList;
import java.util.Queue;
public class Proxy {
public static class invokeData {
public String method;
@oott123
oott123 / coolqReader.cs
Created May 9, 2016
CoolQ Pack C# Reader
View coolqReader.cs
class BinaryReaderBigEndian : BinaryReader
{
private byte[] a16 = new byte[2];
private byte[] a32 = new byte[4];
private byte[] a64 = new byte[8];
public BinaryReaderBigEndian(Stream stream) : base(stream) { }
public override short ReadInt16()
{
a16 = base.ReadBytes(2);
if (BitConverter.IsLittleEndian)
@oott123
oott123 / markdown.md
Last active Dec 14, 2015 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet. I used Bootstrap's Base CSS documentation as a reference.
View markdown.md

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
@oott123
oott123 / result.txt
Created Jul 25, 2015
Node.js Harmony
View result.txt
node --harmony test.js
p1 callback
p3 callback
this is p1
View keybase.md

Keybase proof

I hereby claim:

  • I am oott123 on github.
  • I am oott123 (https://keybase.io/oott123) on keybase.
  • I have a public key whose fingerprint is 0C52 E1EC 0FD6 3009 3834 0B57 258E 0070 D61B 0D8D

To claim this, I am signing this object:

@oott123
oott123 / YueDu.recipe
Created May 30, 2015
Tiny Tiny RSS + Calibre + Mailgun + Kindle = Best RSS Experience
View YueDu.recipe
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
import json, urllib2, urllib, pprint, re
class TClient():
def __init__(self, url, username, password, logger, key, test = False):
self.url = "%s/api/" % url
self.username = username
View gist:4d77c4b81939a8bfb561
[Adblock Plus 2.3.1]
||g.alicdn.com/alilog/mlog/??spm.js,spmact.js^
||tbcdn.cn/s/aplus_v2.js
||alicdn.com/alilog/mlog/aplus_v2.js
||assets.alicdn.com/cps/trace.js^
||tad.t.taobao.com^
||g.alicdn.com/tb/relationrecommendplug^
||alicdn.com/alilog^
||alicdn.com/tb/tracker^
||alicdn.com/ccc/bird-jstracker^