Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
import { | |
Canvas, | |
DataSourceParam, | |
dist, | |
ImageShader, | |
rect, | |
RoundedRect, | |
rrect, | |
Shader, | |
Skia, |
import PhotosUI | |
extension AVAsset { | |
func videoOrientation() -> (orientation: UIInterfaceOrientation, device: AVCaptureDevice.Position) { | |
var orientation: UIInterfaceOrientation = .unknown | |
var device: AVCaptureDevice.Position = .unspecified | |
let tracks :[AVAssetTrack] = self.tracks(withMediaType: AVMediaType.video) |
// ==UserScript== | |
// @name 후잉 hide figures | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description 후잉 숫자를 가려드립니다. | |
// @author Robert Park | |
// @match https://whooing.com/ | |
// @match https://new.whooing.com/ | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// @grant none |
// Mixamo Animation downloadeer | |
// The following script make use of mixamo2 API to download all anims for a single character that you choose. | |
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI. | |
// | |
// This script has been written by [email protected] and the author is not responsible of its usage | |
// | |
// How to use this script | |
// 1. Browse mixamo.com | |
// 2. Log in | |
// 3. Open JS console (F12 on chrome) |
function getArticleAfterArticle(article_id) | |
{ | |
var EndArticle = false; | |
$.ajax({ | |
url: "/more", | |
dataType: 'JSON', | |
data: { | |
last_article_id : article_id | |
}, |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
TarGZ = function(){}; | |
// Load and parse archive, calls onload after loading all files. | |
TarGZ.load = function(url, onload, onstream, onerror) { | |
var o = new TarGZ(); | |
o.onload = onload; | |
o.onerror = onerror; | |
o.onstream = onstream; | |
o.load(url); | |
return o; |