- Table of contents
- General information
- Terms
- General structure of a test
- WordPress-specific assertions and test functions
- enqueues
- creating posts
- creating terms
- attaching images
- ?
#!/bin/sh | |
# | |
# Author: Matthieu Prat <[email protected]> | |
# Date: 01/22/2015 | |
# | |
# Sync a local work tree with a remote one. | |
# It's rsync on steroids within large Git repositories. | |
USAGE='<repository>' | |
LONG_USAGE='Sync a local work tree with a remote one.' |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
@akhleung is working on hcatlin/libsass and was wondering how @extend
is
implemented in the Ruby implementation of Sass. Rather than just tell him, I
thought I'd write up a public document about it so anyone who's porting Sass or
is just curious about how it works can see.
Note that this explanation is simplified in numerous ways. It's intended to
explain the most complex parts of a basic correct @extend
transformation, but
it leaves out numerous details that will be important if full Sass compatibility
module Capybara::Poltergeist | |
class Client | |
private | |
def redirect_stdout(to) | |
prev = STDOUT.dup | |
prev.autoclose = false | |
$stdout = to | |
STDOUT.reopen(to) | |
prev = STDERR.dup |
It seems that graphcis and fonts look rather blurry on some monitors when hooked up to a MacBook Pro (Retina). This might fix the issue for you:
Download patch-edid.rb from http://embdev.net/attachment/168316/patch-edid.rb
Execute in Terminal (without the $):
$ ruby patch-edid.rb
Copy produced folder (example: DisplayVendorID-22f0) to /System/Library/Displays/Overrides (authorize if needed, if the folder exists, backup it before)
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#include <dirent.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
/* filter for regular files only */ | |
static int dirent_select(const struct dirent* ent) | |
{ | |
return ent->d_type == DT_REG; | |
} |
require 'formula' | |
class Phpunit < Formula | |
homepage 'http://www.phpunit.de/manual/current/en/index.html' | |
url 'http://pear.phpunit.de/get/phpunit.phar' | |
sha1 '7aaa26086ddf7cd0c517d7f52b74a53a7a1d7e29' | |
version 'HEAD' | |
def install | |
bin.install "phpunit.phar" => "phpunit" |