sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo apt install ffmpeg
This file contains hidden or 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
version: "2" | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
- ./nginx:/etc/nginx/conf.d |
This file contains hidden or 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
if (document.getElementById('fb-memberlist-hidden') === null) { | |
var head = document.head, | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.id = 'fb-memberlist-hidden'; | |
style.appendChild(document.createTextNode('._51m-{display:none}.mtm{margin-top:0}')); | |
head.appendChild(style); | |
} | |
function shyUserFinder() { |
This file contains hidden or 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
@echo off | |
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f |
This file contains hidden or 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() { | |
var setResult = [11, 22, 33, 44, 55, 69], | |
total = setResult.length, | |
count = 0, | |
iframe = document.getElementById('homepage-generator').getElementsByTagName('IFRAME')[0], | |
iframeDocument = iframe.contentDocument || iframe.contentWindow.document, | |
generator = iframeDocument.getElementById('true-random-integer-generator-button'), |
This file contains hidden or 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
:: Open this bat-file to toggle Garena+ Plugin Host Service | |
:: Written by Zzbaivong - baivong.github.io | |
:: 24/08/2016 | |
:: Note! Updating the directory path depending on your game folder location | |
@ECHO OFF | |
TASKLIST /FI "IMAGENAME eq ggdllhost.exe" 2>NUL | find /I /N "ggdllhost.exe">NUL |
This file contains hidden or 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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains hidden or 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
Show hidden characters
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["ctrl"], | |
"press_command": "drag_select", | |
"command": "goto_definition" | |
}, | |
{ | |
"button": "button2", |
This file contains hidden or 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
self.addEventListener('message', function (e) { | |
self.importScripts(e.data.libs); | |
var zip = new JSZip(); | |
zip.file('Hello.txt', e.data.content); | |
zip.generateAsync({ | |
type: 'blob' |
This file contains hidden or 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 Web Worker in Userscript | |
// @namespace http://baivong.github.io | |
// @version 2.0.1 | |
// @description Use Web Worker in Userscript with libraries | |
// @author Zzbaivong | |
// @match https://github.com/baivong | |
// @require https://greasyfork.org/scripts/18532-filesaver/code/FileSaver.js?version=128198 | |
// @resource jszip https://greasyfork.org/scripts/19855-jszip/code/jszip.js?version=126859 | |
// @resource worker https://gist.githubusercontent.com/baivong/e8a13c341a4814e726653d1f9fce02c2/raw/75e747879d1fab98708b08112d228e4acd3dec35/worker-withLibs.js |