##Run install_syncthing.sh
$ curl -s https://gist.githubusercontent.com/hdml/7b079c114d3e20bf69f1/raw/1cd3647b1db4f80726c145fba725e27993a7fcdb/install_syncthing.sh | sudo bash
Start syncthing
$ syncthing
Wait until you get something like:
##Run install_syncthing.sh
$ curl -s https://gist.githubusercontent.com/hdml/7b079c114d3e20bf69f1/raw/1cd3647b1db4f80726c145fba725e27993a7fcdb/install_syncthing.sh | sudo bash
Start syncthing
$ syncthing
Wait until you get something like:
| let noop = function() { | |
| }; | |
| export default class ArcadeController { | |
| static factory(moveStartCallback, moveCallback, fireCallback, cbContext) { | |
| return new Phaser.ArcadeController(this.game, moveStartCallback, moveCallback, fireCallback, cbContext) | |
| } | |
| constructor(game, moveStartCallback = noop, moveCallback = noop, fireCallback = noop, callbackContext) { | |
| game.input.holdRate = 150; | |
| game.input.touch.consumeDocumentTouches(); |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');| local graphics = love.graphics | |
| local TAU = math.pi * 2 | |
| local p, pe | |
| local MS=1 | |
| local PSIZE=40 | |
| function love.load() | |
| graphics.setDefaultFilter('linear', 'linear', 4) |
| "use strict"; | |
| var Shake = (function () { | |
| function Shake(game) { | |
| this.game = game; | |
| } | |
| /** | |
| * @param {number} amp amplitude in pixels | |
| * @param {number} duration | |
| * @param {boolean} x shake on X axis |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| # Copyright 2017 Josef N Patoprsty | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in all |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
Recently more and more chatbots appear, the overall chatbot market grows and the platform for it grows as well. Today we are taking a close look at what benefits creating a microservice chatbot on Discord - (a communication platform mainly targeted at gamers) would provide.
The concepts and ideas explained in this whitepaper are geared towards bots with a bigger userbase where the limits of a usual bot style appear with a greater effect
(If you are already proficient with the Discord API and the way a normal bot works, you may skip ahead to The Concept)