This is a simple PHP profiler based on syslog
and ticks.
Killer feature is that it doesn't need to be included inside statements but only prepend your scripts.
This is a simple PHP profiler based on syslog
and ticks.
Killer feature is that it doesn't need to be included inside statements but only prepend your scripts.
#!/bin/sh | |
# This gist contains pre-commit hooks to prevent you from commiting bad code or to the wrong branch. | |
# There are four variants that I have built: | |
# - pre-commit: stops commits to "master" and "develop" branches. | |
# - pre-commit-2: also includes a core.whitespace check. | |
# - pre-commit-3: the core.whitespace check and an EOF-newline-check. | |
# - pre-commit-4: only the core.whitespace check. | |
# Set desired version like this before installing: | |
# FILE=pre-commit |
# Replace any brackets with real values | |
# Try to ssh in to DREAMHOST (ensure it no longer asks for a PW); you may want to restart Terminal | |
ssh [user]@[host] | |
cd ~ | |
mkdir [mydomain_com].git | |
cd [mydomain_com].git | |
git init --bare | |
vi hooks/post-receive | |
# Enter the code from the "post-receive" file (in this gist); save + quit |
diff -urN htop-1.0.2-orig/CRT.c htop-1.0.2/CRT.c | |
--- htop-1.0.2-orig/CRT.c 2013-03-23 14:10:29.500604247 +0100 | |
+++ htop-1.0.2/CRT.c 2013-03-23 14:11:01.916663508 +0100 | |
@@ -59,6 +59,9 @@ | |
UPTIME, | |
BATTERY, | |
TASKS_RUNNING, | |
+ TEMPERATURE_COOL, | |
+ TEMPERATURE_MEDIUM, | |
+ TEMPERATURE_HOT, |
# set prefix to control-f | |
set -g prefix C-f | |
#unbind system defined prefix | |
unbind C-b | |
# helps in faster key repetition | |
set -sg escape-time 0 | |
# start session number from 1 rather than 0 |
00D1E5 | |
0111E | |
0115 | |
011ED | |
011F1E1D | |
011F1E1D5 | |
015E | |
01AF | |
01D1E |