- The best tutorials are in the introductory books. See below.
- Getting Started with Clojure - A detailed tutorial on getting a modern (as of Jan 2013) Clojure workflow going.
- Emacs Live is a nice development environment based on Emacs.
- Understanding The Clojure Development Ecosystem
- Clojure Docs Site is a community-driven doc site with good tutorials, and reference material going somewhat deeper than individual API docs.
- Functional Programming for the Rest of Us is a classic introduction to functional thinking
- [A comprehensive article on namespaces and different ways of requiring them](http://blog.8thlight.com/colin-jones/2010/12/05/clojure-libs-and-namespaces-require-use-import-and-ns.
This file contains 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
#!/bin/bash | |
# Dirty script to build Unity under ArchLinux | |
# Thanks for PKGBUILDs, chenxiaolong! | |
# Valdos Sine <fat0troll at riseup dot net> 2012 | |
# Pratik Sinha <pratik at humbug dot in> 2012 | |
echo "Run it in directory which will be build root ;)" | |
echo "Make sure you're have sudo without password or you will stuck in every package installation" | |
echo "GO!" |
This file contains 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
##maintainer Meow < meow at linux dot cn > | |
pkgname=mendeleydesktop | |
pkgver=1.7 | |
pkgrel=1 | |
pkgdesc="Academic software for managing and sharing research papers (desktop client)" | |
url=http://www.mendeley.com/release-notes/ | |
arch=(i686 x86_64) | |
depends=(python2 qtwebkit) | |
license=(custom:mendeley_eula) |
This file contains 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
pkgname=yong | |
pkgver=20130111 | |
pkgrel=1 | |
_realver="$pkgver" | |
pkgdesc="A Chinese input method" | |
arch=(i686 x86_64) | |
url="http://yong.uueasy.com/" | |
license=("freeware") | |
source=("http://ly50247.googlecode.com/files/yong-lin-${pkgver}.7z") | |
makedepends=("p7zip") |
This file contains 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
# status bar | |
set-option -g status-utf8 on | |
set -g status-interval 1 | |
set -g status-justify centre # center align window list | |
set -g status-left-length 20 | |
set -g status-right-length 140 | |
set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]' | |
set -g status-right '#[fg=green,bg=black,bright]#(tmux-mem-cpu-load 1) #[fg=red,dim]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d' |
This file contains 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
(defn sqrt [x] | |
(defn fixed-point [f first-guess] | |
(defn close-enough? [v1 v2] | |
(let [tolerance 0.000000001] | |
(< (Math/abs (- v1 v2)) | |
tolerance))) | |
(defn tryo [guess] | |
(loop [oldo guess | |
newo (f oldo)] | |
(if (close-enough? oldo newo) |
This file contains 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
#include <stdio.h> | |
#define MAX_SIZE 128 | |
struct fifo{ | |
int size; | |
int head; | |
int count; | |
char element[MAX_SIZE]; | |
}; |
This file contains 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
//Homework 4, implement game of hex | |
#include <iostream> | |
#include <vector> | |
#include <set> | |
using namespace std; | |
enum Color{ | |
RED, |
This file contains 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
//search the element which has the minimal abs value in an ascending array | |
#include <iostream> | |
#include <cmath> | |
#include <vector> | |
using namespace std; | |
int minabs(vector<int> &a, int start, int end){ | |
if(start+1 == end){ | |
return a[start]; |
This file contains 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
//double linked list insertion and deletion | |
//lrj whitebook p95 | |
#include <iostream> | |
using namespace std; | |
struct Node{ | |
int value; | |
Node* left; | |
Node* right; |
OlderNewer