Skip to content

Instantly share code, notes, and snippets.

👨‍🏫
https://keybase.io/michaltakac

Michal Takac michaltakac

👨‍🏫
https://keybase.io/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
michaltakac / improved-lnd-bitcoind-install.md
Created Jul 7, 2018 — forked from bretton/improved-lnd-bitcoind-install.md
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet
View improved-lnd-bitcoind-install.md

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

Intro

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:

View keybase.md

Keybase proof

I hereby claim:

  • I am michaltakac on github.
  • I am michaltakac (https://keybase.io/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;
axios.get(url)
.then(function(response) {
@michaltakac
michaltakac / index.html
Created Sep 17, 2016
Loading Cursor in A-Frame
View index.html
<!-- CURSOR ENTITY -->
<a-entity position="0 1.8 5">
<a-entity
id="camera"
camera
look-controls
rotation="0 0 0"
wasd-controls
>
<!-- MAIN CURSOR -->
@michaltakac
michaltakac / The Technical Interview Cheat Sheet.md
Created Apr 30, 2016 — forked from TSiege/The Technical Interview Cheat Sheet.md
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 Sheet.md

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
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. https://onename.com/michaltakac
@michaltakac
michaltakac / api.js
Created Mar 26, 2016
Server method for getting data through PHP script with Meteor
View api.js
Meteor.methods({
getCars: function() {
var url = 'http://example.com/my-php-script.php';
var result = HTTP.post(url, {timeout:30000});
if(result.statusCode==200) {
var respJson = JSON.parse(result.content);
console.log("response received.");
return respJson;
@michaltakac
michaltakac / zapocetA.java
Created Nov 30, 2015
jebem ja tvojho boha
View zapocetA.java
// 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ť");
btnNewButton_5.setMnemonic(KeyEvent.VK_E);
@michaltakac
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.