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');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');The task for this month is to create a simple Hubot script to play Cards Against Humanity on Slack. Yay productivity!
The rules for the challenge will be the minimum set of rules of the game (full rules), only using the house rule of public voting (God is Dead rule)
This is an adaptation for the RubyQuiz #108 Word Blender, lots of spoilers there so best to look after!
The task for this month is to build a game based on the popular game TextTwist (and many other variations there are). It can be built as sophisticaded as you want, ranging from a command line game to a full featured GUI game if you want.
| .vagrant |
To install a custom package or modify an existing docker image we need to
| -- So as an example of using a log orientated approach in PostgreSQL, | |
| -- let's write a simple blog application. We will want to be able to: | |
| -- * Write and edit blog posts | |
| -- * Publish revisions of posts for public viewing | |
| -- * Delete posts | |
| -- * Add or remove tags to posts | |
| -- Let's start by creating a schema. |
| function countPieces() { | |
| it = b.pieces(); | |
| var i = 0; | |
| while (it.current()){ i++; it.next() } | |
| return i; | |
| } | |
| function getRandPiece() { | |
| var it = b.pieces(); |
| //spam message the chats with thirugram.js | |
| //open up telegram web and go to the chat you want to spam | |
| //open console ( Ctrl + Shift + J ) | |
| //execute the code | |
| var message = ""; //spam message | |
| var interval = 1 ; // in seconds | |
| var count = 10 ; //number of times to send | |
| var notifyInterval = 5 ; //notify | |
| var i = 0 ; | |
| var timer = setInterval(function(){ |
| AWS_CONFIG = { | |
| 'access_key_id' => YOUR_ACCESS_KEY, | |
| 'secret_access_key' => YOUR_SECRET_ACCESS_KEY, | |
| 'bucket' => 'froala', | |
| 'acl' => 'public-read', | |
| 'key_start' => 'uploads/', | |
| 'region' => 's3' # For other regions than us-east-1, use s3-region. E.g.: s3-eu-west-1 | |
| } |