Skip to content

Instantly share code, notes, and snippets.

milot-mirdita / xxdi.ps1
Last active August 24, 2019 18:38
Replace xxd -i file on windows with powershell
#!/usr/bin/env pwsh
# Copyright (c) 2019 Milot Midita
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
--- A/src/hhprefilter.C 2017-08-28 14:44:32.000000000 +0200
+++ B/src/hhprefilter.C 2013-02-18 14:44:26.000000000 +0100
@@ -49,7 +49,7 @@
#define SHORT_BIAS 32768
const int NUMCOLSTATES = cs::AS219::kSize;
int num_dbs = 0; // number of sequences in prefilter database file
Hash<char>* doubled;
@@ -808,7 +808,7 @@

Keybase proof

I hereby claim:

  • I am milot-mirdita on github.
  • I am milot ( on keybase.
  • I have a public key whose fingerprint is 31D4 F989 E94C A2DC A46B CDD4 4614 0DBA C5F5 EBC8

To claim this, I am signing this object:

milot-mirdita / unplayed_heroes.js
Last active December 16, 2015 11:19
Show Unplayed Heros in Dota2 from your person Dotabuff heros page.
(function() {
var all = ["Abaddon","Alchemist","Ancient Apparition","Anti-Mage","Axe","Bane","Batrider","Beastmaster","Bloodseeker","Bounty Hunter","Brewmaster","Bristleback","Broodmother","Centaur Warrunner","Chaos Knight","Chen","Clinkz","Clockwerk","Crystal Maiden","Dark Seer","Dazzle","Death Prophet","Disruptor","Doom","Dragon Knight","Drow Ranger","Earthshaker","Earth Spirit","Elder Titan","Ember Spirit","Enchantress","Enigma","Faceless Void","Gyrocopter","Huskar","Invoker","Io","Jakiro","Juggernaut","Keeper of the Light","Kunkka","Legion Commander","Leshrac","Lich","Lifestealer","Lina","Lion","Lone Druid","Luna","Lycan","Magnus","Medusa","Meepo","Mirana","Morphling","Naga Siren","Nature's Prophet","Necrophos","Night Stalker","Nyx Assassin","Ogre Magi","Omniknight","Outworld Devourer","Phantom Assassin","Phantom Lancer","Phoenix","Puck","Pudge","Pugna","Queen of Pain","Razor","Riki","Rubick","Sand King","Shadow Demon","Shadow Fiend","Shadow Shaman","Silencer","Skywrath Mage","Slardar","Slark","Sniper",