Skip to content

Instantly share code, notes, and snippets.


Michal Takac michaltakac

Block or report user

Report or block michaltakac

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
michaltakac /
Created Jul 7, 2018 — forked from bretton/
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet

2018-03-18: Updating of this guide is taking a backseat to the mainnet version at


This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.

It does not address mainnet, or using btcd, or neutrino.

Original installation guide:


Keybase proof

I hereby claim:

  • I am michaltakac on github.
  • I am michaltakac ( on keybase.
  • I have a public key ASDzhqrolP04w98A9JRjOHOpQuWnqaZIm50UB1-C2mncwQo

To claim this, I am signing this object:

View snippet
class componentName extends Component {
constructor(props) {
this.state = {
spotreba: ''
componentWillMount() {
var self = this;
.then(function(response) {
michaltakac / index.html
Created Sep 17, 2016
Loading Cursor in A-Frame
View index.html
<a-entity position="0 1.8 5">
rotation="0 0 0"
<!-- MAIN CURSOR -->
michaltakac / The Technical Interview Cheat
Created Apr 30, 2016 — forked from TSiege/The Technical Interview Cheat
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
michaltakac / actionTypeBuilder.js
Last active Jul 27, 2016 — forked from dbismut/actionTypeBuilder.js
React Redux Meteor middlewares
View actionTypeBuilder.js
export function actionTypeBuilder(prefix) {
return {
type: actionType => `${prefix}/${actionType}`,
loading: actionType => `${actionType}/loading`,
ready: actionType => `${actionType}/ready`,
stopped: actionType => `${actionType}/stopped`,
changed: actionType => `${actionType}/changed`,
error: actionType => `${actionType}/error`,
success: actionType => `${actionType}/success`
View gist:3957f0ecd9b5dc64a957a4576e64d92e
Verifying that +michaltakac is my blockchain ID.
michaltakac / api.js
Created Mar 26, 2016
Server method for getting data through PHP script with Meteor
View api.js
getCars: function() {
var url = '';
var result =, {timeout:30000});
if(result.statusCode==200) {
var respJson = JSON.parse(result.content);
console.log("response received.");
return respJson;
michaltakac /
Created Nov 30, 2015
jebem ja tvojho boha
// uplne hore importy
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
// dalej dakde v pici v kode kde mas zadefinovany ten btnNewButton_5
JMenuItem btnNewButton_5 = new JMenuItem("Ukončiť");
michaltakac / charts.js
Created Nov 24, 2015
Meteorboard - charts.js
View charts.js
const ChartsSettings = {
doughnutChart: {
data: [
value: 300,
color: '#F7464A',
highlight: '#FF5A5E',
label: 'Red'
You can’t perform that action at this time.