VirtualBoxだとグラフィック周りが不安定なの。
-
VMにXubuntuインストール
- メモリ 4GB
- HDD てきとうに
- CPU てきとうに
package main | |
import( | |
"fmt" | |
"path/filepath" | |
"os" | |
) | |
var handler filepath.WalkFunc = func(path string, info os.FileInfo, err error) error { | |
t := new(string) |
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a | |
; semicolon, such as this one, are comments. They are not executed. | |
; This script has a special filename and path because it is automatically | |
; launched when you run the program directly. Also, any text file whose | |
; name ends in .ahk is associated with the program, which means that it | |
; can be launched simply by double-clicking it. You can have as many .ahk | |
; files as you want, located in any folder. You can also run more than | |
; one .ahk file simultaneously and each will get its own tray icon. |
package main | |
import ( | |
"flag" | |
"log" | |
"os" | |
"runtime" | |
) | |
var debug debugT = false |
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
pool := make(chan bool, 3) |
#!/bin/bash | |
declare -A targets | |
targets["darwin"]="386 arm64 arm" | |
targets["linux"]="386 arm64" | |
targets["windows"]="386 arm64" | |
for os in ${!targets[@]}; do | |
OIFS="$IFS"; IFS=' ' | |
archs=(${targets[$os]}) |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Usage: | |
# $ vagrant up | |
# $ vagrant login | |
# $ vagrant share | |
# | |
# access to http://<shared_name>.vagrantshare.com |
-*- mode: ruby -*- | |
# vi: set ft=ruby : | |
HTTP_PORT = 8080 | |
Vagrant.configure(2) do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network :forwarded_port, guest: HTTP_PORT, host: HTTP_PORT |
filter.Add(func(s) { | |
return strings.ToLower(s) | |
}, 10) |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.provision "shell", inline: <<-EOS | |
apt-get update | |
apt-get install -y stow libxrender-dev fontconfig otf-ipafont-gothic otf-ipafont-mincho |