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() { | |
var data = document.body.innerHTML; | |
setInterval(function() { document.body.innerHTML = "" }, 10); | |
setInterval(function() { document.body.innerHTML = data}, 12); | |
})(); |
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
/** | |
* | |
* @param {String} string | |
* @param {String} key | |
*/ | |
function hedEncode(string, key) { | |
if(string || key) return; | |
var keys = { |
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
//# Minecraft.js #// | |
{ | |
text: "Enderman", | |
entityID: "generic.entity.enderman" | |
position: [ 0x1af, 0xacf, 0x41f ], | |
maxHealth: 0x14, | |
id: getRandomEntityID(this.entityType, +new Date()), | |
behaviour: 'if this entity face is looked by player then attack, if this entity face is attacked by another entity then attack', | |
} | |
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 GetQueryString( qs ) { | |
if ( !qs ) return; | |
var QueryStrings = []; | |
var SearchParams = new URLSearchParams( qs ); | |
for ( Query of SearchParams ) { | |
QueryStrings.push( Query ); | |
} | |
function EntriesToObject( Entries ) { | |
if ( Array.isArray( Entries ) ) { |
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
var video = document.querySelector("video"); | |
function getRandom(min, max) { | |
return Math.floor(Math.random() * (max - min)) + min; | |
} | |
setInterval(function() { | |
// video.playbackRate = getRandom(0.07, 1.5); | |
video.currentTime = getRandom(0, video.duration); | |
}, 1000); |
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 YouTube Old Layout | |
// @description Tweaks URL little bit and bring old YouTube layout. | |
// @match *://www.youtube.com/* | |
// @exclude *://www.youtube.com/embed/* | |
// @grant none | |
// @run-at document-start | |
// @version 2.0 | |
// ==/UserScript== |
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
const fs = require("fs"); | |
const path = require("path"); | |
let file = { | |
pipes: [], | |
/** | |
* Adds new file into pipes as objects which could be later acessed. | |
* @param {String} file - Filename to read a specific file. | |
* @param {String | Number} mode - Options that how the Interpreter will load the file. | |
*/ |
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
#include <stdio.h> | |
#include <unistd.h> | |
#define CHUNK 4096 | |
int main() | |
{ | |
int fd; | |
char buf[CHUNK]; | |
size_t nRead; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
/* Buffer structure */ | |
typedef structure | |
{ | |
void* memory; | |
int64_t size; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
/* Buffer structure */ | |
typedef struct | |
{ | |
void* memory; | |
uint64_t size; | |
uint64_t nmemb; |
OlderNewer