This file contains hidden or 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
// @GENERATOR:play-routes-compiler | |
// @SOURCE:/Users/tomofumi.tanaka/Downloads/play-scala/conf/routes | |
// @DATE:Mon Dec 05 20:35:14 JST 2016 | |
package router | |
import play.core.routing._ | |
import play.core.routing.HandlerInvokerFactory._ | |
import play.core.j._ |
This file contains hidden or 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 Animal | |
trait Furry extends Animal | |
trait HasLegs extends Animal | |
trait FourLegged extends HasLegs | |
class Cat extends Animal with Furry with FourLegged |
This file contains hidden or 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
[ | |
{ | |
"url": "https://api.github.com/repos/tanacasino/test/pulls/6", | |
"id": 22601309, | |
"html_url": "https://github.com/tanacasino/test/pull/6", | |
"diff_url": "https://github.com/tanacasino/test/pull/6.diff", | |
"patch_url": "https://github.com/tanacasino/test/pull/6.patch", | |
"issue_url": "https://api.github.com/repos/tanacasino/test/issues/6", | |
"number": 6, | |
"state": "open", |
This file contains hidden or 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
diff --git a/src/main/twirl/helper/activities.scala.html b/src/main/twirl/helper/activities.scala.html | |
index 980eaf5..c85dd8c 100644 | |
--- a/src/main/twirl/helper/activities.scala.html | |
+++ b/src/main/twirl/helper/activities.scala.html | |
@@ -22,7 +22,7 @@ | |
case "fork" => simpleActivity(activity, "activity-fork.png") | |
case "push" => customActivity(activity, "activity-commit.png"){ | |
<div class="small activity-message"> | |
- {activity.additionalInfo.get.split("\n").reverse.take(4).zipWithIndex.map{ case (commit, i) => | |
+ {activity.additionalInfo.get.split("\n").reverse.filter(_ matches "[0-9a-z]{40}:.*").take(4).zipWithIndex.map{ case (commit, i) => |
This file contains hidden or 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
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install pcre-devel xz-devel | |
git clone https://github.com/ggreer/the_silver_searcher | |
cd the_silver_searcher | |
./build.sh | |
mkdir -p ~/bin/ | |
ln -sf `pwd`/ag ~/bin/ |
This file contains hidden or 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
sudo yum -y update | |
sudo reboot | |
sudo yum -y install man git | |
sudo yum -y groupinstall "Development Tools" | |
git clone https://github.com/creationix/nvm.git ~/.nvm | |
source ~/.nvm/nvm.sh | |
nvm ls-remote | |
nvm install 0.10 | |
nvm use 0.10 |
This file contains hidden or 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
diff --git a/http.c b/http.c | |
index 3447945..8374c33 100644 | |
--- a/http.c | |
+++ b/http.c | |
@@ -44,6 +44,7 @@ static long curl_low_speed_limit = -1; | |
static long curl_low_speed_time = -1; | |
static int curl_ftp_no_epsv; | |
static const char *curl_http_proxy; | |
+static const char *curl_http_noproxy; | |
static const char *curl_cookie_file; |
This file contains hidden or 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] | |
sslVerify = false |
NewerOlder