Skip to content

Instantly share code, notes, and snippets.

View tehnerd's full-sized avatar

Nikita V. Shirokov tehnerd

  • Dropbox
  • behind the terminal
View GitHub Profile
@tehnerd
tehnerd / cgo.md
Created July 7, 2019 04:22 — forked from zchee/cgo.md
cgo convert list

See also, http://libraryofalexandria.io/cgo/

Using Go cgo

cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.

So, Here collect materials.

@tehnerd
tehnerd / working_with_dates.swift
Last active September 17, 2015 14:19 — forked from benjamintanweihao/working_with_dates.swift
Working with Dates, Calendars in Swift.
// Playground - noun: a place where people can play
import UIKit
// Setup the calendar object
let calendar = NSCalendar.currentCalendar()
// Set up date object
let date = NSDate()