%%%%%%%%%%%%%%%%%%%%%%%%%%%
Title = "Short Message Chess Game Protocol"
abbrev = "Short Message Chess Game Protocol"
category = "info"
docName = "smcgpv1-draft"
ipr = "full3978"
[pi]
private = "yes"
#!/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 |
# 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" |
[bot] | |
nick = AsrielBot | |
realname = Dreemurr | |
host = irc.rizon.net | |
port = 6697 | |
ssl = true | |
ssl_verify = CERT_NONE | |
includes = |
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" | |
#!/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. | |
""" |
%%%%%%%%%%%%%%%%%%%%%%%%%%%
Title = "Short Message Chess Game Protocol"
abbrev = "Short Message Chess Game Protocol"
category = "info"
docName = "smcgpv1-draft"
ipr = "full3978"
[pi]
private = "yes"
import java.util.*; | |
import java.math.BigDecimal; | |
import java.math.RoundingMode; | |
import java.util.stream.*; | |
class Main { | |
private static class tripleCandidate { | |
BigDecimal a; | |
BigDecimal b; |
[Unit] | |
Description=Red-DiscordBot | |
After=Network.target | |
[Service] | |
Type=simple | |
#Yeah, it's discouraged to run as root, but this is a single purpose VM. Change user appropriately, and make sure to update the workingdirectory. | |
User=root | |
ExecStart=/usr/bin/python3.5 /root/Red-DiscordBot/red.py | |
Restart=on-abort |
$ EMACS=$(which emacs) brew install mu --with-emacs --verbose | |
=> Downloading https://github.com/djcb/mu-releases/raw/master/mu-0.9.16.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/mu-0.9.16.tar.gz | |
==> Verifying mu-0.9.16.tar.gz checksum | |
tar xvzf /Library/Caches/Homebrew/mu-0.9.16.tar.gz | |
x mu-0.9.16/ | |
x mu-0.9.16/COPYING | |
x mu-0.9.16/TODO | |
x mu-0.9.16/Makefile.in | |
x mu-0.9.16/guile/ |
$ brew install mu --with-emacs --verbose | |
==> Downloading https://github.com/djcb/mu-releases/raw/master/mu-0.9.16.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/mu-0.9.16.tar.gz | |
==> Verifying mu-0.9.16.tar.gz checksum | |
tar xvzf /Library/Caches/Homebrew/mu-0.9.16.tar.gz | |
x mu-0.9.16/ | |
x mu-0.9.16/COPYING | |
x mu-0.9.16/TODO | |
x mu-0.9.16/Makefile.in | |
x mu-0.9.16/guile/ |