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:
@import 'gitbook/fonts.css'; | |
/*by H16nning*/ | |
:root { | |
--bg-color: white; | |
--side-bar-bg-color: #f5f7f9; | |
--control-text-color: #3b454e; | |
--primary-color: rgb(26, 168, 139); | |
--primary-btn-border-color: rgb(26, 168, 139); |
I hereby claim:
To claim this, I am signing this object:
editor | |
foreground: 000000 | |
background: ffffff | |
caret: 000000 | |
editor-selection | |
foreground: ffffff | |
background: ff4f92 | |
H1 |
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 { |
[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^ |
@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 |
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)" | |
} |