I hereby claim:
- I am krofdrakula on github.
- I am krofdrakula (https://keybase.io/krofdrakula) on keybase.
- I have a public key whose fingerprint is EA86 6961 FFB8 0B24 F3A9 D194 F659 6008 D8F2 CFCA
To claim this, I am signing this object:
// shorter vars for brevity | |
var a = image.naturalWidth, | |
b = image.naturalHeight, | |
c = maxImageWidth, | |
d = maxImageHeight, | |
r1 = a / b, // image aspect ratio | |
r2 = c / d; // container aspect ratio | |
// determine which dimension is the limiting factor | |
// according to the aspect ratio comparison and |
DBBuild.php merge=merge-and-verify |
I hereby claim:
To claim this, I am signing this object:
[alias] | |
history = log --graph --pretty=format:'%C(yellow)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%Creset: %s' |
window.myVariable
– it should be set to 3 (like it says in the iframe content)window.frames[1].myVariable
outputs 3This shows that the dev console breaks after reloading the page with the dev console open. The problem does resolve if you close and re-open the dev console.
// requestAnimationFrame implementation as a custom function to allow blacklisting | |
// devices with broken implementation. Currently needs timer-based fallbacks for iOS 6.x for | |
// code running inside <iframe> elements. | |
// Uses polyfills based on http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
(function() { | |
var blacklisted = /iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent), | |
lastTime = 0, | |
nativeRequest = window.requestAnimationFrame || null, | |
nativeCancel = window.cancelAnimationFrame || null; |
Vprašanje:
Zdravo,
Sem rekel, da se bom kar na tebe obrnil, ker si mi zdiš najbolj primeren za to vprašanje.
Sem mal pregledal zadevo in sedaj imam sledeči spisek:
- Ruby
- Java
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
history = log --graph --pretty=format:'%C(yellow)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%Creset: %s' | |
update = !git stash && git fetch && git rebase && git stash pop |
Declare a 2D texture with integer coordinates:
______w_______
|(0,0) |
| |
| |h
| |
|_____(w-1,h-1)|