Glossary:
- md: multiple devices
command | description |
---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
<?php | |
/** | |
* LDAP PHP Change Password Webpage | |
* @author: Matt Rude <http://mattrude.com> | |
* @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
* | |
* | |
* GNU GENERAL PUBLIC LICENSE | |
* Version 2, June 1991 |
#!/usr/bin/env python | |
import MySQLdb | |
import os, sys | |
import pprint | |
pp = pprint.PrettyPrinter() | |
mysql_host = "localhost" | |
mysql_user = "dbusername" | |
mysql_pass = "dbpassword" |
# the compiler to use | |
CC =gcc | |
# flags to send to the compiler | |
CFLAGS = -O2 -Wall | |
# executable names | |
SENDER_EXEC = Sender | |
RECEVIER_EXEC = Receiver | |
# compile the message queue programs |
// Commands for Alpha Sign Communication Protocol | |
byte NUL = 0x00; | |
byte START_HEADER = 0x01; | |
byte START_TEXT = 0x02; | |
byte END_TRANSMISSION = 0x04; | |
byte ESC = 0x1B; | |
byte FILL = 0x30; | |
byte ROTATE = 0x61; | |
byte SLOW = 0x15; | |
byte FAST = 0x19; |
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
import socket | |
UDP_IP = "::1" # localhost | |
UDP_PORT = 5005 | |
MESSAGE = "Hello, World!" | |
print "UDP target IP:", UDP_IP | |
print "UDP target port:", UDP_PORT | |
print "message:", MESSAGE |
VICE is the best by such a commanding margin that you really needn't look elsewhere. Open source and has the largest community.
However, other options are:
# IMPORTANT! | |
# This gist has been transformed into a github repo | |
# You can find the most recent version there: | |
# https://github.com/Neo23x0/auditd | |
# ___ ___ __ __ | |
# / | __ ______/ (_) /_____/ / | |
# / /| |/ / / / __ / / __/ __ / | |
# / ___ / /_/ / /_/ / / /_/ /_/ / | |
# /_/ |_\__,_/\__,_/_/\__/\__,_/ |