This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #import <Cocoa/Cocoa.h> | |
| // clang -Weverything -fobjc-arc -framework Cocoa -o notification notification.m | |
| void QuietLog (NSString *format, ...); | |
| void StartSpying (void); | |
| void StopSpying (void); | |
| void QuietLog (NSString *format, ...) { |
| ;; Keybonds | |
| (global-set-key [(hyper a)] 'mark-whole-buffer) | |
| (global-set-key [(hyper v)] 'yank) | |
| (global-set-key [(hyper c)] 'kill-ring-save) | |
| (global-set-key [(hyper s)] 'save-buffer) | |
| (global-set-key [(hyper l)] 'goto-line) | |
| (global-set-key [(hyper w)] | |
| (lambda () (interactive) (delete-window))) | |
| (global-set-key [(hyper z)] 'undo) |
| #!/bin/bash | |
| export THEOS=/opt/theos | |
| if ! [ -d $THEOS ]; then | |
| mkdir -p $THEOS | |
| fi | |
| # clone theos.git | |
| cd /opt | |
| git clone git://github.com/DHowett/theos.git |
| # Rime dictionary | |
| # encoding: utf-8 | |
| --- | |
| name: luna_pinyin.emoji | |
| version: "2017.02.10" | |
| sort: by_weight | |
| use_preset_vocabulary: true | |
| ... |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| var R = require("request"); | |
| var key = process.env.TWITTER_CONSUMER_KEY; | |
| var secret = process.env.TWITTER_CONSUMER_SECRET; | |
| var cat = key +":"+secret; | |
| var credentials = new Buffer(cat).toString('base64'); | |
| var url = 'https://api.twitter.com/oauth2/token'; | |
| R({ url: url, |
| #!/usr/bin/perl -w | |
| # Sync the information between BibTeX and PDF XMP. | |
| # [email protected] | |
| use strict; | |
| use warnings; | |
| use POSIX; | |
| use Getopt::Std; |
#How to transition from EasySIMBL to SIMBL
( ~ is your home directory )
Use SIMBL checkbox. Quit EasySIMBL.~/Library/ScriptingAdditions/EasySIMBL.osax if exists.SIMBL directory and EasySIMBL.osax located in ~/Library/Containers/ is not needed. Find from Finder or find command like find ~/Library/Containers -name "*SIMBL*" -ls and remove manually if exists.| // NSCFRange+Z.swift | |
| // ZKit | |
| // | |
| // The MIT License (MIT) | |
| // | |
| // Copyright (c) 2016 Electricwoods LLC, Kaz Yoshikawa. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights |