git init
or
# Important that you set the path to the folder where your docker-compose.yml lives | |
# | |
# e.g. Documents/Git/workspace | |
DOCKER_COMPOSE_PATH='' | |
# ---------------DOCKER/DOCKER COMPOSE:------------------- | |
# Runs a docker command of your choice from anywhere. | |
# | |
# Usage: dc <command> |
cdf() { | |
cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')"; | |
} |
#MenuTitle: Set Transform Origin to Centre of Selection | |
# -*- coding: utf-8 -*- | |
__doc__=""" | |
Sets origin point for Rotate tool to the centre of the selection. | |
""" | |
import GlyphsApp | |
Font = Glyphs.font | |
Doc = Glyphs.currentDocument | |
selectedLayer = Font.selectedLayers[0] |
# Step 1: Install the following 3rd party prerequisites, you can get these from macports: | |
# | |
# sudo port install libpng | |
# sudo port install libsdl_ttf | |
# sudo port install libsdl_mixer | |
# | |
# Step 2: Download and unzip Vulture Nethack source from http://www.darkarts.co.za/vulture-for-nethack | |
# | |
# Step 3: Place this file at the base of the unzipped vulture nethack source directory, and run it: | |
# sh vulture-nethack-mac-build.sh |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
@mixin smart-underline($background: #fff, $text: #000, $selection: #ffc, $position: 86%){ | |
a { | |
color: inherit; | |
text-decoration: none; | |
background: -webkit-linear-gradient($background, $background), -webkit-linear-gradient($background, $background), -webkit-linear-gradient($text, $text); | |
background-size: .05em 1px, .05em 1px, 1px 1px; | |
background-repeat: no-repeat, no-repeat, repeat-x; | |
text-shadow: 0.03em 0 $background, -0.03em 0 $background, 0 0.03em $background, 0 -0.03em $background, 0.06em 0 $background, -0.06em 0 $background, 0.09em 0 $background, -0.09em 0 $background, 0.12em 0 $background, -0.12em 0 $background, 0.15em 0 $background, -0.15em 0 $background; | |
background-position-y: $position,$position, $position; | |
background-position-x: 0%, 100%, 0%; |
#How I built an audio book reader for my nearly blind grandfather
Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.
####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an
When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.
Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008
…………………………