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
#!/usr/bin/env python | |
"""mIRC Color Code Stripper | |
Removes mIRC color codes from provided files. | |
Usage: | |
stripMirc.py <filename> [OUTPUT] | |
If OUTPUT is not specified, filename will be the original filename, with a _FIXED extension. | |
""" |
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
from flask import Flask | |
import thread | |
web = Flask(__name__) | |
class AwesomeClass(object): | |
def __init__(self): | |
thread.start_new_thread(web.run, ()) | |
self.some_important_var = "spam" | |
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
[bot] | |
nick = AsrielBot | |
realname = Dreemurr | |
host = irc.rizon.net | |
port = 6697 | |
ssl = true | |
ssl_verify = CERT_NONE | |
includes = |
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
# Terminal output control (http://www.termsys.demon.co.uk/vtansi.htm) | |
TC='\e[' | |
CLR_LINE_START="${TC}1K" | |
CLR_LINE_END="${TC}K" | |
CLR_LINE="${TC}2K" | |
# Hope no terminal is greater than 1k columns | |
RESET_LINE="${CLR_LINE}${TC}1000D" |
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
#!/usr/bin/env ruby | |
#Log message generation utility for testing syslog config | |
#Apache License - Michael Parks <[email protected]> | |
require 'random-word' | |
require 'trollop' | |
require 'syslog_protocol' | |
require 'socket' | |
$opts = Trollop::options do | |
banner <<-EOS |
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
description "Tomcat Server" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 10 5 | |
# run as non privileged user | |
# add user with this command: | |
## adduser --system --ingroup www-data --home /opt/tomcat tomcat |
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 | |
volumeName='encrypted-volume' | |
volumePath="/var/Private/$volumeName" | |
mountPath='/mmt/private/' | |
#Default ext* file system stuff makes for good test fodder | |
stat $mountPath/lost+found >> /dev/null 2>&1 | |
if [ $? == 0 ]; then | |
#It's mounted, unmount it |
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
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb ftp://ftp.ussg.iu.edu/linux/ubuntu/ utopic main restricted | |
deb-src ftp://ftp.ussg.iu.edu/linux/ubuntu/ utopic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb ftp://ftp.ussg.iu.edu/linux/ubuntu/ utopic-updates main restricted | |
deb-src ftp://ftp.ussg.iu.edu/linux/ubuntu/ utopic-updates main restricted |
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
import java.util.ArrayList; | |
class main { | |
public static void print(String arg) { | |
System.out.println(arg); | |
} | |
public static ArrayList<Boolean> worklist = new ArrayList<Boolean>(); | |
public static void main(String[] args) { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<AnyConnectLocalPolicy acversion="str1234"> | |
<!--WARNING: If your network administrators have defined this file already, then replacing the existing version with this will | |
almost certainly break things. In this case, try just changing the 'BypassDownloader' option to true, rather than | |
replacing this file outright.--> | |
<FipsMode>false</FipsMode> | |
<BypassDownloader>true</BypassDownloader> | |
<RestrictWebLaunch>false</RestrictWebLaunch> | |
<StrictCertificateTrust>false</StrictCertificateTrust> | |
<RestrictTunnelProtocols>false</RestrictTunnelProtocols> |