- push notifications
- useable on mobile
- viewport meta tag
- one-time sign in
- enter to send
- open source
- markdown
- mentions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<title> Title of the Page </title> | |
<meta charset="utf-8" /> | |
<!-- saying that the browser doesn't need to rescale on mobile --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="mobile-web-app-capable" content="yes" /> | |
<!-- status bar in transparent/colour --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder