Skip to content

Instantly share code, notes, and snippets.

View miyataken999's full-sized avatar

kenichi miyata miyataken999

View GitHub Profile
https://iratawa.com/python-docker-mysqlclient-install/
@miyataken999
miyataken999 / index.html
Created September 15, 2018 21:34
Tic Tac Toe
<div id="errors" style="
background: #c00;
color: #fff;
display: none;
margin: -20px -20px 20px;
padding: 20px;
white-space: pre-wrap;
"></div>
<div id="root"></div>
<script>
@miyataken999
miyataken999 / file0.txt
Created September 14, 2018 00:55
processmakerのAPIをCLASPとCLOUD9で作成 ref: https://qiita.com/miyataken999/items/1bab0bea1170c48677e1
"custom-types": {
"json()": {
"^searchresults": "c9search",
"settings": "javascript",
"gs": "javascript",
"ts": "javascript"
}
},
BEGIN
set @word = casea;
set @cmd = concat('import websocket
if __name__ == "__main__":
websocket.enableTrace(True)
ws = websocket.create_connection("wss://***.***.***.***:9000")
ws.send("',@word,'")
result = ws.recv()
@miyataken999
miyataken999 / index.haml
Created September 9, 2018 16:27
threejs parallax
#Wrapper

Chill the lion

WebGL experiment using ThreeJS. Move the fan and press to make wind, the lion will surely appreciate.

A Pen by Karim Maaloul on CodePen.

License.

@miyataken999
miyataken999 / index.html
Created September 9, 2018 16:07
VueJS Search input with debounce
<h1 class="text-center">VueJS Search Input with Debounce</h1>
<p class="lead text-muted text-center">Using lodash _.debounce with a 1s delay</p>
<div id="app">
<my-list/>
</div>
@miyataken999
miyataken999 / index.html
Created September 9, 2018 16:06
VueJS Header responsive & Loader
<div id="app">
<link href="https://fonts.googleapis.com/css?family=Roboto|Poppins" rel="stylesheet">
<meta name="viewport" content="width=device-width">
<header>
<div class="wrap">
<div id="hamburger" v-on:click="display_menu()">
<span></span>
<span></span>
<span></span>
</div>
GIST
@miyataken999
miyataken999 / script.js
Created August 26, 2018 09:25
THREEJS: Update texture on click
var scene = new THREE.Scene();
scene.background = new THREE.Color( 0xcccccc );
var camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 5;
camera.position.y = 5;
camera.position.x = 5;
camera.lookAt(new THREE.Vector3(0,0,0)); // Make the camera look at the point of origin