Skip to content

Instantly share code, notes, and snippets.

View leolabs's full-sized avatar
🚀
Hyped

Leo Bernard leolabs

🚀
Hyped
View GitHub Profile
fm_web:
image: nginx:alpine
ports:
- "8090:80"
volumes:
- $PWD:/code:ro
- ./docker/nginx-local.conf:/etc/nginx/conf.d/default.conf
links:
- fm_php
@leolabs
leolabs / README.md
Created September 27, 2017 11:35 — forked from shovon/README.md
An install script for LLVM and Clang v3.2.

Installing LLVM and Clang v3.2 on OS X

I'm assuming you need this version for Emscripten.

Don't worry, this script will not override your current installation of LLVM and Clang.

Be sure that you have:

  • read this README file
  • read this README file

You can use this function to set an insecure password in your Unitymedia router's WiFi settings.

@leolabs
leolabs / 0_reuse_code.js
Created June 12, 2016 12:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
//
// Created by Leo Bernard on 07/12/15.
//
#include "functions.h"
#include <iostream>
using namespace std;
@leolabs
leolabs / main.cpp
Created December 8, 2015 09:57
Praktikumsaufgabe
#include <iostream>
#include <fstream>
#include "functions.h"
using namespace std;
struct person {
string firstName = "";
string lastName = "";
string birthday = "";
@leolabs
leolabs / of6.cpp
Created November 10, 2015 12:02
Blablabla
#include <iostream>
using namespace std;
string backwards(string input) {
string tmp = "";
int length = (int) input.length();
while(length-- > 0) {
tmp += input.at(length);
@leolabs
leolabs / main.cpp
Created November 10, 2015 12:01
OF6
#include <iostream>
using namespace std;
string backwards(string input) {
string tmp = "";
int length = (int) input.length();
while(length-- > 0) {
tmp += input.at(length);