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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectCodeStyleSettingsManager"> | |
<option name="PER_PROJECT_SETTINGS"> | |
<value> | |
<PHPCodeStyleSettings> | |
<option name="ALIGN_KEY_VALUE_PAIRS" value="true" /> | |
<option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" /> | |
<option name="ALIGN_PHPDOC_COMMENTS" value="true" /> | |
<option name="ALIGN_ASSIGNMENTS" value="true" /> |
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 namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
class ConfigServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Overwrite any vendor / package configuration. | |
* | |
* This service provider is intended to provide a convenient location for you |
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
execute 'task1' do | |
command 'echo "task1"' | |
notifies :run, 'execute[task2]', :immediately | |
end | |
execute 'task2' do | |
command 'echo "task2"' | |
notifies :run, 'execute[task3]', :immediately | |
action :nothing | |
end |
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
execute 'task1' do | |
command 'echo "task1"' | |
notifies :run, 'execute[task2]', :delayed | |
end | |
execute 'task2' do | |
command 'echo "task2"' | |
notifies :run, 'execute[task3]', :delayed | |
action :nothing | |
end |
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
--- lib/linter-eslint.coffee | |
+++ lib/linter-eslint.coffee | |
@@ -71,6 +71,9 @@ class LinterESLint extends Linter | |
if @localEslint | |
options.plugins = config.plugins | |
engine = new CLIEngine(options) | |
+ config.plugins.forEach (key) -> | |
+ plugin = require(resolve("eslint-plugin-#{key}", {basedir: path.dirname(origPath)})) | |
+ engine.addPlugin(key, plugin) | |
else |
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
git log --oneline --decorate --no-color \ | |
| anyframe-selector-auto \ | |
| awk '{print $1 "^"}' \ | |
| anyframe-action-execute git rebase -i |
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
package jp.ponko2.android.os; | |
import android.os.AsyncTask; | |
public abstract class AsyncTask1<Params, Progress, Result> extends AsyncTask<Params, Progress, Result> { | |
@Override | |
protected Result doInBackground(Params... params) { | |
return doInBackground(params.length > 0 ? params[0] : null); | |
} |
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
package jp.ponko2.tddbook.xunit | |
object Main extends App { | |
val suite = new TestSuite() | |
suite.add(new TestCaseTest("testTemplateMethod")) | |
suite.add(new TestCaseTest("testResult")) | |
suite.add(new TestCaseTest("testFailedResult")) | |
suite.add(new TestCaseTest("testFailedResultFormatting")) | |
suite.add(new TestCaseTest("testSuite")) | |
val result = new TestResult() |
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
# zmvを使えるようにする | |
autoload -Uz zmv |
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
function git-root() { | |
if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then | |
cd `git rev-parse --show-toplevel` | |
fi | |
} |
OlderNewer