This file contains 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
From a4024c35295c0d7375ce87ff666f0dffe75f4aa1 Mon Sep 17 00:00:00 2001 | |
From: Kristofer Rye <krye97@gmail.com> | |
Date: Sun, 2 Dec 2012 13:48:36 -0500 | |
Subject: [PATCH] moved javascript code to /js/ directory | |
--- | |
Diary.html | 6 +- | |
jquery-1.8.3.min.js | 2 - | |
jquery-ui-1.9.2.custom.min.js | 6 -- | |
jquery.easing.1.3.js | 205 -------------------------------------- |
This file contains 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
\documentclass[12pt,letterpaper]{article} | |
\usepackage{amsmath} | |
\usepackage{setspace} | |
\begin{document} | |
\begin{center} | |
{\Huge{\textbf{Prevent Memory Errors}}} | |
This file contains 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 | |
DEFAULT_MODE="HOURLY" | |
case $1 in | |
"" | "--hourly") | |
MODE="HOURLY" | |
;; | |
"--quarterly") | |
MODE="QUARTERLY" |
This file contains 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 | |
cat /etc/passwd | cut -d: -f1,3,5,6 | grep "1[0-9][0-9][0-9]" | cut -d: -f1,3,4 | grep "/home" | cut -d: -f1,2 | column -t -s : | sort |
This file contains 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/env rackup | |
#\ -E deployment | |
use Rack::ContentLength | |
app = Rack::Directory.new Dir.pwd | |
run app |
This file contains 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/env ruby | |
require "json" | |
module DataSync | |
EXAMPLE_CONFIGURATION_FILE_NAME = "z_datasync-configuration.sample.json" | |
CONFIGURATION_FILE_NAME = "configuration.json" | |
OutputProperties = { |
This file contains 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
require 'socket' | |
require 'timeout' | |
module Porto | |
class PortoPort | |
def self.in_use?(ip, port) | |
begin | |
Timeout::timeout(1) do | |
begin | |
s = TCPSocket.new(ip, port) |
This file contains 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
class Array | |
def mean | |
return ((self.map{|x| x.to_f} | |
.inject(:+)) / | |
(self.count)) | |
end | |
def standard_deviation | |
m = self.mean |
This file contains 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
neonatestail | |
penrumings | |
unisi | |
gooproach | |
destoolsnant | |
lopdurablee | |
falsenalhen | |
govnobsis | |
intenlog | |
loottylows |
This file contains 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 | |
echo ">>>> Copying archive to home directory!" | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
cp $DIR/zz_config-diffs.tar.gz $HOME | |
echo ">>>> Changing to home directory!" |
OlderNewer