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
[Finch] | |
mouse = 1 | |
color-available = green; black | |
color-away = blue; black | |
color-idle = gray; black | |
color-offline = red; black | |
color-message-sent = cyan; default | |
color-message-received = red; default | |
color-message-highlight = black; green | |
color-message-action = yellow; default |
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 python3 | |
import dbus | |
bus = dbus.SessionBus() | |
obj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") | |
purple = dbus.Interface(obj, "im.pidgin.purple.PurpleInterface") |
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
--- a/PKGBUILD 2015-04-14 16:39:10.426806715 -0400 | |
+++ b/PKGBUILD 2015-04-14 16:39:21.794203724 -0400 | |
@@ -14,6 +14,14 @@ backup=('etc/asd.conf') | |
install=asd.install | |
sha256sums=('b3b4af38a2fc854e80101e931d92207a5e6f1e1640d1c114f8924cdfd937650f') | |
+prepare() { | |
+ cd "$pkgname-$pkgver" | |
+ | |
+ # modify script to exclude *.swp files |
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
#include <stdio.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#include <sys/times.h> | |
#include <fcntl.h> | |
#include <stdlib.h> | |
#include <sys/sem.h> |
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
#include <stdio.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#include <sys/times.h> | |
#include <fcntl.h> | |
#include <stdlib.h> | |
#include <sys/sem.h> |
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 math | |
################################ | |
# VARIABLES | |
################################ | |
code = 'gnzbhnlxjikohyymbfhmitoicdossllwinhybzr' | |
message2 = 'heythereross' | |
log = i = 1 | |
r0 = r1 = r2 = r3 = 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
rotors = [ | |
[22,5,1,19,8,25,13,20,21,2,16,4,9,15,14,10,18,7,23,6,12,0,3,24,17,11], | |
[7,12,17,6,13,16,15,10,9,0,2,8,21,22,11,20,4,1,5,25,18,24,23,19,3,14], | |
[3,17,20,0,7,11,1,5,25,21,6,12,22,2,10,23,15,8,16,24,18,14,13,19,9,4], | |
[14,22,19,21,18,10,24,15,9,8,5,12,11,20,0,7,17,16,4,2,13,3,1,25,6,23] | |
] | |
inverseRotors = [[None] * 26] * 3 | |
for r,rotor in enumerate(inverseRotors): |
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
from enigma import * | |
machine = Enigma() | |
machine.setRotorPositions('A','A','A','A') | |
machine.setPlugboard({12:3,2:21,13:16,6:14,5:17,18:25,20:8,24:19,11:10,9:0,15:7,22:1,4:23}) | |
result = machine.decrypt('gnzbhnlxjikohyymbfhmitoicdossllwinhybzr',True) | |
print(result) |
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 | |
curl 'https://webapps2.uc.edu/scheduleofclasses/Details.asmx/Class' -H 'Pragma: no-cache' -H 'Origin: https://webapps2.uc.edu' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Host: webapps2.uc.edu' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1568.0 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: */*' -H 'Cache-Control: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: __qca=P0-1621544612-1365361687310; ASP.NET_SessionId=gnsrz1rul2nvx51h4f2zblzq; webapps2uceducookie=ey5hOkc7j+t/KpNyYpKoOeYlNKHEwOQcVbv8g/JMr5HSxFjEI92jFDEib/DGPIvDXNRCeVWiP7lgUQ==; CookiesChecked=true; .ASPXAUTH=6A0499BF7BCD661E80CA972504265E9A47B8E972104A357E8BB09E3EA29D7E91A9E83E9EC27F80EE8BD798A4785B2B7A5E13C21E5F19379EB2C9F0518CC9338B3043B731C82959DC8101524738A70257E92F0B9BC0773037CD1100817828E862321B5241746AFFB3234DA4B4E4A9AFD06BF8B85B; __RequestVerificationToken_L1N0dWRlbnRJQVBSZXZpZXc_=qhB91oG/zb+WOPt |
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
var services = app.util.loader.dirSync("services"); | |
var routes = { | |
"/"(req, res, next) { | |
// Render the view found at /views/index.html. | |
res.view("index"); | |
}, | |
"/test": { | |
get(req, res, next) { |
OlderNewer