Current version: 1.0.19 1.0.15 (as of 2018-12-10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; To send events from Emacs to Fantastical using Control-C Control-F, | |
| ;; drop this script in your Emacs load path and add lines like these to | |
| ;; your .emacs: | |
| ;; | |
| ;; (autoload 'send-region-to-fantastical "fantastical-capture" "Send region to Fantastical" t) | |
| ;; (global-set-key (kbd "C-c C-f") 'send-region-to-fantastical) | |
| ;; | |
| ;; See http://jblevins.org/log/emacs-fantastical for details. | |
| (defun applescript-quote-string (argument) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "formula" | |
| class MobileShell < Formula | |
| desc "Remote terminal application" | |
| homepage "https://mosh.mit.edu/" | |
| url "https://mosh.mit.edu/mosh-1.2.5.tar.gz" | |
| sha256 "1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3" | |
| bottle do | |
| sha256 "046b0c48cd1c573d57500e683122e3152a00556ad960938c6caa962b0c2ef460" => :el_capitan |
This is basically a rehash of an original post on CNXSoft - all credit (particularly for the Virtio device arguments used below) belongs to the author of that piece.
Download the latest uefi1.img image. E.g. ubuntu-16.04-server-cloudimg-arm64-uefi1.img from https://cloud-images.ubuntu.com/releases/16.04/release/
Download the UEFI firmware image QEMU_EFI.fd from https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/
Determine your current username and get your current ssh public key:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Linux kernel verbose boot and logging to serial console | |
| # | |
| # Check Documentation/kernel-parameters.txt [1] to check all aplicable options for your kernel version | |
| # | |
| # VERSION="v"$(uname -r | sed -e 's/\(\.0\)\?-.*$//') | |
| # [1] https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/Documentation/kernel-parameters.txt?id=refs/tags/$VERSION | |
| linux /vmlinuz root=/dev/sda1 ro consoleblank=0 earlyprintk=ttyS0 console=ttyS0 panic=1 oops=panic panic_on_warn verbose INIT_VERBOSE=yes init=/sbin/init -v | |
| initrd /initrd.gz | |
| boot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* | |
| ## Goal | |
| This script is make new calendar event to fantastical2 from things3 complete todos in 'Logbook' on specified date. | |
| ## How to use: | |
| * Default is today | |
| * `$ osascript things-to-fantastical.applescript` | |
| * The specified date | |
| * `$ osascript things-to-fantastical.applescript 2017/08/12` | |
| *) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python i18njson-translate.py --help | |
| Usage: i18njson-translate.py [OPTIONS] INPUTFILE OUTPUT | |
| Process and translate .po or JSON files and generate translated .po file | |
| in result. Can work with exist .po files and if in initial file msgid | |
| dissapear then mark translaed string as obsolete. Try to play nice with | |
| version control systems and follow initial file order format, you will get | |
| predicteable diffs. | |
| Options: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
| function register_clang_version { | |
| local version=$1 | |
| local priority=$2 | |
| update-alternatives \ | |
| --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
Start off with some Rust source code
hw.rs :
#[link(name = "extern")]
extern {
fn hello();
}