Skip to content

Instantly share code, notes, and snippets.

View Haroenv's full-sized avatar

Haroen Viaene Haroenv

View GitHub Profile
import java.util.Scanner;
import java.util.Locale;
/**
* Via deze klasse kan je informatie van de gebruiker inlezen. Er zijn in deze klasse volgende statische methoden
* gedefinieerd:
* <ul>
* <li><tt>readString()</tt> voor het inlezen van een woord
* <li><tt>readLine()</tt> voor het inlezen van een lijn tekst
* <li><tt>readChar()</tt> voor het inlezen van een karakter
<snippet>
<content><![CDATA[<!DOCTYPE html>
<html lang="en">
<head>
<title> $1 </title>
<meta charset="utf-8" />
<script src="js/scripts.js"></script>
<link rel="stylesheet" src="css/styles.css">
</head>
<body>
@Haroenv
Haroenv / new_repo.sh
Last active August 29, 2015 14:20
Bash function that creates a new repo
# new github repository #
# dependency: gem install hub #
# usage: new_repo <repo_name> #
# by @victormours #
###############################
function new_repo {
REPO_NAME=$1
if [ $REPO_NAME ]
then
mkdir $REPO_NAME
@Haroenv
Haroenv / sharing.sh
Last active August 29, 2015 14:21
Three functions to share images from the shell.
# command line file sharing #
# needed: a git repo on the gh-pages branch #
# usage: s <file> #
#############################################
function s {
red='\033[0;31m'
NC='\033[0m'
gitrepo="/Users/haroenviaene/git/s/"
site="http://haroen.me/s/"
@Haroenv
Haroenv / chat.md
Last active September 17, 2015 22:39
chat

What I want from a chat platform

  • push notifications
  • useable on mobile
    • viewport meta tag
  • one-time sign in
  • enter to send
  • open source
  • markdown
  • mentions
@Haroenv
Haroenv / chaplin_logo.svg
Created September 23, 2015 19:36
chaplin logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Haroenv
Haroenv / Bug Titles
Created March 14, 2016 17:07
Bug Movie Titles
The Bug Lebowski
A Bug's Life
The Bug
My Bug Fat Greek Wedding
Bug Hero 6
Bugman Rising
Bug (1988)
Pee-wee's Bug Holiday
The Bug Short
Lord of the Bugs: The Two Bugs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Haroenv
Haroenv / index.html
Created March 28, 2016 09:51 — forked from anmolagrwl/index.html
PubNub - ISS Demo
<html>
<head>
<meta charset="UTF-8">
<title>ISS PubNub demo</title>
<script src="https://cdn.pubnub.com/pubnub-3.7.13.min.js"></script>
<script src="jquery.js" charset="utf-8"></script>
<!-- mapbox CDN -->
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.css' rel='stylesheet' />