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/perl | |
# REST v1.1 Twitter API 1st Status reader | |
# DMC2013 | |
# License: LGPL | |
# | |
use Net::Twitter; | |
use Scalar::Util 'blessed'; | |
my $consumer_key = ""; | |
my $consumer_secret = ""; |
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
# Configuring OpenSim+ODE over FreeBSD 9.0 | |
# | |
optain the package from | |
Linux Bin: http://opensimulator.org/dist/opensim-0.7.3.1.tar.gz | |
Source tar: git clone git://opensimulator.org/git/opensim | |
Configuration files: | |
./OpenSimDefaults.ini |
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/csh | |
# Mounts root images for vKernels | |
# | |
set num = 01 | |
set disk = 0 | |
set name = rootimg | |
set file = /var/vkernel/$name\.$num | |
set dev = vn$disk | |
set slice = $dev\s0 |
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
#!python | |
# | |
import os, sys, stat | |
import optparse | |
import logging | |
usage = '''%s [ -z | --zapdestroyall ] path''' % sys.argv[0] | |
def oswalk(path): | |
'''dir walk |
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 base64 | |
import hmac | |
import hashlib | |
import sys,os | |
mainpass="mysupersecreto" | |
sitelist = [] |
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 environment = Components.classes["@mozilla.org/process/environment;1"]. | |
getService(Components.interfaces.nsIEnvironment); | |
var path = environment.get('PATH'); | |
function RunExe(path) { | |
try { | |
var ua = navigator.userAgent.toLowerCase(); | |
if (ua.indexOf("msie") != -1) { | |
MyObject = new ActiveXObject("WScript.Shell") | |
MyObject.Run(path); |
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/sh | |
# | |
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /srv/src/private/mycert.pem -out /srv/src/private/mycert.pem | |
openssl pkcs12 -export -out /srv/src/certs/mycert.pfx -in /srv/src/private/mycert.pem -name "Personal Certificate" |
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/sh | |
# | |
wget -c http://www.opensc-project.org/files/pam_pkcs11/pam_pkcs11-0.6.3.tar.gz | |
wget -c http://curl.haxx.se/download/curl-7.21.7.tar.bz2 | |
wget -c http://www.dit.upm.es/~jantonio/pam-pkcs11/downloads/pkcs11_login-0.5.1.tar.gz | |
tar xvzf curl-7.21.7.tar.bz2 | |
cd curl-7.21.7 | |
./configure --prefix=/usr --without-ssl \ | |
--disable-ldap --disable-telnet \ |
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/sh | |
# | |
echo "Update Mozilla builtin certs" | |
wget -c http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=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/perl | |
# | |
use strict; | |
use warnings; | |
use bytes; | |
my $filein = 'cm_cert.cer'; | |
my $fileout = 'temp.cer'; | |
my @pos1 = (328..340); |
OlderNewer