- ase.shを実行する
- AssuranceScriptEditor/client/config.php にURLを記入
- サーバ側にMySQLの設定
$ mysql -u root -p
mysql> GRANT ALL PRIVILEGES ON *.* TO ユーザー名@localhost IDENTIFIED BY 'パスワード';
#include <stdio.h> | |
#include <stdlib.h> | |
#include <emscripten.h> | |
void onLoadCallback(const char *filename) { | |
FILE *fp; | |
char s[256]; | |
if((fp = fopen(filename, "r")) == NULL) { | |
printf("file open error!!\n"); |
int main() { | |
int i = 0 | |
+ 1 | |
+ 2 | |
for int a = 1 a < 3 a++ { | |
int j = i | |
} | |
} |
def f(n): | |
"""(<int>|<str>) -> (<int>|<str>)""" | |
return n #(<int>|<str>) | |
def g(c, d): | |
"""<str> -> <int> -> <str>""" | |
return (c * d) #<str> | |
print f(1) #(<int>|<str>) -> (<int>|<str>) | |
print f('a') #(<int>|<str>) -> (<int>|<str>) |
join :: [String] -> String | |
join [] = "" | |
join (x:[]) = x | |
join (x:xs) = x ++ ", " ++ join xs | |
main = do | |
print $ join ["hoge", "fuga", "piyo"] |
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 |
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 |
#!/bin/bash | |
grep any -r *.ts | sed -e 's/:.*$//g' | uniq -c |
#!/bin/bash | |
ifconfig eth0 |grep inet | head -1 | awk '{print $1}' | sed -e 's/.*://' |
'use strict'; | |
function quickSort(arr) { | |
if (arr.length === 0) { | |
return arr; | |
} else { | |
var p = arr[0], | |
xs = arr.slice(1); | |
var gts = [], | |
lts = [], |