Skip to content

Instantly share code, notes, and snippets.

@ungalcrys
ungalcrys / AckermannLoop.java
Created June 24, 2015 20:28
Simple loop for Ackermann function
import java.util.ArrayList;
public class LiniarAckermann {
static ArrayList<Long> mList = new ArrayList<Long>();
public static long ackermann(long m, long n) {
while (true) {
if (m == 0) {
n += 1;
@ungalcrys
ungalcrys / gist:8955689
Created February 12, 2014 13:36
hints: sublime text 2 with kubuntu
Sublime Text 2 - useful shortcuts (Ubuntu + KDE version)
## Multiple cursors
add next: Ctrl + D
remove last: Ctrl + U
select all: Alt + F3
## Column Selection
with keyboard: Ctrl + Alt + Up/Down
with mouse: Shift + Right Mouse Button Pressed