I hereby claim:
- I am tfnico on github.
- I am tfnico (https://keybase.io/tfnico) on keybase.
- I have a public key ASDkQGs8RbZYJwhOiWGG4FQnZi7zJlsDf8lgDiDRq3nmKwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is a quick guide on how to set up cross-compilation of Rust programs, where you are using Rust libraries that have system level dependencies, like openssl.
We think it's easiest to cross-compile on a 32 bit linux machine. Could be that 64 bit works as well, but since the arm is 32 bit..
Set up cross-compilation according to https://github.com/Ogeon/rust-on-raspberry-pi
It is a bit of work. but make sure you follow the instructions, and keep to the 32 bit options.
// Related to https://gist.github.com/tfnico/5926374 | |
// and http://stackoverflow.com/questions/14464486/guava-input-output-suppliers-and-urlconnection | |
static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); | |
public void sendMessage(String url, String params){ | |
final HttpURLConnection connection; | |
try { | |
HttpRequestFactory requestFactory = HTTP_TRANSPORT.createRequestFactory(); |
#!/usr/bin/env bash | |
############################################################################## | |
## | |
## start up script for UN*X | |
## | |
############################################################################## | |
# Add default JVM options here. You can also use JAVA_OPTS and APP_OPTS to pass JVM options to this script. | |
DEFAULT_JVM_OPTS='"-Djava.util.logging.config.file=./etc/log.conf" "-Ddatabase.storage.hostname=some-titan"' |
sudo su jenkins
, and (with your username/password) docker login https://registry.giantswarm.io
I hereby claim:
To claim this, I am signing this object:
#In my .zshrc: | |
#... | |
# Normal jenv config | |
export PATH="$HOME/.jenv/bin:$PATH" | |
eval "$(jenv init -)" | |
# Now find the JAVA_HOME for it: | |
jenv_java=$(jenv global) # yields 'oracle64-1.6.0.54' | |
echo $jenv_java | |
jenv_java_without_oracle=${jenv_java#*oracle64-} # yields '1.6.0.54' |
class oracle_java8 { | |
# This follows the recipe from http://blog.nocturne.net.nz/devops/2013/08/14/provisioning-oracle-java-with-puppet-apply/ | |
# adapted with the instructions from http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html | |
# define a variable for the webupd8team ppa sources list | |
$webupd8src = '/etc/apt/sources.list.d/webupd8team.list' | |
exec {'hello': | |
unless => "/bin/true", |
This is an addendum to GitMinutes #29: James Moger on GitBlit
push HEAD:refs/for/5
This syntax is used for two scenarios.
a. pushing to a ticket that DOES NOT have any commits
b. pushing a rewrite of commits to a ticket that DOES have commits
In the latest release of spring-rest-data (2.0.2), calling the root "descriptor" (/api/) works fine , but calling a GET on any entity (/api/plannedWorkloads) fails with an exception.
It works fine when using spring-rest-data-2.0.0.M1.
When switching to spring-rest-data-2.0.0.RELEASE: https://gist.github.com/tfnico/11243724
When switching tp spring-rest-data-2.0.1.RELEASE: https://gist.github.com/tfnico/11243762
Switching to spring-rest-data-2.0.2.RELEASE gives the same error as in 2.0.1.