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
javascript: (function(){var t,a,b,c;t=prompt('表示するテキスト');if(t===null)return false;a=document.createElement('div');a.draggable=true;a.style='background-color:rgba(255,255,255,0.5);border:1px solid rgba(0,0,0,0.5);position:fixed;top:0;left:0;overflow:auto;resize:both;';b=document.getElementsByTagName('body')[0];c=document.createElement('label');c.innerHTML='<input type="checkbox">'+t;c.style='display:block;padding:.5em';a.ondragend=function(e){a.style.top=Math.max(0,e.clientY-32)+'px';a.style.left=Math.max(0,e.clientX)+'px';};a.ondrag=b.ondrop=function(e){e.preventDefault();return false;};a.appendChild(c);b.appendChild(a);})(); |
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
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
before_script: | |
- apt-get update -y | |
- apt-get install rsync openssh-client -y | |
- npm install |
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
javascript:(function(){var d=document,a=d.createElement("link");a.rel="apple-touch-icon";a.href="http://upload.wikimedia.org/wikipedia/commons/6/60/Japanese_Hiragana_kyokashotai_MI.png";d.getElementsByTagName('head').item(0).appendChild(a)})(); |
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 DateTimeImmutable extends DateTime | |
{ | |
protected static $immutable = true; | |
public function add($interval) | |
{ | |
return $this->call('add', func_get_args()); | |
} |
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
var getRandomName = function() { | |
// ゥは使わない気がするので一旦外す | |
var chars = 'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンヴガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポァィェォッャュョー'.split(''), | |
prefixes1 = 'ウクグツフブプヴ'.split(''), | |
prefixes2 = 'ツフブプヴ'.split(''), | |
prefixes3 = 'キシチニヒミリギジヂビピ'.split(''), | |
length = Math.max(Math.floor(Math.random() * 9), 2), | |
name = ''; | |
while (name.length < length) { |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<style type="text/css"> | |
body { | |
font-size: 22px; | |
} |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<title>Twitterもどき</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> | |
</head> | |
<body ng-app ng-init="tweets = []; t='';"> | |
<form name="tweetForm"> | |
<textarea required="required" name="t" ng-model="t" ng-maxlength="140"></textarea> | |
<span>{{t.length}} / 140</span> |