Skip to content

Instantly share code, notes, and snippets.

View ceremcem's full-sized avatar

Cerem Cem ASLAN ceremcem

View GitHub Profile
@ceremcem
ceremcem / debian-on-archlinux-using-lxc.md
Last active December 18, 2021 13:38 — forked from manoj23/ubuntu-on-archlinux-using-lxc.md
Install Ubuntu containers on Archlinux using LXC

Install Debian containers on Archlinux using LXC

Install the lxc and the debootstrap packages:

# pacman -Sy lxc debootstrap 

Install an Debian container

I will install Debian Buster.

@ceremcem
ceremcem / fizzbuzz.ls
Created September 5, 2017 00:13 — forked from ykhs/fizzbuzz.ls
fizzbuzz with LiveScript
global <<< require \prelude-ls
fizzbuzz = (x) ->
| x % 15 is 0 => \fizzbuzz
| x % 5 is 0 => \buzz
| x % 3 is 0 => \fizz
| otherwise => x
[1 to 100] |> map fizzbuzz |> each console.log
@ceremcem
ceremcem / tmux-cheatsheet.markdown
Created July 2, 2017 20:40 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ceremcem
ceremcem / broker.js
Last active August 29, 2015 14:27 — forked from jedi4ever/broker.js
xsub , xpub example in nodejs
var pubListener = 'tcp://127.0.0.1:5555';
var subListener = 'tcp://127.0.0.1:5556';
var hwm = 1000;
var verbose = 0;
// The xsub listener is where pubs connect to
var subSock = zmq.socket('xsub');
subSock.identity = 'subscriber' + process.pid;
subSock.bindSync(subListener);