/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install textmate macdown iterm2
brew install jetbrains-toolbox
# List all branches with commit date and committer | |
git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname)|%(committerdate)|%(authorname)' | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install textmate macdown iterm2
brew install jetbrains-toolbox
package main | |
import ( | |
"encoding/base32" | |
"fmt" | |
) | |
func main() { | |
id := 202790 |
package main | |
import ( | |
"context" | |
"database/sql" | |
"encoding/json" | |
_ "github.com/go-sql-driver/mysql" | |
"net/http" | |
. "strings" | |
) |
console.log(`Hi!`); | |
// Odpowiednik enuma w TypeScripcie | |
let ProjectType = { | |
CURRENT: "CURRENT", | |
CLOSED: "CLOSED" | |
} | |
let projectsOfUser1 = [ | |
{ name: 'Proj1', type: ProjectType.CURRENT }, |
-- Include modules/libraries | |
local composer = require "composer" | |
-- Variables local to scene | |
-- | |
-- Create a new Composer scene | |
local scene = composer.newScene() |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set t_Co=256 | |
set background=dark | |
colorscheme lost-shrine | |
set cul |
var Promise = require('bluebird'); | |
console.log('=== Branching promises demo ==='); | |
function getNameById(id) { | |
return Promise.resolve("Ziutek"); | |
} | |
/* | |
Add missing data to object. |
#include <ESP8266HTTPClient.h> | |
#include <ESP8266WiFi.h> | |
const int sampleWindow = 50; // Sample window width in mS (50 mS = 20Hz) | |
unsigned int sample; | |
#define BLINK_LED 16 | |
#define WIFI_LED_PIN 16 | |
#define NUM_MEASURES 1200 // Sampling freq. is 20 hz |