Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js
.
Create React App does not provide watching build mode oficially (#1070).
This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.
Create a React app.
Put the script into scripts/watch.js
.
# Sonarqube | |
server { | |
listen 80; | |
server_name sonar.example.com; | |
location / { | |
proxy_pass http://sonarqube:9000; | |
proxy_redirect http://sonarqube:9000 https://sonar.example.com; | |
} | |
} |
+refs/tags/*:refs/remotes/origin/tags/*
*/tags/*
import hudson.util.RemotingDiagnostics; | |
def node = 'node-name' | |
def command = 'uname -a' | |
println RemotingDiagnostics.executeGroovy(""" | |
def p = '$command'.execute() | |
p.waitFor() | |
println p.in.text |
server { | |
listen 80; | |
server_name git.example.org; | |
location ~ ^/[^/]+/[^/]+\.git.*$ { | |
return https://git.example.org/git$request_uri; | |
} | |
location ~ ^/api/v3/users/(.*)$ { | |
try_files $uri /api/v3/orgs/$1; | |
} | |
location / { |
ServerRoot "/usr/local/apache2" | |
LoadModule access_compat_module modules/mod_access_compat.so | |
LoadModule reqtimeout_module modules/mod_reqtimeout.so | |
LoadModule filter_module modules/mod_filter.so | |
LoadModule mime_module modules/mod_mime.so | |
LoadModule log_config_module modules/mod_log_config.so | |
LoadModule env_module modules/mod_env.so | |
LoadModule headers_module modules/mod_headers.so | |
LoadModule setenvif_module modules/mod_setenvif.so | |
LoadModule version_module modules/mod_version.so |
Use Cygwin Git from command prompt and other apps.
git.cmd
into the Cygwin root e.g. C:\cygwin64
.sudo yum update -y | |
sudo yum install -y docker | |
sudo curl -L -o /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` | |
sudo chmod +x /usr/local/bin/docker-compose | |
sudo usermod -a -G docker ec2-user | |
docker -v | |
docker-compose -v |
Instructions to reproduce bug int128/gradle-ssh-plugin#253
2016-07-29 15:16:25.283 WARN Host key checking is off. It may be vulnerable to man-in-the-middle attacks.
2016-07-29 15:16:26.584 INFO Connected to sandbox [sandbox:22]
2016-07-29 15:16:27.119 INFO Started command sandbox#0: mkdir -vp /tmp/hoge/foo/bar
2016-07-29 15:16:27.360 INFO Success command sandbox#0: mkdir -vp /tmp/hoge/foo/bar
2016-07-29 15:16:27.587 ERROR Error: groovy.lang.MissingMethodException: No signature of method: org.hidetake.groovy.ssh.session.transfe
r.SftpRemove$Trait$Helper$_remove_closure1$_closure2$_closure4.call() is applicable for argument types: (org.codehaus.groovy.runtime.GSt
ringImpl) values: [/tmp/hoge/foo/bar]
def execute(... arguments) { | |
if (arguments.head() instanceof Map) { | |
def settings = arguments.head() | |
if (arguments.last() instanceof Closure) { | |
def callback = arguments.last() | |
def commandArgs = arguments[1..(arguments.length - 2)] | |
println([commandArgs, settings, callback]) | |
} else { | |
def commandArgs = arguments[1..(arguments.length - 1)] | |
println([commandArgs, settings]) |