This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ cineteam-models git:(master)>geocode --json "Cracow, Poland" | |
{ | |
"results" : [ | |
{ | |
"address_components" : [ | |
{ | |
"long_name" : "Kraków", | |
"short_name" : "Kraków", | |
"types" : [ "locality", "political" ] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.286 | |
APP_DATA segment | |
; arguments | |
Arguments db 200 dup(?) | |
ArgsLengths db 128 dup(?) | |
; encrypt/decrypt mode | |
Mode db 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Martin Matusiak <[email protected]> | |
# Licensed under the GNU Public License, version 3. | |
backup_dir=/backup | |
num_backups=1 | |
verbose="$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; pusha & popa | |
.286 | |
data segment | |
; arguments string without white spaces | |
args db 128 DUP(?), '$' | |
; length of arguments string | |
args_length db 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; pusha & popa | |
.286 | |
data segment | |
; arguments string without white spaces | |
args db 128 DUP(?), '$' | |
; length of arguments string | |
args_length db 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.notification_center.observe UIKeyboardWillShowNotification do |notification| | |
UIView.beginAnimations(nil, context:nil) | |
UIView.setAnimationDuration(0.25) | |
frame = @save.frame | |
frame.origin.y = self.view.frame.size.height - 255.0 | |
frame.size.height = 35 | |
@save.frame = frame | |
frame = @delete.frame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public double pole(){ | |
double wyznacznik = | |
(punkt2.getX() - punkt1.getX()) * (punkt3.getY() - punkt1.getY()) | |
+ (punkt3.getX() - punkt1.getX()) * (punkt2.getY() - punkt1.getY()) | |
- (punkt2.getY() - punkt1.getY()) * (punkt3.getX() - punkt1.getX()) | |
- (punkt3.getY() - punkt1.getY()) * (punkt2.getX() - punkt1.getX()); | |
return 0.5*Math.abs( wyznacznik ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "wow" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function() { | |
console.log "wow"l | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function() { | |
console.log "wow"l | |
} |