参考文献: http://www.dragonflybsd.org/docs/newhandbook/Upgrading/
# cd /usr
# time make src-create
53.213u 16.540s 11:35.97 10.0% 803+161k 272+440io 42pf+0w
# cd /usr/src
FE覚醒日記 | |
========= | |
ゲーム内総プレイ時間 2:18:35 | |
## 断章 | |
ダブルで一発 | |
## 序章 |
import groovy.swing.SwingBuilder | |
import javax.swing.* | |
def swingBuilder = new SwingBuilder() | |
swingBuilder.frame(title:"Hello!", | |
defaultCloseOperation:WindowConstants.EXIT_ON_CLOSE, | |
pack: true, | |
locationRelativeTo: null, | |
show: true) { |
<?php | |
class Hello | |
{ | |
public function getName() { | |
return __CLASS__; | |
} | |
public function greet() { | |
echo __FILE__; | |
return 'Hello, world!'; | |
} |
$ sudo apt-get instal tomcat7 tomcat7-admin | |
$ sudo vi /var/lib/tomcat7/conf/server.xml | |
72 <Connector port="8080" protocol="HTTP/1.1" | |
$ sudo vi /var/lib/tomcat7/conf/tomcat-users.xml | |
36 <user username="hoge" password="fuga" roles="manager-script"/> | |
$ sudo service tomcat7 restart | |
$ grails create-app niseapp | |
$ cd niseapp | |
$ vim grails-app/conf/Config.groovy | |
93 tomcat.deploy.username="hoge" |
参考文献: http://www.dragonflybsd.org/docs/newhandbook/Upgrading/
# cd /usr
# time make src-create
53.213u 16.540s 11:35.97 10.0% 803+161k 272+440io 42pf+0w
# cd /usr/src
DocumentRoot /var/www/%0/public_html | |
$ cd /var/www | |
$ mkdir aaa | |
$ cd aaa | |
$ git clone git://github.com/webpy/webpy.git /tmp/webpy | |
$ mv /tmp/webpi/web . | |
$ mkdir public_html | |
$ vim public_html/index.py | |
import sys |
package main | |
import ( | |
"crypto/tls" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
func main() { |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
binmode STDOUT, ":utf8"; | |
use Config::Pit; | |
use Redmine::API; | |
use Encode; |
``` | |
# cd /usr/pkgsrc/lang/ruby193 | |
# bmake install clean ; echo $? | |
1 | |
``` | |
エラー原因 | |
``` | |
===> Install binary package of libffi-3.0.11 | |
pkg_add: A different version of libffi-3.0.11 is already installed: libffi-3.0.9nb1 |
find . -type d -name i18n | parallel find {} -type f -regex '.\*.xml' | parallel cat | grep -E ' *<source' -A 1 | sed -e 's/<[^>]*>//g' | sed -e 's/^ *//g' > /tmp/messages.ja.xml.tmp | |
cat /tmp/messages.ja.xml.tmp | sed -n '1~3p' > /tmp/messages.ja.xml.tmp.src | |
cat /tmp/messages.ja.xml.tmp | sed -n '2~3p' > /tmp/messages.ja.xml.tmp.tar | |
paste /tmp/messages.ja.xml.tmp.src /tmp/messages.ja.xml.tmp.tar |