Installing Xcode and the command line tools need to be done first because it installs gcc
.
https://developer.apple.com/xcode/features/
Or via the terminal:
/** | |
* CSS Triangles test | |
*/ | |
body { | |
background-color: #C0DFEC; | |
} | |
.funky { | |
width: 0px; |
#!/usr/bin/python | |
import os | |
import re | |
## | |
# Helper function for setting permissions | |
# | |
def chmod(permissions, path): | |
permissions = str(permissions) |
#!/usr/bin/env python | |
from subprocess import * | |
import sys | |
import re | |
# Add Regex to blacklist here | |
blacklist = [ | |
"\+[ ]+NSLog.+" # Prevent NSLog's from being added | |
] |
Installing Xcode and the command line tools need to be done first because it installs gcc
.
https://developer.apple.com/xcode/features/
Or via the terminal:
◄ = ◄
► = ►
▼ = ▼
▲ = ▲
# app/controllers/users/password_controller.rb | |
class Users::PasswordsController < Devise::PasswordsController | |
def resource_params | |
params.require(:user).permit(:email, :password, :password_confirmation) | |
end | |
private :resource_params | |
end |
require 'forwardable' | |
module RtmpMeta | |
class Parser | |
PATTERN = /duration\s+(?<duration>\d+\.?\d+)$/ | |
attr_reader :raw_data | |
def initialize raw_data | |
@raw_data = raw_data | |
end |
package main | |
import ( | |
"os" | |
"strings" | |
"github.com/PuerkitoBio/goquery" | |
"github.com/codegangsta/cli" | |
) | |
func findSynonyms(query string) string { |
[alias] | |
st = status -bs | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
b = branch -v | |
co = checkout | |
undo = reset --soft HEAD^ | |
cm = commit -v | |
today = log --since=midnight --author='Maarten Claes' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
I hereby claim:
To claim this, I am signing this object: