A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
# that enables you to choose a character from a menu of options. If you are on Lion | |
# try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
# for input. | |
# | |
# It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
# it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, | |
# as it means you cannot press and hold h/j/k/l to move through your file. You have | |
# to repeatedly press the keys to navigate. |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
(* | |
SCRIPT NAME: Copy EN Note Link (Classic) | |
DATE: Sat, Jan 23, 2016 VER: 2.1.1 | |
PURPOSE: | |
• Get Classic link of selected Evernote Note | |
• Copy to Mac Clipboard as RTF (Rich Text Format) so that you can | |
paste to most apps as a click-able link | |
• Text is EN Note Title |
(* | |
SCRIPT NAME: Copy Classic Link (Evernote) | |
DATE: Tue, Feb 07, 2017 VER: 1.0.0 | |
PURPOSE: | |
• Get Classic link of selected Evernote Note | |
• Copy to Mac Clipboard | |
• Link is the "Classic", internal link to EN Mac Note | |
#!/bin/sh | |
browser=${BROWSER:-google-chrome-stable} | |
pgrep -x dmenu && exit | |
choice=$(echo "" | dmenu -i -p "Search Google:") || exit 1 | |
if [ "$choice" = "" ]; then | |
$browser "https://google.com" | |
else |