Skip to content

Instantly share code, notes, and snippets.

View levelsio's full-sized avatar

levelsio levelsio

View GitHub Profile
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
<?
/*
BERICHTENBOX DOWNLOADER 0.1
by @levelsio
----
This is a very rough implementation to login, access and download new messages from the Dutch govenment's BerichtenBox.
Read more about why here: https://levels.io/gov-y-u-suck/
P.S. A prettier implementation in Python by @jplattel is here: https://github.com/jplattel/berichtenbox-forwarder
$('.action-upload-file').bind('click',function() {
$('.upload-file-uploader').trigger('click');
});
$('.upload-file-uploader').bind('change',function(evt) {
var files = evt.target.files; // FileList object
console.log(files);
// files is a FileList of File objects. List some properties.
var output = [];
var imageAsText='';
for (var i = 0, f; f = files[i]; i++) {
<?
// <readme>
/*
This is a lite version of Olark's functionality (without the chat part).
It lets you get feedback from users on your site to your email.
And you won't have to rely on another company anymore!
<?
// <readme>
/*
This is a lite version of Olark's and Intercom's functionality (without the chat part).
It lets you get feedback from users on your site to your email.
And you won't have to rely on another company anymore!
<?
// <readme>
/*
This is a lite version of Olark's and Intercom's functionality (without the chat part).
It lets you get feedback from users on your site to your email.
And you won't have to rely on another company anymore!
#killyourdependencies
<?
// <readme>
/*
This is a lite version of Olark's and Intercom's functionality (without the chat part).
It lets you get feedback from users on your site to your email.
And you won't have to rely on another company anymore!
#killyourdependencies
<?
// <readme>
/*
This is a lite version of Olark's and Intercom's functionality (without the chat part).
It lets you get feedback from users on your site to your email.
And you won't have to rely on another company anymore!
#killyourdependencies
<link href="https://fonts.googleapis.com/css?family=Rubik:500" rel="stylesheet">
<script>
$(function() {
$('.nomadcard').bind('mousemove',function(e) {
console.log('mousemove');
pOffset = $(this).offset();
x = e.pageX - pOffset.left;
y = e.pageY - pOffset.top;
w=$(this).width();
#
# Building an MVP?
# Need a quick database you can set up in seconds?
# What about JSON?
#
# by @levelsio (with help from @marckohlbrugge, @oskarth, @maxdeviant and @kumailht)
# JS
db=[]
fs=require('fs')