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
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 | |
Error occurred during initialization of VM | |
java.nio.charset.IllegalCharsetNameException: | |
at java.nio.charset.Charset.checkName(Charset.java:273) | |
at java.nio.charset.Charset.lookup2(Charset.java:458) | |
at java.nio.charset.Charset.lookup(Charset.java:437) | |
at java.nio.charset.Charset.defaultCharset(Charset.java:579) | |
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:37) | |
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:94) | |
at java.io.PrintStream.<init>(PrintStream.java:100) |
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
class dev::rbenv { | |
file { ['/usr/local/rbenv', | |
'/usr/local/rbenv/plugins', | |
'/usr/local/rbenv/shims', | |
'/usr/local/rbenv/versions']: | |
ensure => directory, | |
owner => 'vagrant', | |
group => 'vagrant', | |
mode => '0775', |
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
require 'date' | |
require 'cinch' | |
START_TIME = Time.now | |
$count = 0 | |
class KasumiBot | |
include Cinch::Plugin | |
timer 60, method: :check |
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
file { 'rbenv/profile.d/rbenv.sh': | |
path => '/etc/profile.d/rbenv.sh', | |
content => '## rbenv setting | |
export RBENV_ROOT="/usr/local/rbenv" | |
export PATH="/usr/local/rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
', | |
require => Exec['clone rbenv'] | |
} | |
~> |
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
<?php | |
require 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
use CommerceGuys\Guzzle\Plugin\Oauth2\GrantType\PasswordCredentials; | |
$settings = parse_ini_file('config/settings.ini'); | |
# Resource Owner Password Credentials Grant | |
$oauth2Client = new Client($settings['base_url'] . '/oauth/token'); |
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
<?php | |
require 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
$settings = parse_ini_file('config/settings.ini'); | |
# Resource Owner Password Credentials Grant | |
$client = new Client($settings['base_url']); | |
$params = array( |
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
<?php | |
require 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
$settings = parse_ini_file('config/settings.ini'); | |
$client = new Client($settings['base_url']); | |
$client->setDefaultOption('headers', | |
array( |
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
<?php | |
require 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
$settings = parse_ini_file('config/settings.ini'); | |
$client = new Client($settings['base_url']); | |
$client->setDefaultOption('headers', | |
array( |
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
# コピー、選択モードのキーバインドvi風にする | |
set-window-option -g mode-keys vi | |
# クリップボードをmacと連携 | |
# http://qiita.com/upinetree/items/cd80bc7865c52091be10 | |
unbind -t vi-copy Enter | |
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" |
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
[neobundle] neobundle#rc() is deprecated function. | |
[neobundle] It will be removed in the next version. | |
[neobundle] Please use neobundle#begin()/neobundle#end() instead. | |
Press ENTER or type command to continue |
OlderNewer