This file contains 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
import idaapi | |
from PyQt5.QtWidgets import QApplication | |
from PyQt5.QtGui import QColor, QPalette | |
class theme_t(idaapi.plugin_t): | |
flags = idaapi.PLUGIN_FIX | |
help = "" | |
comment = "" |
I hereby claim:
- I am elemecca on github.
- I am elemecca (https://keybase.io/elemecca) on keybase.
- I have a public key whose fingerprint is 7EB4 F2D2 C841 27D7 7822 4445 BE2E 6CB5 DC3F D519
To claim this, I am signing this object:
This file contains 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
# Description: | |
# 000_ca_certs monkey-patches the Node crypto module to load addtional | |
# CA certificates into the trust root so other modules can connect | |
# to sites with certs signed by a private CA | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# HUBOT_CA_CERTS |
This file contains 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
function hex_dump (str) | |
local len = string.len( str ) | |
local dump = "" | |
local hex = "" | |
local asc = "" | |
for i = 1, len do | |
if 1 == i % 8 then | |
dump = dump .. hex .. asc .. "\n" | |
hex = string.format( "%04x: ", i - 1 ) |
This file contains 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/python | |
import os | |
import sys | |
from xml.etree.ElementTree import iterparse | |
from datetime import datetime | |
import base64 | |
if len( sys.argv ) != 2: | |
print 'usage: split <filename>\n' |
This file contains 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 | |
# | |
# addlicense.sh - prepends a license notice to a set of files | |
# | |
# Originally written by Sam Hanes <[email protected]>. | |
# To the extent possible under law, the author has waived all copyright | |
# and related or neighboring rights in this work, which was originally | |
# published in the United States. Attribution is appreciated but not | |
# required. The complete legal text of the release is available at | |
# http://creativecommons.org/publicdomain/zero/1.0/ |
This file contains 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 perl | |
# | |
# pingterm.pl - command-line interface to the ping hack on the RTP300 | |
# | |
# Originally written by Sam Hanes <[email protected]>. | |
# To the extent possible under law, the author has waived all copyright | |
# and related or neighboring rights in this work, which was originally | |
# published in the United States. Attribution is appreciated but not | |
# required. The complete legal text of the release is available at | |
# http://creativecommons.org/publicdomain/zero/1.0/ |
This file contains 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 perl | |
use strict; | |
use warnings; | |
use POSIX qw(strftime); | |
use LWP::UserAgent (); | |
use LWP::ConnCache (); | |
use HTML::TreeBuilder (); |
This file contains 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 perl | |
use strict; | |
use warnings; | |
use File::Temp qw( tempfile ); | |
our $block_start = "--------- BEGIN LICENSE NOTICE ---------"; | |
our $block_end = "---------- END LICENSE NOTICE ----------"; | |
our @notice; |