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
import React from 'react'; | |
import { View, ViewProps, TouchableOpacity, Text, Keyboard } from 'react-native' | |
import { InputAccessoryView} from './InputAccessoryView' | |
import styled from 'styled-components' | |
const Inner = styled(View)` | |
align-items: flex-end; | |
padding: 12px 16px; | |
background: #f2f2f2; | |
`; |
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
// Bookmarklet | |
javascript:(function(){var d=document,b=d.body;if(d.designMode=='off'){b.contentEditable=true;d.designMode='on';}else{b.contentEditable=false;d.designMode='off';}void 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
// Bookmarklet min | |
javascript:(function(){var e=window.open("","autoloader","width=350, height=450px, location=no");if(e.autoload)e.foucus();else{var t=e.document,n=t.createElement("div"),r=t.createElement("script");n.innerHTML='<style>#main{width:300px;margin:auto}#drop{border:3px solid #555;background:#CCC;height:150px;margin-top:5px}#list{border:dashed #AAA;border-width:1px 0px;margin-top:10px;padding:5px;height:150px;overflow:auto;cursor:default}li:hover{color:#F00}p{text-align:center}</style><div id="main"><input id="file" type="file"><div id="drop"></div><div id="list"><ul></ul></div><p>Copyrigh 2013 AutoLoader Geekz</p></div>',r.innerHTML='(function(e,t){var n=e.autoload,r=function(e){return t.querySelector(e)};autoload={},autoload.FPS=250,autoload.observer={list:{},getFiles:function(e){return e.target.files?e.target.files:e.dataTransfer.files},addFiles:function(e){var t=this.getFiles(e);for(var n=0;n<t.length;n++)this.enable(t[n])},checkPoint:function(e){var t;try{t=e.lastModifiedDate.toString()}catch |
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
<?for($i=0;$i<100;){$s='';++$i%3>0?:$s='Fizz';$i%5>0?:$s.='Buzz';$s?:$s=$i;echo$s;} |
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
<?php | |
class Benchmark { | |
public $time; | |
public function Start () { | |
$this->time = microtime(true); | |
} | |
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
<?php | |
/** | |
* 変数を展開する関数 | |
* @author R.SkuLL | |
* 02 March 2012 | |
**/ | |
function d ($val) { | |
echo '<pre style="border:solid #F00 1px;backgrund:#FFF;color:#000;position:absolute">'; | |
print_r($val); | |
echo '</pre>'; |
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 getRequest () { | |
var parm = [] | |
var parms = location.search.substring(1).split('&'); | |
for (i=0;i<parms.length;i++) { | |
var rep = parms[i].split('='); | |
parm[rep[0]] = rep[1]; | |
} | |
return parm; | |
} |
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
//http://rskull.hateblo.jp/entry/2012/03/27/223151 | |
(function (d) { | |
var title = d.title; | |
var ref = d.referrer; | |
var url = location.href; | |
window.open('http://twitter.com/intent/tweet?text=[ '+encodeURI(title)+' ]?url='+url+'&original_referer='+ref, 'win','height=350,width=350'); | |
})(document); |
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
<?php | |
$token = md5(uniqid(mt_rand(), true)); |
NewerOlder