I hereby claim:
- I am steelx on github.
- I am ajinkyax (https://keybase.io/ajinkyax) on keybase.
- I have a public key ASBcCAmHxUEdhdbob_x7y20mMu6wkd8AphMHNXhVCQzXQwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| # ------------------------------------------------- | |
| # Get monitors configuration from monitor.xml and apply it for current user session. | |
| # In case of multiple definitions in monitor.xml only first one is used. | |
| # | |
| # See http://bernaerts.dyndns.org/linux/74-ubuntu/309-ubuntu-dual-display-monitor-position-lost | |
| # for instructions | |
| # | |
| # Revision history : | |
| # 19/04/2014, V1.0 - Creation by N. Bernaerts |
| const express = require('express'); | |
| const cors = require('cors')({origin: true}); | |
| const cookieParser = require('cookie-parser')(); | |
| // API | |
| const app = express(); | |
| // Express middleware that validates Firebase ID Tokens passed in the Authorization HTTP header. |
| module github.com/steelx/go-rpg-cgm | |
| go 1.13 | |
| require ( | |
| //github.com/bcvery1/tilepix v0.3.2 | |
| github.com/bykof/stateful v0.0.7 // indirect | |
| github.com/faiface/beep v1.0.2 | |
| github.com/faiface/pixel v0.8.1-0.20190416082708-9aca3bfe7af3 | |
| github.com/fatih/structs v1.1.0 |
| package main | |
| // Bounds - A bounding (rectangle) box with a x,y origin and width and height | |
| type Bounds struct { | |
| X float64 | |
| Y float64 | |
| Width float64 | |
| Height float64 | |
| entity Entity | |
| } |
#Headless Setup of Raspberry Pi Zero W (Raspberry Pi 3 Wireless) (macOS)
diskutil eraseDisk ExFat temp disk4(Use your disk here)wget https://downloads.raspberrypi.org/raspbian_lite_latestdiskutil unmountDisk /dev/disk4 or whatever your disk path issudo dd if=PATH-TO-RASPBIAN-IMAGE of=/dev/disk4` or whatever your disk path iscd /volumes && ls. You should see a boot partition from the SD card cd boot && touch sshnano wpa_supplicant.conf and enter network={ ssid="YOUR-SSID" psk="YOUR-WIFI-PASSWORD" }diskutil unmountDisk /dev/disk4 (or whatever your disk path is) and put it in thegit tag -a v0.0.0 -m "First tag."
Push the version number to the remote repository.
git push --tags
Generate an up-to-date version_PLATFORM.go file (normally done by your CI server)
go generate
The version_PLATFORM.go file gets automatically updated with data from the tag.
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
| import { BehaviorSubject } from 'rxjs/BehaviorSubject'; | |
| import { Observable } from 'rxjs/Observable'; | |
| export class Store<T> { | |
| private _state$: BehaviorSubject<T>; | |
| protected constructor(initialState: T) { | |
| this._state$ = new BehaviorSubject(initialState); | |
| } |