I hereby claim:
- I am metaphox on github.
- I am metaphox (https://keybase.io/metaphox) on keybase.
- I have a public key whose fingerprint is E00C 8C03 2EA9 C578 6609 299F 3A7C 046C 3455 786F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
@keyframes shake { | |
0% {transform: translateX(0);} | |
12.5% {transform: translateX(-6px) rotateY(-5deg)} | |
37.5% {transform: translateX(5px) rotateY(4deg)} | |
62.5% {transform: translateX(-3px) rotateY(-2deg)} | |
87.5% {transform: translateX(2px) rotateY(1deg)} | |
100% {transform: translateX(0)} | |
} | |
.shake { |
import javafx.application.Application; | |
import javafx.collections.*; | |
import javafx.geometry.Pos; | |
import javafx.scene.*; | |
import javafx.scene.chart.*; | |
import javafx.scene.chart.XYChart; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.scene.shape.Line; | |
import javafx.stage.Stage; |
(function(){ | |
var colors = [ | |
"#F0F0F0", "#AAAAAA", "#888888", "#333333", | |
"#B00B1E", "#003366", "#00BB33", "#00FF00" | |
]; | |
$('#zh-question-answer-wrap .voters a').each(function(){ | |
var self = $(this); | |
$.get("http://www.zhihu.com/node/MemberProfileCardV2?params=" + | |
encodeURIComponent('{"url_token":"' + | |
self.attr('data-tip').split("$")[2] + '"}' |
styleSheetRaw = null; | |
fileSystem = null; | |
imgDataURIs = {}; | |
imgBgStyle = $('#img-bg-style'); | |
bgStyleUrl = imgBgStyle.attr('href'); | |
function useLocalImages(msg){ | |
console.log(msg); |
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
. Bundle 'gmarik/vundle' | |
. Bundle 'MarcWeber/vim-addon-mw-utils' | |
"various utils such as caching interpreted contents of files or advanced glob like things | |
. Bundle 'tomtom/tlib_vim' | |
"provides some utility functions |
after project creation, in XCode expand "CordovaLib.xcodeproj" and open "Classes/Cleaver/CDVViewController.m" then edit the code : replace
NSString* startFilePath = [self pathForResource:self.startPage];
by
NSString* startFilePath = self.startPage;