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
A:280; /*Tread: distance of right wheel and left wheel (length of long side of trapeziod link) */ | |
B:80; /* Link rod length of Hypotenuse of trapezoid*/ | |
L:480; /*Wheel base: distance of front and rear wheel */ | |
Hl:0.2*%pi; /*Optimization point: Hl is angle of left Wheel */ | |
/* | |
Link Shape |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class WindowCamCont : MonoBehaviour { | |
public Vector3 eyePos = new Vector3(0, 0, 0); | |
public Camera targetCamera; | |
public float displayWidth = 0.29f; | |
public float displayHeight = 0.16f; | |
public float nearPlane = 0; |
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
#!/usr/local/bin/ruby | |
# -*- coding: utf-8 -*- | |
$width= 1.8 #配線太さ(mm) | |
$T=18.0 #銅箔厚み(um) | |
$cu=1.72E-08 #銅電気伝導度 | |
#縦方向サイズ関連 | |
$step= $width * 2 + 1.6 #行って帰ってくるまでに縦方向に動く段差(配線ピッチの2倍) | |
$start=100 #描画開始y座標 |
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 | |
header('Content-type: text/plain; charset=utf-8'); | |
$uploaddir = '/home/akira/public_html/up/'; | |
$id= uniqid(); | |
if(isset($_POST['name']) && (0==preg_match("/[^0-9a-zA-Z]/",$_POST['name']) )){ | |
$id=$_POST['name']; | |
} | |
$uploadfile = $uploaddir .$id.".bin"; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Oct 13 14:07:38 2016 | |
@author: a-noda | |
""" | |
import numpy as np | |
data=np.random.randn(3*10000,1000).astype(np.float32) | |
y=0 |
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 install build-essential | |
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev | |
#Need libpython, you have to build python with enable-shared | |
ONFIGURE_OPTS="--enable-shared" pyenv install 3.6.4 | |
pyenv local 3.6.4 | |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Sep 27 02:01:52 2016 | |
@author: a-noda | |
""" | |
import numpy as np | |
from chainer.dataset import iterator | |
class ClassRandomIterator(iterator.Iterator): | |
''' |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Sep 27 02:01:52 2016 | |
@author: a-noda | |
""" | |
import numpy as np | |
from chainer.dataset import iterator | |
class BlanceIterator(iterator.Iterator): | |
''' |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Jun 8 10:53:59 2018 | |
@author: akira | |
""" | |
""" | |
from maxima |
OlderNewer