Skip to content

Instantly share code, notes, and snippets.

View SkyzohKey's full-sized avatar

SkyzohKey SkyzohKey

View GitHub Profile
@alobato
alobato / start-stop-example.sh
Created March 3, 2012 23:09
start-stop-example
#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename
NAME=foo
PIDFILE=/var/run/$NAME.pid
#This is the command to be run, give the full pathname
DAEMON=/usr/local/bin/bar
@ruby0x1
ruby0x1 / multi-player-html5-games-00-express.js
Created March 27, 2012 15:01
Multi-player games in HTML5
/* Copyright (c) 2012 Sven "FuzzYspo0N" Bergström
http://underscorediscovery.com
MIT Licensed. See LICENSE for full license.
Usage : node simplest.app.js
*/
var
@taylorruizchiu
taylorruizchiu / js_frameworks_comparison.md
Last active May 30, 2020 20:27
Javascript Frameworks: Angular vs. Meteor vs. Backbone

Javascript Frameworks: What's the difference?

Meteor vs. Angular vs. Backbone

All frameworks are not created equal...but what really is the difference? And when should I use which one?

All the things

An awesome site to compare all the codes:

todomvc.com

@cat-in-136
cat-in-136 / cairo_colored_font_experiment.c
Created July 27, 2014 08:38
Study for the colored-emoji-font drawing using cairo and freetype2.5
/* vim:fileencoding=utf-8 tabstop=2 expandtab shiftwidth=2 softtabstop=0:
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Copyright (C) 2014 @cat_in_136
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
* as the name is changed.
@benvium
benvium / react-native-parse-xml-example.js
Last active June 4, 2020 05:22
Parse XML Example using React Native.xmldom is a pure JavaScript implementation of an XML Parser. I've added it to window so that browser modules that require it will work. Tested on iOS and Android.
/**
*
* Before use, type:
* ```
* npm install xmldom --save
* ```
*/
window.DOMParser = require('xmldom').DOMParser;
@SkyzohKey
SkyzohKey / README.md
Last active March 24, 2016 00:36
PandaLogger - A simple PandaJS plugin that brings basic logger features into the game scope.

PandaLogger

PandaLogger is a plugin for Panda.js that brings basic logger features into the game scope. To learn more about this plugin, read the following samples.

Installation

In order to install PandaLogger, simply copy this file into your <project_root>/src/plugins folder. That's all ! You'll then have to require it whenever you want to use it in your code. (see samples)

Mini-doc

LogType's allowed with PandaLogger

/**
* COPYRIGHT (c) 2016 SkyzohKey & Benwaffle
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
@SkyzohKey
SkyzohKey / tox-clients.json
Last active September 3, 2016 00:53
A list of Tox clients with description, website, source code link, maintainer and download links for every supported platform. Don't hesitate to directly parse the RAW version of this gist, I'll try to keep it updated the more I can, and if it hasn't been updated since long, just fork ! :)
{
"clients": {
"qTox": {
"description": "A Qt graphical user interface for Tox.",
"website": "https://qtox.github.io/",
"source": "https://github.com/tux3/qTox/",
"maintainer": "Tux3",
"downloadLinks": {
"linux": {
"packages-obs": "https://software.opensuse.org/download.html?project=home%3Aantonbatenev%3Atox&package=qtox"
@SkyzohKey
SkyzohKey / EventSocket.js
Last active May 7, 2024 07:18
EventSocket.js - A JSON event based client-side websocket wrapper.
/**
* @class EventSocket - A JSON event based client-side websocket wrapper.
* @param {String} scheme - The websocket server address scheme, can be `ws`, `wss`, `http`, `https`, whatever...
* @param {String} host - The websocket server ip address.
* @param {String} port - The websocket server port.
**/
function EventSocket (scheme, host, port) {
this.uri = [ scheme, '://', host, ':', port ].join('');
this.callbacks = {};
this.socket = null;
@SkyzohKey
SkyzohKey / konv-ux-whitepaper.md
Last active April 17, 2017 21:01
Konv UX Whitepaper

Konv UX whitepaper

1. Summary

Konv aims to be a modern, easy-to-use and secure Instant Messaging Skype replacement. It should provides a cool UI/UX to end-users, with a « Power user » mode to allow more skilled guys to enjoy it too.

Konv should be finely designed and simple to understand with the first time, even a grandma should be able to use it without troubles.

Konv should provides at least features others IM apps (Skype, Whatsapp, Messenger, etc) has plus extra features that'll make it unique.

2. Targeted users