duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
svg { | |
background: #012; | |
} | |
path { | |
stroke: #fff; | |
stroke-opacity: .5; | |
} |
body { | |
margin: 20px; | |
color: #2B2B2B; | |
background-color: #D47D7D; | |
} | |
div { | |
margin: 10px; |
# ~/Gemfile | |
source "http://rubygems.org" | |
group :development do | |
gem 'compass' # Depends on Sass, will be installed automatically. | |
gem 'compass-960-plugin' # 960.gs | |
gem 'compass-validator' # So you can `compass validate`. | |
gem 'oily_png' # Faster Compass sprite generation. | |
gem 'css_parser' # Helps `compass stats` output statistics. |
<div class="crosshair"></div> |
#!/bin/bash | |
# https://gist.github.com/gregferrell/747642 | |
if [[ $1 ]]; | |
then | |
php -r " echo var_dump(unserialize('"$1"')); echo \"\\n\";" | |
else | |
STRING=`pbpaste` | |
php -r " echo var_dump(unserialize('"$STRING"')); echo \"\\n\";" | |
fi |
#####EDIT: NB Ban is technically different from Purge. Banned objects remain in memory but banning is faster than purging. Read the Varnish 3 documentation here and here.
Purge may be a more appropriate action for your use-case; although the examples in the gist below work, it's not necessarily the best way of doing this.
Article by Faruk Ateş, [originally on KuraFire.net][original] which is currently down
One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.
Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the o
#!/bin/sh | |
command="${*}" | |
printf "Initialized REPL for [%s]\n" "$command" | |
printf "%s> " "$command" | |
read -r input | |
while [ "$input" != "" ]; | |
do | |
eval "$command $input" | |
printf "\n%s> " "$command" |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would