Skip to content

Instantly share code, notes, and snippets.

kjaymiller / text_to_things3.scptd
Last active October 7, 2021 22:24
AppleScript Import Text to Things3
View text_to_things3.scptd
on run {input, parameters}
set delimitedList to paragraphs of (input as string)
tell application "Things3"
repeat with currentTodo in reverse of delimitedList
set newToDo to make new to do with properties {name:currentTodo} at beginning of list "Inbox"
end repeat
end tell
end run
jcohlmeyer /
Last active August 15, 2018 23:53
Statamic DO

SSH config (on your local machine)

Host [name]
  HostName [floating_ip]
  User root
  IdentityFile ~/.ssh/[ssh_key]
  IdentitiesOnly yes

Update software

View OFIFontRegistry.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<!-- N.B. 'system-font' is also available as an alias; it will be mapped to the actual system font at runtime. -->
vmbrasseur / negotiation.markdown
Last active April 24, 2018 17:20
Negotiation Articles/Resources
View negotiation.markdown
jasonvarga /
Last active August 29, 2015 14:23
Restricting an account to specific sections in the CP

Simple Statamic CP edit restrictions

  • Add the hooks file to _add-ons/restrict_to/hooks.restrict_to.php.
  • Add the restrict_to tags field to your _config/bundles/member/fields.yaml.
  • To restrict pages, add them to the restrict_to field. eg. /blog, /calendar. They will only be allowed to edit pages that begin with this url.


If your member listing is visible, (it is by default), they can edit their own restricted pages.

andre3k1 / sunrise-calendar-icons.txt
Created January 27, 2015 21:43
An unofficial list of available icons in the Sunrise calendar app. Found any others? Let me know.
View sunrise-calendar-icons.txt
johnmeilleur /
Last active August 29, 2015 14:13
Install Statamic
# Update Ubuntu with the latest updates
sudo apt-get update
# Install Apache
sudo apt-get --yes install apache2
# Enable mod_rewrite and mod_headers Apache modules
sudo a2enmod rewrite
sudo a2enmod headers
1stevengrant / .htaccess
Created May 24, 2014 14:18
htaccess that can protect an environment
View .htaccess
# .htaccess
# Apache Configuration File
# This code has been assembed from various places. A LOT of it came from
# the HTML boilerplate. See their awesome stuff here:
# Created by Jesse Bunch on 2011-04-15.
# Copyright 2011 Jesse Bunch ( All rights reserved.
pedro-stanaka /
Last active October 11, 2018 17:14
Install all things i need in a linux (debian-based)... 64 bits version
# Upgrade packages that are available to update
sudo apt-get update
sudo apt-get -y upgrade
# Miscelaneous tools and media players and game emulators
sudo apt-get install -y build-essential ubuntu-restricted-extras htop vcl smplayer k3b audacity audacious audacious-plugins visualboyadvance pcsxr
jtomaszewski / multi_column_clearance.sass
Created January 31, 2014 12:34
Bootstrap 3 Grid Multi Column Clearing
View multi_column_clearance.sass
// See issue for more information.
// Thanks for the idea of the fix to:
@import "bootstrap/variables"
// Useful @media mixins (based on dimensions taken from bootstrap-sass)