- ase.shを実行する
- AssuranceScriptEditor/client/config.php にURLを記入
- サーバ側にMySQLの設定
$ mysql -u root -p
mysql> GRANT ALL PRIVILEGES ON *.* TO ユーザー名@localhost IDENTIFIED BY 'パスワード';
| #!/bin/sh | |
| xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync | |
| xrandr --addmode Virtual1 1600x900_60.00 | |
| xrandr --output Virtual1 --mode 1600x900_60.00 |
| #!/bin/bash | |
| cd $HOME | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo apt-get install vim tmux zsh build-essential cmake cmake-curses-gui python-setuptools git tig subversion clang llvm emscripten default-jdk -y | |
| # server | |
| #sudo tasksel install lamp-server openssh-server | |
| # Latex(for 12.10 or 13.04) | |
| #sudo apt-get install texlive texlive-lang-cjk auctex xdvik-ja |
| $ () -> | |
| ctx = document.getElementById("demo").getContext("2d") | |
| ctx.strokeStyle = "#000" | |
| ctx.fillStyle = "#000" | |
| for x in [0..8] | |
| ctx.strokeRect x*80,0,80,280 | |
| for x in [60,140,300,380,460] | |
| ctx.fillRect x,0,40,170 | |
| player = new Simulator() | |
| $("#play").click () -> |
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| if ( ! function_exists('send_post')) | |
| { | |
| function send_post($data,$url) | |
| { | |
| $header = array( | |
| "Content-Type: application/x-www-form-urlencoded", | |
| "Content-Length: ".strlen($data) | |
| ); |
| 'use strict'; | |
| function quickSort(arr) { | |
| if (arr.length === 0) { | |
| return arr; | |
| } else { | |
| var p = arr[0], | |
| xs = arr.slice(1); | |
| var gts = [], | |
| lts = [], |
| #!/bin/bash | |
| ifconfig eth0 |grep inet | head -1 | awk '{print $1}' | sed -e 's/.*://' |
| #!/bin/bash | |
| grep any -r *.ts | sed -e 's/:.*$//g' | uniq -c |
| from fabric.api import local, env, run, sudo, cd | |
| from fabric.decorators import task | |
| import time | |
| from datetime import date | |
| env.use_ssh_config = True | |
| env.user = 'FIXME' | |
| env.password = 'FIXME' | |
| @task |
| from fabric.api import local, env, run, sudo, cd | |
| from fabric.decorators import task | |
| import time | |
| from datetime import date | |
| env.use_ssh_config = True | |
| env.user = '******' | |
| env.password = '******' | |
| @task |