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
essentials | |
apt-get update && apt-get install ffmpeg git default-jdk zip | |
silent web file : | |
https://www.google.com/search?q=silent%20wav%20file | |
bus y4m sample file : | |
https://www.google.com/search?q=bus_qcif_15fps.y4m | |
Google chrome with fake media |
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 FAQ AutoAnswer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.facebook.com/ListeReduction/inbox* | |
// @grant none | |
// ==/UserScript== | |
var nlist = []; |
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 Auto accept members in group facebook | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.facebook.com/groups/*/member-requests | |
// @match https://www.facebook.com/groups/*/admin_activities/ | |
// @match https://www.facebook.com/groups/*/requests/ | |
// @grant none |
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
while true; do | |
echo -e "\e[32mHEURE DE RELANCE : `date '+%Y-%m-%d %H:%M:%S'`\e[39m"; | |
pkill chromium; | |
sleep 5; | |
chromium-browser >/dev/null 2>&1 & | |
sleep 3600; | |
done; |
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 Move-Create-Rename {[CmdletBinding()]Param([Parameter(ValueFromPipeline)] | |
$item,$Destination | |
) | |
$item_filter = Join-Path -Path "./" -ChildPath ($item.Name -replace '[[*?\]]','`$&') | |
$itemName_filter = $item.Name -replace '[[*?\]]','`$&' | |
$itemBaseName_filter = $item.BaseName -replace '[[*?\]]','`$&' | |
New-Item -ItemType Directory -Force -Path $Destination |
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
scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) | |
CreateObject("Wscript.Shell").Run "powershell.exe "+scriptdir+"\files_autoclass.ps1", 0 |
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 sys | |
from os.path import * | |
from os import * | |
folder_to_class = sys.argv[1] | |
def concat(*args): | |
return ("{}" * len(args)).format(*args) |
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
# Multiply elems in a list | |
def m(l,i=0,v=1): | |
return m(l,i+1,v*l[i]) if i+1<len(l) else v*l[i] | |
# >>> m([1,2,3,4,5]) | |
# 120 |
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> | |
<body> | |
<style>iframe,embed{width:90vw;height:90vh;}pre{background:lightgray;padding:10px} | |
</style> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | |
<h1>Test page for Moz-Ext-Ignore-X-Frame-Options</h1> | |
<h2>If content is <u>blocked</u>, you may want to |
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
widthheight=$(wm size | sed "s/.* //") | |
width=$(($(echo $widthheight | sed "s/x.*//g" )+0)) | |
height=$(($(echo $widthheight | sed "s/.*x//g" )+0)) | |
GetColorAtPixel () { | |
x=$1;y=$2; | |
rm ./screen.dump 2> /dev/null | |
screencap screen.dump | |
screenshot_size=$(($(wc -c < ./screen.dump)+0)); | |
buffer_size=$(($screenshot_size/($width*height))) | |
let offset=$width*$y+$x+3 |
OlderNewer