Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/usr/bin/env bash | |
# memusg -- Measure memory usage of processes | |
# Usage: memusg COMMAND [ARGS]... | |
# | |
# Author: Jaeho Shin <[email protected]> | |
# Created: 2010-08-16 | |
############################################################################ | |
# Copyright 2010 Jaeho Shin. # | |
# # | |
# Licensed under the Apache License, Version 2.0 (the "License"); # |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/bin/bash | |
echo "Setting up agent forwarding..." | |
mkdir -p /root/.ssh | |
chmod 0700 /root/.ssh | |
echo "Host *\n StrictHostKeyChecking no" >> /root/.ssh/config | |
chmod 0600 /root/.ssh/config | |
ppid=$PPID | |
found_auth_sock="" | |
while [[ $SSH_AUTH_SOCK == "" && $ppid != "1" ]]; do | |
f=`ls /tmp/ssh*/agent.$ppid 2>/dev/null` |
Dynamic responsive font-sizing is something I see missing on many “responsive” websites. Breakpoints are nice but I have better things to do with my time than defining infinite font-size adjustments. (so do you!)
To implement this, we’re going to take advantage of the em
font sizing unit in CSS.
Click here to see what I'm talking about: codepen.io/lawrencealan/full/eJqlu
A single em
is equal to the current font-size of the closest parent which has a font-size
set.