NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
#!/usr/bin/env bash | |
# requires blueutil: `brew install blueutil` | |
if ! sudo -v ; then | |
echo requires root | |
exit | |
fi | |
function dots() { |
(() => { | |
let count = 0; | |
function getAllButtons() { | |
return document.querySelectorAll('button.is-following') || []; | |
} | |
async function unfollowAll() { | |
const buttons = getAllButtons(); |
NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
FROM php:5.6-cli | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
libfreetype6-dev \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-install iconv \ | |
&& apt-get remove -y \ | |
libfreetype6-dev \ | |
&& apt-get install -y \ |
<!doctype html> | |
<!-- Adapted from https://gist.github.com/tfausak/2222823 --> | |
<html> | |
<head> | |
<title>Mobile-ready web app</title> | |
<!-- CONFIGURATION --> |
//Source: http://www.virgentech.com/blog/2009/10/building-object-oriented-jquery-plugin.html | |
//Author: Hector Virgen | |
//Date: August 23, 2010 | |
(function($) { | |
var MyPlugin = function(element, options) { | |
var elem = $(element); | |
var obj = this; |
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$baseSize: 16px; | |
$convertBase: $baseSize; | |
html { | |
font-size: percentage($baseSize / 16px); |
// Usage: @include transition(width, height 0.3s ease-in-out); | |
// Output: -webkit-transition(width 0.2s, height 0.3s ease-in-out); | |
// transition(width 0.2s, height 0.3s ease-in-out); | |
// | |
// Pass in any number of transitions | |
@mixin transition($transitions...) { | |
$unfoldedTransitions: (); | |
@each $transition in $transitions { | |
$unfoldedTransitions: append($unfoldedTransitions, unfoldTransition($transition), comma); | |
} |
git fetch --all | |
git reset --hard origin/master | |
git pull origin master |