Skip to content

Instantly share code, notes, and snippets.

View tchalvak's full-sized avatar
🐙
making another SPA

Roy R. tchalvak

🐙
making another SPA
View GitHub Profile
@toopay
toopay / innocent.erl
Created December 27, 2014 17:44
"Hello world!"
%% HOWTO : Compile and run `innocent:hi()`
%% @see http://codegolf.stackexchange.com/questions/22533/weirdest-obfuscated-hello-world?newreg=44a2bf18dcc44f7dbdddc27caf1b4ceb
-module(innocent).
-export([hi/0]).
hi() -> erlang:apply(
list_to_atom(
[A || A <- [ Mua + Ha + Haa || <<Mua:8, Ha:8, Haa:8>> <= <<105:24>> ]]
++ [A || A <- [ Mua + Ha + Haa || <<Mua:8, Ha:8, Haa:8>> <= <<111:24>> ]]),
list_to_atom(
@johnduarte
johnduarte / bluejeans_rpm_via_alien.md
Last active January 30, 2020 09:28
BlueJeans rpm install on Debian

FYI, for those of us running Debian based systems rather than RedHat, the BlueJeans RPM can be successfully installed via alien

Steps to install BlueJeans on Debian

  • Download BlueJeans RPM
  • Install alien package sudo apt-get install alien
  • Convert BlueJeans RPM to a DEB package sudo alien --to-deb --scripts bluejeans-*.rpm
  • Install resulting DEB sudo dpkg -i bluejeans_*.deb
  • Run BlueJeans with /opt/bluejeans/bluejeans-bin

You may get an error loading the expected udev library

@jarednova
jarednova / base.twig
Last active March 23, 2022 12:30
Timber Hello World
{# This is a Twig comment, it won't output to the browser #}
<html>
<head>
<title>{{ wp_title }}</title>
</head>
{% block content %}
<!-- This will be overwritten by the content block in the inheriting .twig file -->
{% endblock %}
</html>
@paulirish
paulirish / bling.js
Last active May 1, 2024 19:56
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;