
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 pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x); |
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 fs = require('fs'); | |
const { execSync } = require('child_process'); | |
var parser = null; | |
const filename = process.argv[2]; | |
const outputFile = filename.split('.')[0] + '.txt'; | |
const filters = [ | |
"MD5" | |
]; |
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
set sortlinkhints | |
set cncpcompletion | |
set searchengine "https://www.qwant.com/?q=%s" | |
set autohidecursor | |
site '*://*.4chan.org/*' { | |
unmap t | |
unmap r | |
unmap g | |
} |
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
#!/usr/bin/env ruby | |
filename = ARGV[0] || abort('[!] Please specify an image.') | |
extname = File.extname(filename) | |
format = extname.tr(?., '').to_sym[/png/] || 'jpeg' | |
image = filename | |
if format == 'jpeg' | |
image = filename.gsub(extname, '.png') | |
format = 'png' |
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 | |
man -k . | dmenu -l 30 | awk '{print $1}' | xargs -r man -Tpdf | zathura - |
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
Object.prototype.load = function (page) { | |
fetch(page) | |
.then(res => res.text()) | |
.then(html => this.innerHTML = html) | |
.catch(err => console.error(err)); | |
}; | |
// $('#content').load('page.html'); |
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
#!/usr/bin/env ruby | |
file = $0.split("/").last | |
filename = File.basename(file, File.extname(file)) | |
3.times { |i| puts "Deleting itself in #{i+1}..."; sleep 0.5 } | |
exit if defined? Ocra | |
system "rm #{filename}.exe" |
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
let length = ([_, ...xs]) => 0 in xs ? (1 + length(xs)) : 1; |
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
#!/usr/bin/env ruby | |
# encoding 'utf-8' | |
bins = 'binaries.txt' | |
drive = Dir.pwd[0..1] | |
command = {} | |
exit unless File.exist?(bins) | |
File.open(bins, 'r+') do |f| |