A Pen by Yuya Tanaka on CodePen.
This file contains 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 | |
$now = microtime(); | |
echo $now . "\n"; | |
for ( $i = 0; $i < 1024; $i++ ) | |
{ | |
$now = hash('sha256', $now ); | |
} | |
echo $now . "\n" |
This file contains 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 goPoll(mode, no) { | |
j.ajax({ | |
type: "POST", | |
url: "ajax/goPoll.nc", | |
data: "selectNo=" + no + "&mode=" + mode, | |
success: function(data) { | |
var jsonData = eval('(' + data + ')'); | |
if (jsonData.isSysError) { | |
// alert(jsonData.sysErrorDesc); | |
return; |
This file contains 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
<html> | |
<body> | |
<!-- VUE CONTROL AREA 2 --> | |
<div id="vue-control-area2"> | |
<h1>Get Weater Api</h1> | |
<button v-on:click="get_list()">Get List</button> | |
<ul> | |
<li v-for="l in list">Name: {{l.name}} | Status : {{l.status}}</li> | |
</ul> | |
</div> |
This file contains 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
<html> | |
<body> | |
<!-- VUE CONTROL AREA 1 --> | |
<div id="vue-control-area1"> | |
<h1>{{ title }}</h1> | |
<input type="text" v-model="message"> | |
<p>{{ message }}</p> | |
<button v-on:click="push_this('Pushed Button!!')">Push This!!</button> | |
</div> |
This file contains 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
$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
==> default: Forwarding ports... | |
default: 80 => 8080 (adapter 1) | |
default: 22 => 2222 (adapter 1) | |
There was an error while executing `VBoxManage`, a CLI used by Vagrant |
This file contains 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
$ nmap www.hogehoge.co.jp | |
Starting Nmap 6.47 ( http://nmap.org ) at 2015-04-23 17:46 JST | |
Nmap scan report for www.hogehoge.co.jp (xxx.xxx.xxx.xxx) | |
Host is up (0.030s latency). | |
Not shown: 998 filtered ports | |
PORT STATE SERVICE | |
80/tcp open http | |
2222/tcp open EtherNet/IP-1 |
This file contains 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
$ sudo apt-get update | |
$ sudo apt-get upgrade |
This file contains 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
- alpha | |
- bravo | |
- charlie | |
解釈→ ['alpha', 'bravo', 'charlie'] |
This file contains 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 | |
system('cal'); |
NewerOlder