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
<?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> |
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 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 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 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 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 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 <mparks@tkware.info> | |
require 'random-word' | |
require 'trollop' | |
require 'syslog_protocol' | |
require 'socket' | |
$opts = Trollop::options do | |
banner <<-EOS |
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
# 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 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
require 'formula' | |
class Tsocks < Formula | |
# The original is http://tsocks.sourceforge.net/ | |
# This GitHub repo is a maintained fork with OSX support | |
homepage 'http://github.com/pc/tsocks' | |
head 'https://github.com/pc/tsocks.git' | |
depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3 |
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
;INSTRUCTIONS - Save as a file in your mIRC directory, and run //load -rs (the filename) | |
;follow on screen instructions | |
on *:LOAD: { | |
echo -a 9,1RP Safety v0.01 by Necoco/TKWare Loaded. | |
echo -a 9,1Please make sure you specify the channel you wish to rp in with /rpset (channel). | |
/set %rpsafetyon 0 | |
} | |
alias rpset { |
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
[bot] | |
nick = AsrielBot | |
realname = Dreemurr | |
host = irc.rizon.net | |
port = 6697 | |
ssl = true | |
ssl_verify = CERT_NONE | |
includes = |