Skip to content

Instantly share code, notes, and snippets.

View hygl's full-sized avatar

Philipp Hügelmeyer hygl

View GitHub Profile
$env:HYPERV_VIRTUAL_SWITCH="extern"
PS C:\Users\hygl> minishift start --vm-driver=hyperv
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform ... OK
-- Checking if Hyper-V driver is installed ... OK
-- Checking if Hyper-V driver is configured to use a Virtual Switch ...
'extern' ... OK
-- Checking if user is a member of the Hyper-V Administrators group ... OK
@hygl
hygl / gist:a6b511143258a9881eb5b72e4bd404b0
Created October 23, 2017 12:36
minishift start fails behind http_proxy
minishift start --metrics --memory=4gb --http-proxy=$http_proxy --https-proxy=http_proxy
-- Checking if KVM driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
Proxy URL 'http_proxy' is not valid.
[huegelph@cd0026522:0 bin]$ minishift start --metrics --memory=4gb --http-proxy=$http_proxy --https-proxy=$http_proxy
-- Checking if KVM driver is installed ...
@hygl
hygl / kvm libvirt minishift startup FAIL
Created October 17, 2017 18:50
minishift libvirt start
[hygl@localhost ~]$ virsh net-list --all
Name Status Automatischer Start Bleibend
----------------------------------------------------------
[hygl@localhost ~]$ sudo virsh net-list --all
Name Status Automatischer Start Bleibend
----------------------------------------------------------
default Aktiv ja ja
[hygl@localhost ~]$ groups
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
@hygl
hygl / playbook.yml
Created January 16, 2017 14:24
ansible failed
- name: download nomad
get_url:
url: "https://releases.hashicorp.com/nomad/0.5.2/nomad_0.5.2_linux_amd64.zip"
dest: /tmp/nomad.zip
- name: unzip nomad
unarchive:
src: /tmp/nomad.zip
dest: /usr/local/bin
remote_src: yes
### Keybase proof
I hereby claim:
* I am hygl on github.
* I am hygl (https://keybase.io/hygl) on keybase.
* I have a public key whose fingerprint is 607E ED28 769D 77A7 66C4 BC9C FA9B 78D4 2AED 0D4A
To claim this, I am signing this object:
@hygl
hygl / gist:10732710
Created April 15, 2014 13:28
webjars
15 04 2014 15:24:36,532 - DEBUG org.springframework.security.web.util.AntPathRequestMatcher Checking match of request : '/webjars/jquery/2.0.3/jquery.js'; against '/webjars/**'
15 04 2014 15:24:36,532 - DEBUG org.springframework.security.web.FilterChainProxy /webjars/jquery/2.0.3/jquery.js has an empty filter list
git clone http://github.com/hygl/hygl.github.io.git
Klone nach 'hygl.github.io'...
fatal: unable to access 'https://github.com/hygl/hygl.github.io.git/': gnutls_handshake() failed: The Diffie-Hellman prime sent by the server is not acceptable (not long enough).
set transparency=5
set gfn=Source\ Code\ Pro\ for\ Powerline:h14
@hygl
hygl / Hauptprojekt.groovy
Created November 19, 2012 11:48
Domain Classes
package projekt
class Hauptprojekt extends Projekt {
Integer prio
String vertraulichkeit
String verfuegbarkeit
String kommentarZumSchutzbedarf
String integritaet