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
| # Python 3 | |
| # Sometimes hunting for strings in a bunch of different browser extensions and their many versions can be a pain. | |
| # This will call out to crxcavator.io, pull the versions and sources. Then just run a simple string match on it. | |
| # Surprisingly, it works. | |
| # | |
| # sooshie@gmail.com | |
| import requests | |
| import json |
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/bash | |
| # devnull@libcrack.so | |
| # vie nov 8 08:45:35 CET 2013 | |
| # mar ene 21 23:14:46 CET 2014 | |
| java="$(which java)" | |
| version="$($java -version 2>&1 | head -1 | cut -f2 -d\")" | |
| myself="$(realpath ${0#-*})" | |
| workdir="$(dirname $myself)" |
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 | |
| # in case it's already installled | |
| vagrant plugin uninstall vagrant-libvirt | |
| # vagrant's copy of curl prevents the proper installation of ruby-libvirt | |
| sudo mv /opt/vagrant/embedded/lib/libcurl.so{,.backup} | |
| sudo mv /opt/vagrant/embedded/lib/libcurl.so.4{,.backup} | |
| sudo mv /opt/vagrant/embedded/lib/libcurl.so.4.4.0{,.backup} | |
| sudo mv /opt/vagrant/embedded/lib/pkgconfig/libcurl.pc{,.backup} |
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
| require 'tokyocabinet' | |
| require 'dm-core' | |
| include TokyoCabinet | |
| # Hacky overriding for destroy because the original method was constantly | |
| # reporting a new record and failing to pass a valid query to the delete method. | |
| module DataMapper | |
| module Resource | |
| def destroy | |
| return false unless repository.delete({:model => model, :id => id}) |