Skip to content

Instantly share code, notes, and snippets.

View YOCKOW's full-sized avatar
🍤

YOCKOW YOCKOW

🍤
View GitHub Profile
@YOCKOW
YOCKOW / git.config
Last active May 24, 2018 06:40
YOCKOW's Favorite `log` of `git`
alias.graph=log --graph --date-order --all --date=iso --pretty=format:'%C(bold red)%d%C(reset) - %C(yellow)%h%n %C(bold white)%s ---%an%n%C(cyan) %ad'
@YOCKOW
YOCKOW / symbolic-install
Last active November 28, 2022 03:44
Install files symbolically...
#!/usr/bin/env ruby
=begin
sym-install.rb
©︎ 2017, 2022 YOCKOW.
Licensed under MIT License.
=end
@YOCKOW
YOCKOW / TimeSpecification.swift
Last active March 25, 2024 17:41
Get `timespec` in Swift. It is no longer necessary to implement clock_gettime() even on OS X.
/* *** *** *** *** *** *** *** *** *** *** *** *** ***
Now, migrated to GitHub:
https://github.com/YOCKOW/SwiftTimeSpecification
This gist will not be updated.
*** *** *** *** *** *** *** *** *** *** *** *** *** */
/* TimeSpecification.swift
* © 2016 YOCKOW.
* You can do whatever you want with this code AT YOUR OWN RISK.
*/