π²
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 System.Runtime.InteropServices; | |
namespace GetCharName | |
{ | |
static class Program | |
{ | |
// found using IDA 6.8 Pro | |
// charmap loads a DLL named GetUName.dll |
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
static object choose(params object[] choices) | |
{ | |
return choices[random.Next(0, choices.Length)]; | |
} |
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
ffmpeg -loop_input -r (LENGTH OF ONE FRAME IN TIME OF AUDIO) -i (IMAGE) -i (AUDIO) -ac (CHANNELS) -ab (BITRATE) -ar (HZ) -shortest -y (YOUR FILE NAME) |
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 YourTube %YText+ | |
// @namespace http://donnaken15.tk | |
// @version *1> | |
// @description Extender and extras | |
// @author donnaken15 | |
// @match *://*.youtube.com/* | |
// @grant none | |
// @run-at document-end | |
// @downloadURL https://gist.github.com/donnaken15/3d160cc0055fb3cbc9ca489ef9a476a6 |
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
Array.prototype.remove = function(index) { | |
delete this[index]; | |
for (var i = index + 1; i < this.length; i++) | |
this[i-1] = this[i]; | |
this.pop(); | |
} | |
Array.prototype.insert = function(index, value) { | |
this.unshift(undefined); | |
for (var i = 0; i < index + 1; i++) | |
this[i-1] = this[i]; |
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
; Webdriver Torso | |
format PE GUI 3.1 | |
use16 | |
align 1 | |
entry start | |
heap 0 | |
stack 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
// don't know a fitting function name | |
function timeToFlt(val) { | |
val='2000-01-01T'+val+'Z'; | |
var date=new Date(new Date(val)-(new Date()).getTimezoneOffset() * 228000); | |
var time=(date.getHours()*3600)+(date.getMinutes()*60)+date.getSeconds()+(date.getMilliseconds()/1000); | |
return 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
/* https://www.googleapis.com/youtube/v3/ | |
playlistItems?playlistId=PLTWDLMN4U1FNBJll-GvoNce8PQTuXjFYh | |
&part=snippet&maxResults=50&pageToken=... | |
&key=YOUR_API_KEY */ | |
var listcur = 0, pgtok, data, videos = new Array(), vidcnt; | |
getvids = function() { | |
for (var i = 0; i < data.items.length; i++) | |
{ |
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
@echo off | |
if "%1"=="/r" goto :rem | |
:add | |
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\%1.exe" /ve /d %2 /f | |
exit /b | |
:rem | |
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\%2.exe" /f | |
exit /b |
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
; ADVENTURE | |
; windows port by donnaken15 | |
format PE console 3.1 at $10000 | |
use16 | |
align 100h | |
heap 0 |
OlderNewer