This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#coding:utf-8 | |
# Author: Beining --<cnbeining#gmail.com> | |
# Purpose: A simple script to get lots of viewers of Bilibili Live | |
# Created: 08/11/2015 | |
# Error report: http://www.cnbeining.com/?p=952 | |
# https://github.com/cnbeining somewhere within my gists | |
import sys | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xx.xx.xx.xx music.163.com | |
xx.xx.xx.xx ip.ws.126.net | |
0.0.0.0 music.httpdns.c.163.com | |
203.130.54.226 m11.music.126.net | |
45.124.125.109 m10.music.126.net | |
66.114.49.195 m9.music.126.net | |
104.93.171.218 m8.music.126.net | |
66.114.49.7 m7.music.126.net | |
123.58.180.105 m6.music.126.net | |
123.58.180.105 m5.music.126.net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#coding:utf-8 | |
# Author: Beining http://www.cnbeining.com/ cnbeining[at]gmail.com | |
# Purpose: Batch download pp.163.com | |
# Created: 03/04/2015 | |
# License: GNU GPL 2.0 https://www.gnu.org/licenses/gpl-2.0.html | |
import os | |
import sys | |
import unittest |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ | |
(function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ | |
var installedModules = {}; | |
/******/ // The require function | |
/******/ | |
function __webpack_require__(moduleId) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#coding:utf-8 | |
# Author: Beining --<i#cnbeining.com> | |
# Purpose: Get Bilibili click URL | |
# Created: 11/01/2015 | |
#---------------------------------------------------------------------- | |
def get_bilibili_click_url(aid = 0, mid = 0): | |
"""""" | |
js_content = get_count_js(aid, mid) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Make Gayhub Great Again! | |
// @namespace https://github.com/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/ | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
: ' | |
addhonourcode.sh: Add honour code for UofT CSCB07 projects on every source file. | |
License: GPL v3 or later. | |
Usage: addhonourcode.sh NAME_OF_THE_PROJECT UTORID Student# Your_Name_Quoted | |
Put under the SOURCE CODE FOLDER, and make sure there does not | |
exist any other file that you do not want the code being added |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var C6O = (function() { | |
var U4 = 37.563E2 > 90.189E2 ? (0x3c, 0x55) : (45.3E3, 64E1) <= (0x5, 25.001E0) ? (0x28, 70.47E1) : (24.2E1, 72.4E0) <= 40.8E+1 ? (0x16, 0x1e0426d83f75) : 74., | |
M4 = (function(V3, k2) { | |
var T0 = "", | |
I8 = (2., 0x4d) < 0x1e ? (84.8E2, 57.4E+3) : 68.8E3 <= 49. ? 85.412E1 : (0x3f, 69.21E+3) <= (55.7E+2, 7.187E3) ? (0x25, 31.) : (0xa, 35.) > (2, 1.) ? (88.755E0, false) : (27, 18.93E2) < (0x4b, 0x3) ? 45. : 20.4E2; | |
if (V3.length > (12.1E1, 0x2f) <= (97.58E2, 15.114E+2) ? (0x27, 0xc) : (6., 11.43E1) >= 84. ? (52.606E0, 98.67E2) : 52.55E1 >= (0x1, 0x5d) ? 0x5e : (26.7E2, 0x28)) | |
for (var h8 = 32.32E2 <= 0x25 ? (44.873E2, 0x5e) : 72 < 0x6 ? (0x1e, 0x11) : (5.564E3, 95.02E+1) <= (16., 0x1f) ? 0x16 : 0x1b > 0x3b ? (37, 0x51) : (0x53, 36.05E0) >= (0x30, 0x61) ? (67.1E+1, 0x6) : 0x3b <= (0x3b, 0x3f) ? 0xd : (0xa, 0x63) < (52.9E+3, 80.) ? 24.2E2 : 97.; h8 > 1;) T0 += (I8 = I8 ? (0x26, 74.) >= (85.81E0, 0x55) ? (3., 53.4E1) : (0x48, 4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestBT(unittest.TestCase): | |
@timeout(4) | |
def setUp(self): | |
BTN = ex10.BTNode | |
self.node12 = BTN(12) | |
self.node11 = BTN(11, None, self.node12) | |
self.node10 = BTN(10, self.node11) | |
self.node9 = BTN(9) | |
self.node8 = BTN(8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>UofTHacksLive! - 2016</title> | |
<script src="hls.js"></script> | |
</head> | |
<body> | |
<div id="player1"> | |
<video id="video-1" autobuffer="true" data-setup="{}" controls> |
NewerOlder