guu
Lowercase line
gUU
Uppcase line
*
search for other instances of the word under your cursor
function coloursize() { | |
$('.colourise').each(function() { | |
var $el = $(this); | |
setBackgroundColour($el); | |
$el.find('*').each(function() { | |
setBackgroundColour($(this)); | |
}); |
@mixin wrap($prefix) { | |
$selector: &; | |
@at-root #{$prefix} { | |
#{$selector} { | |
@content; | |
} | |
} | |
} |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
var format = "02/01/2006" | |
var incrementInDays = 3 | |
var amountOfDates = 5 |
Update AUR packages with no confirmations
yaourt -Syu --aur --noconfirm
// Bad | |
if (user.authFlag() == AUTHORISED) { | |
// Code | |
} | |
// Good | |
if (user.isLoggedIn()) { | |
// Code | |
} |
class A extends Activity implement Observer { | |
onCreate() { | |
B b = new B(new Handler() { | |
handleMessage(Msg msg) { | |
// update model |
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="sussexfire" default="build" basedir="."> | |
<description> | |
SussexFire | |
</description> | |
<property name="src" location="src"/> | |
<property name="build" location="build"/> |
<?php | |
// Function to delete capabilities | |
// http://chrisburbridge.com/delete-unwanted-wordpress-custom-capabilities/ | |
add_action( 'admin_init', 'clean_unwanted_caps' ); | |
function clean_unwanted_caps() { | |
global $wp_roles; | |
$delete_caps = array( | |
'capability1' |