Skip to content

Instantly share code, notes, and snippets.

View AphonicChaos's full-sized avatar

AphonicChaos AphonicChaos

View GitHub Profile
@AphonicChaos
AphonicChaos / github-upload.rb
Created May 12, 2012 21:00 — forked from wereHamster/README.md
Script to upload files to github: ./github-upload.rb <file> [<repo>]
#!/usr/bin/env ruby
require 'json'
require 'net/https'
require 'pathname'
# Extensions
# ----------
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
Builder.load_string('''
<ActionBarDummy>
ActionBar:
pos_hint: {'top':1}
ActionView:

This is my recommended path for learning Haskell.

Something to keep in mind: don't sweat the stuff you don't understand immediately. Just keep moving.

Primary course

Installing Haskell

Ubuntu PPA

Sharing Django Users and Sessions Across Projects

By Dustin Farris on 22 Feb 2012

This document describes how to share users created using Django's auth system with other Django projects. It is not a hack; it simply makes use of the database router and middleware system that Django comes with out of the box.

Introduction

@AphonicChaos
AphonicChaos / Counters.hs
Created June 27, 2020 23:53 — forked from mightybyte/Counters.hs
Reflex/React Comparison (look at the revision history)
{-# LANGUAGE OverloadedStrings #-}
import Reflex.Dom
counter = el "div" $ do
click <- button "Click"
clicks <- foldDyn (\() n -> n + 1) 0 click
el "p" $ display clicks
return clicks
main = mainWidget $ do