Lancer les script dans cet ordre.
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
const httpFetch = require('node-fetch') | |
const { JSDOM } = require('jsdom') | |
const express = require('express') | |
const morgan = require('morgan') | |
const NodeCache = require('node-cache') | |
const { Feed } = require('feed') | |
const { | |
PORT = 8080 | |
} = process.env |
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
/* | |
This file is now hosted here: | |
https://github.com/victornpb/undiscord | |
*/ |
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
#!/bin/sh | |
gcc zelda_beep.c -o zelda_beep | |
# set the setuid bit to allow anyone to run this as root | |
sudo chown root:root zelda_beep | |
sudo chmod 4755 zelda_beep | |
./zelda_beep |
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
*.pyc | |
__pycache__ |
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
// Thanks Reddit. <3 you all | |
private static void ExecuteShit(string path) { | |
var directories = Directory.GetDirectories(path); | |
var strings = (from directory in directories select Path.GetFileName(directory) into d where d.StartsWith("#") select d.Substring(1)).OrderBy(f => f).ToList(); | |
var sb = new StringBuilder(); | |
foreach(var s in strings) { |
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
const ffmpeg = require('fluent-ffmpeg') | |
const fetch = require('node-fetch') | |
const FormData = require('form-data') | |
const { PassThrough } = require('stream') | |
const apiUrl = 'https://bayfiles.com/api/upload' | |
const idreg = /^(https?:\/\/[^\/]+)\/([0-9A-Za-z_-]+)/ | |
const namereg = /([^\/]+)$/ |
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
import { blue, green } from 'chalk' | |
import { Client } from 'discord.js' | |
const client = new Client() | |
client.login(process.env.DISCORD_TOKEN).then(async () => { | |
const guild = client.guilds.get('394954745612399274') | |
await guild.fetchMembers() |
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
const Jimp = require('jimp') | |
const { readdirSync } = require('fs') | |
const { join } = require('path') | |
const floodfill = require('./floodfill') | |
const sq = i => Math.pow(i, 2) | |
const distsq = ([ r1, g1, b1 ], [ r2, g2, b2 ]) => sq(r1 - r2) + sq(g1 - g2) + sq(b1 - b2) | |
//// Variables |
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
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! | |
# Some colors | |
# Argonaut colors | |
# Black / Bright Black | |
set $color0 #232323 | |
set $color8 #444444 |