Ctrl
+ g
: type in number - Jump/Go to line (n)
Alt
+ ←
: _ - Navigate backwards
Alt
+ →
: _ - Navigate forward
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
def _num2chr(self, num): | |
return hex(num)[2:] |
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
import requests | |
import sys | |
import getpass | |
import time | |
import hashlib | |
import hmac | |
import json | |
_API_QUERY_TEMPLATE = '/v4/%sapp=%s&t=%s&site=www.viki.com' | |
_API_URL_TEMPLATE = 'https://api.viki.io%s&sig=%s' |
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
import time | |
import random | |
import requests | |
import sys | |
import getpass | |
import random | |
# signature generation | |
def signp(a, i, s, w, u, l, b, k, c, n, r, e, t): | |
d = '-'.join([str(mInt) for mInt in [a, i, s, w, u, l, b, k]]) |
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
76a6c65c5ea762046bd749a2e632ccbb |
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
<!-- | |
http://jsfiddle.net/koldev/cW7W5/ | |
Will most likely work with big files. | |
Should be unlimited in Firefox. Chrome is a bit more complex basically you can use 10% of your max hard drive space. | |
BE CAREFUL! DOWNLOAD WILL INSTANTLY TRIGGER!! | |
--> | |
<!doctype html> | |
<html lang="de"> | |
<body> | |
<script> |
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
root@ffm1:/home/mtr-web-dev# ./mtr -p -c 300 google.com | |
1 [REDACTED] 0 1 1 0.3 0.3 0.3 0.3 0.0 0.3 0.0 0.0 0.0 0.0 | |
2 2001:1608:0:16::1 0 1 1 0.3 0.3 0.3 0.3 0.0 0.3 0.0 0.0 0.0 0.0 | |
3 2001:1608:0:16::2 0 1 1 0.4 0.4 0.4 0.4 0.0 0.4 0.0 0.0 0.0 0.0 | |
4 2003:0:130c:8010::1 0 1 1 0.6 0.6 0.6 0.6 0.0 0.6 0.0 0.0 0.0 0.0 | |
6 2003:0:1304:8013::2 0 1 1 1.0 1.0 1.0 1.0 0.0 1.0 0.0 0.0 0.0 0.0 | |
7 2001:4860:0:11e2::2 0 1 1 1.0 1.0 1.0 1.0 0.0 1.0 0.0 0.0 0.0 0.0 | |
8 2001:4860::c:4000:f873 0 1 1 1.3 1.3 1.3 1.3 0.0 1.3 0.0 0.0 0.0 0.0 | |
9 2001:4860::c:4001:5c5 0 1 1 13.8 13.8 13.8 13.8 0.0 13.8 0.0 0.0 0.0 0.0 | |
10 2001:4860::c:4001:ec6 0 1 1 12.5 12.5 12.5 12.5 0.0 12.5 0.0 0.0 0.0 0.0 |
Introduction
The Soundcloud API-v2 is an internal API used by Soundcloud. It is not intended to be used by third party apps. Even though it is against their ToS to use it. They stated on twitter that is usable in third party apps without being in fear of a ban.
The base url is:
api-v2.soundcloud.com/
But before you can use any of these endpoints you need to get a client_id otherwise none of your requests will actually get a response.
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
using System; | |
using UnityEngine; | |
using UnityStandardAssets.CrossPlatformInput; | |
using UnityStandardAssets.Utility; | |
using Random = UnityEngine.Random; | |
namespace UnityStandardAssets.Characters.FirstPerson | |
{ | |
[RequireComponent(typeof (CharacterController))] | |
[RequireComponent(typeof (AudioSource))] |
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 | |
import os | |
from BaseHTTPServer import HTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
ROUTES = [ | |
('/', '/var/www/doc-html') | |
] | |
class MyHandler(SimpleHTTPRequestHandler): |