Skip to content

Instantly share code, notes, and snippets.

Avatar

Vina Melody vinamelody

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am vinamelody on github.
  • I am vinamelody (https://keybase.io/vinamelody) on keybase.
  • I have a public key ASDPNNd1Ah9_Tdk5f_njIWTFLXy0LyAZ5hxUfNx6EBgChwo

To claim this, I am signing this object:

View korg-ps60-setup.md

Keyboard Setup

The following pictures shows the recommended keyboard setup for Kord PS60 from left to right.

Performance no. 5

image

Piano: No 07 Solo Piano

image

View Mou Fresh Air+.style
editor
foreground: 000000
background: ffffff
caret: 000000
editor-selection
foreground: ffffff
background: ff4f92
H1
@vinamelody
vinamelody / Github2.css
Created Dec 13, 2016
Macdown Github2 for Rendering (folder Style)
View Github2.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
View .gitconfig
[alias]
d = diff
br = branch --all
ci = commit
co = checkout
dh = diff HEAD
lg = log --graph --pretty=format:'%Cred%h..%Creset - %s %Cgreen(%cr)%Creset - %an' --abbrev-commit --date=relative
lgn = log --pretty=oneline --abbrev-commit --show-notes=*
mnff = merge --no-ff
rh = reset --soft HEAD^
@vinamelody
vinamelody / takephoto.swift
Created Jul 7, 2016
Swift: Take photo button action
View takephoto.swift
@IBAction func takePhoto(sender: UIButton) {
let imagePicker: UIImagePickerController! = UIImagePickerController()
imagePicker.delegate = self
if (UIImagePickerController.isSourceTypeAvailable(.Camera)) {
if UIImagePickerController.availableCaptureModesForCameraDevice(.Front) != nil {
imagePicker.allowsEditing = false
imagePicker.sourceType = .Camera
imagePicker.cameraCaptureMode = .Photo
@vinamelody
vinamelody / firebase-query.swift
Created Jul 7, 2016
Swift: Query one last entry from Firebase, with completion handler
View firebase-query.swift
func getTheLastGuestKey(completionHandler: (Bool)-> ()) {
self.guestRef.queryOrderedByKey().queryLimitedToLast(1).observeSingleEventOfType(.Value, withBlock: {(snapshot) in
for guest in snapshot.children {
let guestSnapshot = snapshot.childSnapshotForPath(guest.key)
var lastGuestCheckintime: String! = ""
if let result_checkin = guestSnapshot.value?["checkintime"] as? NSNumber {
lastGuestCheckintime = "\(result_checkin)"
}
View Ruby is strongly typed.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ruby_is_prime.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View flatten_array.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.