As root, install fetchmail
$ apt-get install fetchmailCheck if fetchmail has SSL support: if you see something like "libssl.so.0" then yours has it
$ ldd /usr/bin/fetchmail| mgo.SetDebug(true) | |
| var aLogger *log.Logger | |
| aLogger = log.New(os.Stderr, "", log.LstdFlags) | |
| mgo.SetLogger(aLogger) |
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
| Example: https://denpa.moe/~syrup/himawari8.png |
| # First do a fresh install of CentOS 5.7 i386, server configuration (no GUI) | |
| # This should be performed as root since it's going to be installing a bunch of stuff | |
| # --- Update things to make sure we have the latest patches --- | |
| # Add EPEL so we can get reasonably recent packages | |
| rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| # --- Install all the packages --- # | |
| yum -y install python-whisper python-carbon graphite-web python-memcached python-ldap httpd memcached |
| <?php | |
| declare(ticks = 1); | |
| $terminate = false; | |
| pcntl_signal(SIGTERM, function() use (&$terminate) { | |
| $terminate = true; | |
| echo "Terminating = true \n"; | |
| }); |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>search as you type</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
| <style> |
| <?php | |
| require_once "./phpcassa/columnfamily.php"; | |
| // Create new ConnectionPool like you normally would | |
| $pool = new ConnectionPool("KeyspaceName", array("127.0.0.1")); | |
| // Retrieve a raw connection from the ConnectionPool | |
| $raw = $pool->get(); |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |