Skip to content

Instantly share code, notes, and snippets.

Takumi Kinjo kinjo

  • Japan
Block or report user

Report or block kinjo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ShingoFukuyama
ShingoFukuyama / emacs mac osx say
Last active Nov 5, 2018
Utilizing `say' command which Mac OSX has for Emacs.Region lines and then `M-x osx-say' to make OSX speak.
View emacs mac osx say
;; Region lines and then `M-x osx-say' to make OSX speak.
;; Adjust speak speed
(setq osx-say-speed 180)
;; Change voice
;; Kathy, Vicki, Victoria, Alex, Bruce, Fred
(setq osx-say-voice "Alex")
(setq osx-say-buffer "*osx say*")
@tompng
tompng / ls2sl.cc
Last active Dec 20, 2015
ls2sl for mac
View ls2sl.cc
//g++ -framework ApplicationServices ls2sl.cc
//enable [System Preferences -> Universal Access -> Access for assistive devices]
#include <stdio.h>
#include <ApplicationServices/ApplicationServices.h>
#include <sys/time.h>
#define BUFSIZE 100
int keyBuffer[BUFSIZE];
struct timeval timeBuffer[BUFSIZE];
You can’t perform that action at this time.