start new:
tmux
start new with session name:
tmux new -s myname
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
.visible-android { | |
display:none; | |
} | |
.visible-ios { | |
display:none; | |
} | |
.on-device .visible-android, .on-device .visible-android { | |
display:inherit; | |
} | |
.device-ios .visible-android { |
/* Sass Mixin that generates a Baseline Grid */ | |
/* by: Mike Morrison, Soholaunch.com */ | |
/* You don't have to leave this credit comment in, but it would be nice of you. */ | |
// Set your grid dimensions here | |
$body-width: 960px; | |
$baseline: 22px; | |
@mixin baseline-grid { | |
$columns: 16; | |
$column-color: rgba(200,0,0,.2); |
--taken from http://benguild.com/2012/04/11/how-to-import-tasks-to-do-items-into-ios-reminders/#comment-1346894559 | |
--set theFileContents to (read file "Users:n8henrie:Desktop:Reminders.txt") -- Change this to the path to your downloaded text file with your tasks in it! (Note the : instead of a / between folders) Or, just name them Reminders.txt and put them in your downloads folder | |
--set theLines to paragraphs of theFileContents | |
set theLines to {"task name 1", "task name 2"} | |
repeat with eachLine in theLines | |
tell application "Reminders" | |
set mylist to list "Your List Name" | |
tell mylist | |
make new reminder at end with properties {name:eachLine, due date:date "7/10/2014 3:00 PM"} |
var gulp = require('gulp'), | |
exec = require('gulp-exec'); | |
var templateFiles = [ | |
'wp-content/themes/my-theme/index.jade', | |
'wp-content/themes/my-theme/page.jade', | |
'wp-content/themes/my-theme/page-single.jade', | |
'wp-content/themes/my-theme/archive.jade', | |
//All other template files |
// Creates the notifcation constant | |
let notification = Notification.Name("NSSystemClockDidChangeNotification") | |
// Add this within your viewDidLoad() | |
NotificationCenter.default.addObserver(self, selector: #selector(handleTimeChange), name: notification, object: nil) | |
// Place this within the view controller where the above is added | |
@objc private func handleTimeChange() { | |
// Add anything you need in here | |
NotificationCenter.default.removeObserver(self, name: notification, object: nil); |
.l-wrap | |
width: 100% | |
max-width: 1196px | |
margin: 0 auto | |
.l-grid | |
display: grid | |
grid-gap: 52px | |
grid-template-columns: repeat(6, 1fr) |
# first install pygmentize to the mac OS X or macOS system with the built-in python | |
sudo easy_install Pygments | |
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc. | |
alias pcat='pygmentize -f terminal256 -O style=native -g' |
ENV APACHE_DOCUMENT_ROOT /var/www/mapasculturais/src
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf