Skip to content

Instantly share code, notes, and snippets.

View yt_album_splitter.sh
#!/bin/sh
LAST=""
LINE=0
while read TIME
do
if [ -n "$LAST" ]
then
NAME=$(cat names.txt | head -n $LINE | tail -1)
START="ffmpeg -i input.mkv -ss $LAST -to $TIME"
View globaloffensive_test.js
const SteamUser = require('steam-user');
const GlobalOffensive = require('globaloffensive');
const config = require('./config.js');
const client = new SteamUser();
const csgo = new GlobalOffensive(client);
csgo.on('debug', console.log);
client.on('error', console.error);
@kiwec
kiwec / readme.txt
Created Feb 1, 2019
kiwec's superiorer stolen game (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
View puzzlescript_image_generator.js
let canvas = document.createElement('canvas');
let ctx = canvas.getContext('2d');
let image = new Image();
image.src = 'base64/...';
canvas.width = image.width;
canvas.height = image.height;
ctx.drawImage(image, 0, 0);
var hexDigits = new Array
("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f");
View depression.sublime-color-scheme
{
"name": "depression",
"globals":
{
"background": "#000000",
"foreground": "#eeeeee",
"caret": "#ffffff",
"line_highlight": "#101010",
"selection": "#444444"
},
View autoexec.cfg
// Aliases
alias +bouton4 "+use;gameinstructor_enable 1"
alias -bouton4 "-use;r_cleardecals; gameinstructor_enable 0"
alias micon "+voicerecord; alias togglemic micoff"
alias micoff "-voicerecord; alias togglemic micon"
alias togglemic "micon"
alias "+scorenet" "+showscores; net_graphheight 0"
alias "-scorenet" "-showscores; net_graphheight 9999"
alias +kforward "+forward;cl_crosshaircolor_r 0;cl_crosshaircolor_g 250; cl_crosshaircolor_b 0"
alias -kforward "-forward;cl_crosshaircolor_r 0;cl_crosshaircolor_g 250; cl_crosshaircolor_b 0"
View monero-lambo.js
// Code de QUALITÉ (issou)
// picunroll avant de lancer le script bien entendu
var arr = [];
$('.conteneur-message').each(function(){
var name = $(this).find('.text-user').text().trim();
// HACK nettoyage du message
$(this).find('a').remove();
$(this).find('blockquote').remove();
@kiwec
kiwec / keymap_kiwec.c
Last active Mar 20, 2021
Current planck keymap
View keymap_kiwec.c
#include QMK_KEYBOARD_H
// Readability
#define _______ KC_TRNS
#define XXXXXXX KC_NO
// Layers
#define DVORAK_LAYER 0
#define GAMING_LAYER 1
#define GMGTAB_LAYER 2