Skip to content

Instantly share code, notes, and snippets.

View mountainpenguin's full-sized avatar

Miles Priestman mountainpenguin

View GitHub Profile
#!/usr/bin/env python3
import os
from Bio.Restriction import PstI, EcoRI
import pydna
import pydna.dseq
import pydna.dseqrecord
if __name__ == "__main__":
print(f"pydna version: {pydna.__version__}")
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZYmu/gwriVPzBg4AQjdh8Twx4cU4uncgo6g4Ty9j3MlkVW6cb5wxKda4DrDx7hoMCpYrzL0cZY1or61jsNbDijJDEozTyGKFgMM+Y8x3xfG66bQgcBWwk4PWgjIuMDRnXweseCJjtVnVtLP3ukJZVG6tUzUH0JOQXnX/iVJK9SprzO1nKNfPmNfU0r4R1knRvEJQbs0yH06BOEZWiTGKlnBRdC7hz3krIPvNfXb8ArDcecKy49P5LoH6tYONwxNnNCkZZrl3th1egQu+3gHmFeDnQHKrRIX9vIs3w+du0xbjq2w++U1tj+xp8CBalx5UJbhVkJzi5xwtjeLJ0Wg7r miles@thor
#!/usr/bin/env python2
from modules import rtorrent
from modules import config
import os
if __name__ == "__main__":
conf = config.Config()
socket_file = conf.get("rtorrent_socket")
RT = rtorrent.rtorrent(socket_file)
[Master:DEBUG Gtk] Connecting to session manager
[Master:DEBUG DioriteGtk] DesktopShell.vala:90: Shell: gnome shell 3.18.1, CSD on
[Master:DEBUG Nuvola] config.vala:174: Json Error: Failed to open file '/home/miles/.config/nuvolaplayer3/master/config.json': No such file or directory
[Master:DEBUG Nuvola] WebAppRegistry.vala:128: Found web app Google Play Music at /home/miles/.local/share/nuvolaplayer3/web_apps/google_play_music, version 5.7
[Master:WARNING Nuvola] WebAppRegistry.vala:165: Unable to load web app from /usr/share/nuvolaplayer3/web_apps/template: /usr/share/nuvolaplayer3/web_apps/template/metadata.json is not a file
[Master:DEBUG Nuvola] WebAppRegistry.vala:169: Found web app Test at /usr/share/nuvolaplayer3/web_apps/test, version 1.0
[Master:DEBUG DioriteGtk] application.vala:219: XFCE session vanished: org.xfce.SessionManager
[Master:DEBUG Nuvola] WebAppRegistry.vala:128: Found web app Google Play Music at /home/miles/.local/share/nuvolaplayer3/web_apps/google_play_musi

Keybase proof

I hereby claim:

  • I am mountainpenguin on github.
  • I am mountainpenguin (https://keybase.io/mountainpenguin) on keybase.
  • I have a public key whose fingerprint is 807E 1AAC 2106 B4E9 515A 7273 D754 33C9 FCA4 B970

To claim this, I am signing this object:

var ignores = null;
var replacementtext = "<td align='left' bgcolor='444444'>This post has been ignored</td>";
$(document).ready( function () {
getIgnores();
hideIgnores();
bindUsernames();
});
function getIgnores() {
@mountainpenguin
mountainpenguin / hashme.js
Created May 17, 2012 00:09
my hash function
function getToken() {
return Math.floor( (new Date().getTime() / 1000) / 10 );
}
function genSalt() {
var salt = new String();
for (i=0; i<10; i++) {
var r = Math.floor( Math.random() * 128 );
salt += String.fromCharCode(r);
}