I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
document.body.onpaste=function(e){ | |
var pasteText; | |
pasteText = e.clipboardData.getData("text/plain"); | |
pasteText = pasteText.replace("console","");//text replace | |
document.getElementById("").value = pasteText; | |
}; |
"use strict"; | |
// user settings | |
var G_ID = "google_id", | |
G_PASS = "google_pass", | |
Y_ID = "y_id", | |
Y_PASS = "y_pass"; | |
// wait setting |
'use strict'; | |
// generated on 2014-06-18 using generator-gulp-webapp 0.1.0 | |
var gulp = require('gulp'); | |
// load plugins | |
var $ = require('gulp-load-plugins')(); | |
gulp.task('styles', function () { | |
return gulp.src('app/styles/main.scss') |
var queue; | |
window.addEventListener('resize', function() { | |
clearTimeout( queue ); | |
queue = setTimeout(function() { | |
setResize(); | |
}, 250 ); |
I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { | |
// no easing, no acceleration | |
linear: function (t) { return t }, | |
// accelerating from zero velocity | |
easeInQuad: function (t) { return t*t }, | |
// decelerating to zero velocity |
shaffle = function(arr){ | |
var n = arr.length; | |
for(var i = n - 1; i > 0; i--) { | |
var j = Math.floor(Math.random() * (i + 1)); | |
var tmp = arr[i]; | |
arr[i] = arr[j]; | |
arr[j] = tmp; | |
} |
var y = window.scrollY || document.body.scrollTop || document.documentElement.scrollTop |
shop = {}; | |
shop.chara ={ | |
'elmo':{ | |
'name':'えるも', | |
'item':'あいす', | |
'itemList':{ | |
'ice':{ | |
'name':'アイス', |
shop = {}; | |
shop.chara ={ | |
'elmo':{ | |
'name':'えるも', | |
'item':'あいす', | |
'itemList':{ | |
'ice':{ | |
'name':'アイス', |