Skip to content

Instantly share code, notes, and snippets.

View hpmewes's full-sized avatar
💭
Corps Consulair Swiss, Corps Diplomatique Swiss

hpmewes

💭
Corps Consulair Swiss, Corps Diplomatique Swiss
  • © Aries Global
  • Federal Republic of Germany
View GitHub Profile
@hpmewes
hpmewes / nginx.conf
Last active August 29, 2015 14:13 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@hpmewes
hpmewes / gist:3134906
Created July 18, 2012 07:51
jQuery - IBAN
/**
* Check for Germany IBAN
*/
var regexIBANDE = '([A-Z]{2})([0-9]{2})([0-9]{8})([0-9]{10})';
var matchIBANDE = $('#someid').val().match(regexIBANDE);
console.log('match: iban '+matchIBANDE);
// iban correct
if(matchIBANDE != null) {
@hpmewes
hpmewes / qtcreator-deploy-with-visual-studio-2010
Created July 2, 2012 10:46
QtCreator - Deploy with Visual Studio 2010
install vb .NET SDK
install MSVC 2010 C++ Express
install Qt SDK für MSVC 2010 in folder QtSDK/Desktop/Qt/{Versionsnummer}
click on qt-version administration add, choose the destination of qt sdk for msvc 2010 QtSDK/Desktop/Qt/{Versionsnummer}/bin/qmake.exe
choose under Qt Creator->projects->qt-version "Qt{Versionsnumber} for Desktop - MSVC 2010 (Qt SDK)"
then click ok
@hpmewes
hpmewes / git-multiple-connections
Created July 2, 2012 10:44
Git - Multiple Connections
[branch "master"]
remote = gitlab
merge = refs/heads/master
[remote "other"]
url = https://github.com/hpmewes/OtherFrameworkBundle.git
fetch = +refs/heads/*:refs/remotes/gitlab/*
[remote "github"]
url = https://github.com/hpmewes/MLabsFrameworkBundle.git
fetch = +refs/heads/*:refs/remotes/github/*
[remote "origin"]