The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
[based on a true story]
So. Your friend's about to teach you how to make a website. Great!
You make a file, and you save it as 'index.html'. Why it's called 'index' isn't really explained to you, but whatever.
You type the following.
hello world| WordPress 2.9+ | |
| "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,3c;" | |
| "_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;" | |
| "esc_html_e;esc_html_x:1,2c\n" | |
| __ | |
| _e | |
| _ex:1,2c | |
| _n:1,2 |
| //LOAD CSV script for GFTS data | |
| create constraint on (a:Agency) assert a.id is unique; | |
| create constraint on (r:Route) assert r.id is unique; | |
| create constraint on (t:Trip) assert t.id is unique; | |
| create index on :Trip(service_id); | |
| create constraint on (s:Stop) assert s.id is unique; | |
| create index on :Stoptime(stop_sequence); | |
| create index on :Stop(name); | |
| schema await |
| #!/usr/bin/env python | |
| """Download conversations, customers, and attachments from a Help Scout mailbox | |
| Written by Jonathan Kamens (jik@kamens.us). | |
| Released into the public domain. | |
| Email me patches if you have enhancements you'd like me to incorporate. Don't | |
| bother emailing me bug reports or suggestions; this script does exactly what I |
Check your $PATH if you have /usr/local/bin and if not add the following
line to the very beginning of your ~/.bash_profile file (it is a hidden file).
export PATH="/usr/local/bin:$PATH"
# or if you want to be explicit where your SHELL will look for binaries:
# export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin| // Package main is a sample macOS-app-bundling program to demonstrate how to | |
| // automate the process described in this tutorial: | |
| // | |
| // https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
| // | |
| // Bundling the .app is the first thing it does, and creating the DMG is the | |
| // second. Making the DMG is optional, and is only done if you provide | |
| // the template DMG file, which you have to create beforehand. | |
| // | |
| // Example use: |
| #!/bin/bash | |
| echo "App Release Automator by @rodydavis" | |
| action="$1" | |
| red=`tput setaf 1` | |
| green=`tput setaf 2` | |
| reset=`tput sgr0` | |
| if [ ${action} = "build" ]; then |