- CPanel
- ISPConfig
- Webmin
- CoreOS
- Docker (LXC containers)
| # SSH | |
| pass in quick proto tcp from any to port 22 keep state |
| #!/bin/env/python | |
| # -*- encoding: utf8 -*- | |
| # Remove file from directory if it's the only one there including sub-directories. | |
| # usage: script.py <file to find> <directory> | |
| # script.py readme.txt /stuff/files/misc | |
| import os | |
| import sys | |
| fn = None |
| def is_vatnum(num): | |
| if len(num) > 9: | |
| return False | |
| if "-" not in num: | |
| return False | |
| n,check = num.split("-") | |
| try: |
| #!/bin/env python | |
| # -*- coding: utf8 -*- | |
| # raspi 2013 | |
| # mixCloud set to .cue file | |
| # version 0.0.1 | |
| import os | |
| import sys | |
| import json | |
| import urllib2 |
| # raspi 2007 | |
| # gets audio ogg files from "sherlock holmes - the awakened" | |
| import os | |
| import sys | |
| import struct | |
| datafilename = 'music.snd' | |
| datafilesize = os.stat(datafilename)[6] |
| telnet <IRC serveri> <portti> | |
| NICK <nick> | |
| USER <ident/username> "localhost" "localhost" :<Nimi> | |
| Oikea IRC clientti - TELNET | |
| /j <#kanava> [key] = JOIN <#kanava> [:key] | |
| /p <#kanava> = PART <#kanava> | |
| /msg #kanava <viesti> = PRIVMSG <#kanava> :<viesti> | |
| /msg <nick> <viesti> = PRIVMSG <nick> :<viesti> |