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
-- phpMyAdmin SQL Dump | |
-- version 2.8.0.3 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Jun 10, 2006 at 11:08 PM | |
-- Server version: 5.0.18 | |
-- PHP Version: 5.1.3 | |
-- | |
-- Database: `smsd` |
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
<?php | |
/** | |
* The Damm check digit | |
* Damm validation & generation code in PHP. | |
* Damm algorithm is a check digit algorithm that detects all single-digit errors | |
* and all adjacent transposition errors. Totally anti-symmetric quasigroup. | |
* | |
* For more information cf. http://en.wikipedia.org/wiki/Damm_algorithm | |
* |
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 os | |
import sys | |
import pickle | |
import console | |
# I moved 'dropboxlogin' into a sub folder so it doesn't clutter my main folder | |
sys.path += [os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')] | |
import dropboxlogin # this code can be found here https://gist.github.com/4034526 | |
STATE_FILE = '.dropbox_state' |
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 | |
# echo "" > /usr/bin/dynmotd; chmod +x /usr/bin/dynmotd; nano /usr/bin/dynmotd | |
USER=`whoami` | |
MEMORY1=`free -t -m | grep "buffers/cache" | awk '{print $3" MB";}'` | |
MEMORY2=`free -t -m | grep "Mem" | awk '{print $2" MB";}'` | |
# time of day | |
HOUR=$(date +"%H") | |
if [ $HOUR -lt 12 -a $HOUR -ge 0 ]; then |
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/perl -w | |
# Author <[email protected]> | |
# | |
# This script assumes that virtual_mailbox_base in defined | |
# in postfix's main.cf file. This directory is assumed to contain | |
# directories which themselves contain your virtual user's maildirs. | |
# For example: | |
# | |
# -----------/ |
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/sh | |
# | |
# 00-header - create the header of the MOTD | |
# Copyright (c) 2013 Nick Charlton | |
# Copyright (c) 2009-2010 Canonical Ltd. | |
# | |
# Authors: Nick Charlton <[email protected]> | |
# Dustin Kirkland <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify |
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/sh | |
# Sublime Text 3 install with Package Control | |
# http://simonewebdesign.it/install-sublime-text-3-on-linux/ | |
# Run this script with: | |
# $ curl -L git.io/sublimetext | sh | |
# Detect the architecture |
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/python | |
## | |
# curl -Lsk http://git.io/vk2NC -o /usr/bin/epm; chmod +x /usr/bin/epm | |
## | |
""" | |
Ertix Package Manager | |
Last updated: 2015/11/10 | |
""" | |
from __future__ import print_function |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCT9s+L2WYu/M1m5UdvwOm8odqjnSVjW7ErHs2+/psSpO/oUK2A09rVMLDzN0mDcRH2pvCzWXxTfdTSKsV50V8nnh2uJfhjGgL9rxWNOCCpguCzRbt/Lav5NSzoPFeFPJ7e1+p0XfQWZYjhEpPSqT69xPRU/02gaOgkdAn9UufrYa071pJClVGK9zJZ7ZrXXSJJ3wFEojBHDJyllf2aYrzZoRbH0DcWcDFe14wBBGQT+SWWOPysOIiA5tyTHIuGrbiTP2a7ZDymjoQoPzvp6LBySuhr68j3J1frReH59y4H6zgC2YXEMd/gTWFzKGsBK3JDQStV6CbpF5xd69bc0sDp [email protected] |
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/sh | |
#chkconfig: 345 99 10 | |
#description: Seafile auto start-stop script. | |
# source function library | |
. /etc/rc.d/init.d/functions | |
start() { | |
echo "Starting Seafile server..." | |
su - seafile -c "seafile-server-latest/seafile.sh start" |