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
# bakefileの入手先 | |
$bakefileUrl = "https://github.com/vslavik/bakefile/releases/download/v1.2.5.1/bakefile-1.2.5.1_beta-win.zip" | |
# wxWidgetsの入手先 | |
$wxUrl = "https://github.com/wxWidgets/wxWidgets/archive/WX_3_0_2.zip" | |
# カレントディレクトリなど | |
$parentPath = (Split-Path $script:myInvocation.MyCommand.path -parent) | |
$jcBklPath = "$parentPath\janeclone.bkl" | |
$bklZipPath = "$parentPath\bakefile.zip" | |
$bklExePath = "$parentPath\bakefile-1.2.5.1_beta-win\bkl.exe" |
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
# http://qiita.com/kmr_hryk/items/5dfe87c0035887cbd8e4 | |
function psunzip { | |
#エクスプローラーのオブジェクトを作成する | |
$Expcom = New-Object -ComObject Shell.Application | |
#第一引数のzipファイルパスを登録 | |
$zipFile = $Expcom.NameSpace($args[0]) | |
#第二引数の出力先ディレクトリパスを登録 | |
$tgtDir = $Expcom.NameSpace($args[1]) |
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
#!/bin/bash +x | |
# | |
# ※先に、以下のバイナリを $ tar xvf *** -C /usr で展開する | |
# i686-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz | |
# x86_64-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz | |
# | |
MINGW32_CONF="--prefix=/usr/mingw32/i686-w64-mingw32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32" | |
MINGW64_CONF="--prefix=/usr/mingw64/x86_64-w64-mingw32 --build=x86_64-unknown-linux-gnu --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32" | |
MINGW32_SRC=/usr/local/src/mingw32 |
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
1 Generated at 2015-03-31 21:19:29 +0900 | |
2 Chef::Exceptions::PrivateKeyMissing: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests! | |
3 /usr/lib/ruby/vendor_ruby/chef/http/authenticator.rb:78:in `rescue in load_signing_key' | |
4 /usr/lib/ruby/vendor_ruby/chef/http/authenticator.rb:68:in `load_signing_key' | |
5 /usr/lib/ruby/vendor_ruby/chef/http/authenticator.rb:38:in `initialize' | |
6 /usr/lib/ruby/vendor_ruby/chef/rest.rb:66:in `new' | |
7 /usr/lib/ruby/vendor_ruby/chef/rest.rb:66:in `initialize' | |
8 /usr/lib/ruby/vendor_ruby/chef/api_client/registration.rb:125:in `new' | |
9 /usr/lib/ruby/vendor_ruby/chef/api_client/registration.rb:125:in `http_api' | |
10 /usr/lib/ruby/vendor_ruby/chef/api_client/registration.rb:92:in `create' |
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
# chef-foltia | |
アニメ録画用ソフトウェアfoltiaのインストール用cookbook | |
# Install with Vagrant | |
``` | |
$ vagrant plugin install vagrant-berkshelf | |
$ vagrant plugin install vagrant-omnibus | |
$ cd chef-foltia | |
$ vagrant up |
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
#include <iostream> | |
#include <fstream> | |
#include <iterator> | |
#include <map> | |
#include <algorithm> | |
#include <functional> | |
// from: http://blog.sarabande.jp/post/64272610753 | |
size_t utf8_strlen(std::string str) | |
{ |
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
SLF4J Bug With Scalatra #1256 は | |
https://github.com/sbt/sbt/issues/1256 | |
おそらくxsbt-scalate-generateの問題 | |
https://github.com/backchatio/xsbt-scalate-generate | |
SLF4Jのライブラリを依存関係に追加してやる必要がある | |
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
#!/bin/bash | |
mkdir -p ~/.local/share/fonts/ | |
cd ~/.local/share/fonts/ | |
wget http://sicklylife.at-ninja.jp/memo/fake_meiryo.zip | |
unzip ./fake_meiryo.zip | |
rm ./fake_meiryo.zip | |
fc-cache -fv |
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 reference source roots: Set() | |
Using target directory: /home/hiroyuki/git/p2pScalaProto/target/scala-2.10/classes | |
Using test target directory: /home/hiroyuki/git/p2pScalaProto/target/classes | |
Using formatting preferences: Map('doubleIndentClassDeclaration -> true) | |
Configuration Format Error: Expecting a list of string values at key: :compiler-args | |
java.lang.NoSuchMethodError: scala.Predef$ArrowAssoc$.extension$$minus$greater(Ljava/lang/Object;Ljava/lang/Object;)Lscala/Tuple2; | |
at scalariform.formatter.preferences.FormattingPreferences.setPreference(IFormattingPreferences.scala:36) | |
at org.ensime.config.ProjectConfig$$anonfun$8.apply(ProjectConfig.scala:808) | |
at org.ensime.config.ProjectConfig$$anonfun$8.apply(ProjectConfig.scala:797) | |
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144) |
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
/* | |
Copyright (c) 2006 Tim Kosse | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
of the Software, and to permit persons to whom the Software is furnished to do | |
so, subject to the following conditions: |