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
/** | |
* Allows video export of a canvas | |
* | |
* @param {Number} [fps = 60] — Frames per second. | |
* @param {Number} [recordTime = 6000] — Canvas recording time in ms | |
* @param {Object} [options] — Recording settings, please refer to https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder#properties | |
*/ | |
function canvasToVideo( fps = 60, recordTime = 6000, options ) { | |
navigator.getUserMedia = ( navigator.getUserMedia || navigator.webkitGetUserMedia ||navigator.mozGetUserMedia || navigator.msGetUserMedia ); |
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
/** | |
* 1. Open your browser's console | |
* 2. Turn off your internet connection (or press `⌘ + P` or `ctrl + P` and write 'Offline') | |
* 3. Paste the code in the "console" section | |
* 4. Start the game | |
* 5 🌵 🦖 | |
*/ | |
const game = Runner.instance_; |
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
// —— STEP 1: | |
// Copy and paste the following code into the discord console by pressing CTRL + SHIFT + I | |
// —— STEP 2: | |
Object.defineProperty((webpackChunkdiscord_app.push([ | |
[ "" ], { }, | |
( e ) => { | |
m = []; | |
for ( let c in e.c ) m.push( e.c[ c ] ) | |
} |
This script allows you to retrieve an API key without having to create a resource. Be careful though, the site can change suddenly, so keep this in mind.
There are two versions of this script, one without dependencies and one using node-fetch
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 rgbToHex = ( r, g, b ) => "#" + [ r, g, b ].map( ( x ) => { | |
const hex = x.toString( 16 ) | |
return hex.length === 1 ? "0" + hex : hex | |
}).join( "" ); | |
rgbToHex( 102, 51, 153 ); // #663399 |
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
c1004.png | |
size: 2001,634 | |
format: RGBA8888 | |
filter: Linear,Linear | |
repeat: none | |
1/11/1 | |
rotate: false | |
xy: 1387, 2 | |
size: 80, 39 |
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
{ | |
"aliases": [ | |
{ "id": "achates", "alias": [] }, | |
{ "id": "adlay", "alias": [] }, | |
{ "id": "adventurer-ras", "alias": ["aras"] }, | |
{ "id": "ainos", "alias": [] }, | |
{ "id": "ains", "alias": [] }, | |
{ "id": "aither", "alias": [] }, | |
{ "id": "alencia", "alias": ["alencinox", "tsundere"] }, | |
{ "id": "alexa", "alias": [] }, |
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
#Télécharger Gateling 3.4.1 | |
wget https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts- | |
bundle/3.4.1/gatling-charts-highcharts-bundle-3.4.1-bundle.zip | |
#Décompresser gatling-charts-highcharts-bundle-3.4.1-bundle.zip | |
#Renomer le répértoire | |
mv gatling-charts-highcharts-bundle-3.4.1-bundle.zip gatling chmod –R 775 gateling | |
chown –R inset:inset gateling | |
#Lancer le recorder | |
./recorder.sh | |
OlderNewer