Skip to content

Instantly share code, notes, and snippets.

View SarhadSalam's full-sized avatar

Sarhad Salam SarhadSalam

View GitHub Profile
@SarhadSalam
SarhadSalam / encode.js
Created November 17, 2021 22:28
fnv128
var fnv = require('fnv-plus');
var lineReader = require('line-reader');
lineReader.eachLine('/mnt/d/dev/random/rockyou.txt', function(line, last) {
console.log(fnv.hash(line, 128).hex());
});
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
WIll I ever print
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@SarhadSalam
SarhadSalam / profiles.json
Last active May 28, 2020 22:54
My profiles.json settings for the windows terminal application
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@SarhadSalam
SarhadSalam / cloudSettings
Last active June 24, 2020 00:45
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-28T20:35:12.728Z","extensionVersion":"v3.4.3"}