Skip to content

Instantly share code, notes, and snippets.

Vina Melody vinamelody

Block or report user

Report or block vinamelody

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
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.
View ruby_print_multiple3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.