Skip to content

Instantly share code, notes, and snippets.

View nikolaplejic's full-sized avatar
🤷‍♂️
¯\_(ツ)_/¯

Nikola Plejic nikolaplejic

🤷‍♂️
¯\_(ツ)_/¯
View GitHub Profile
@nrjdalal
nrjdalal / QEMU-Silicon-Mac-Virtualization.md
Last active February 1, 2024 05:31
Create Virtual Machines using QEMU on Silicon based Apple Macs

Install QEMU on Silicon based Apple Macs (June 2021)

Option 1 - Automatically

zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nrjdalal/silicon-virtualizer/master/install-qemu.sh)"

Option 2 - Manually

  • Install Xcode command line tools

xcode-select --install
@zdeslav
zdeslav / porezi.md
Last active April 16, 2023 20:53
O poreznom opterećenju rada u Hrvatskoj

Svakih nekoliko tjedana u medijima nas netko uvjerava kako hrvatske firme ne mogu biti konkurentne zbog prevelikog poreznog opterećenja rada, pa se onda prijeti selidbom firmi u Irsku ili kuka kako se po pitanju oporezivanja trebamo ugledati na Poljsku "u kojoj su davanja na plaće 30 posto, dok su u Hrvatskoj 60 posto."

OK, hajdemo malo pogledat kako stoje stvari u tim zemljama u kojima se, izgleda, država magično financira kišom novčanica koje padaju s neba.

U tablici ispod uspoređeni su neto i bruto 2 iznosi prosječne plaće, dvostruke prosječne neto plaće i plaće u protuvrijednosti 2000 EUR za nekoliko zemalja u kategorijama interesantnima za usporedbu

@jasongilman
jasongilman / atom_clojure_setup.md
Last active January 11, 2024 09:13
This describes how I setup Atom for Clojure Development.

Atom Clojure Setup

This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.

Install Atom

Download Atom

The Atom documentation is excellent. It's highly worth reading the flight manual.

@philandstuff
philandstuff / euroclojure2014.org
Last active February 19, 2024 05:12
Euroclojure 2014

EuroClojure 2014, Krakow

Fergal Byrne, Clortex: Machine Intelligence based on Jeff Hawkins’ HTM Theory

  • @fergbyrne
  • HTM = Hierarchical Temporal Memory
  • Slides

big data

  • big data is like teenage sex
    • noone knows how to do it
    • everyone thinks everyone else is doing it
# coding=UTF-8
from __future__ import division
import nltk
from collections import Counter
# This is a simple tool for adding automatic hashtags into an article title
# Created by Shlomi Babluki
# Sep, 2013
@gdamjan
gdamjan / README.md
Last active April 16, 2024 04:57
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.

What

A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.

Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).

Requirements