start new:
tmux
start new with session name:
tmux new -s myname
| (function () { | |
| WebSocket.prototype._send = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function (data) { | |
| this._send(data); | |
| this.addEventListener('message', function (msg) { | |
| console.log('>> ' + msg.data); | |
| }, false); | |
| this.send = function (data) { | |
| this._send(data); | |
| console.log("<< " + data); |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
(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.
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright (C) 2015 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| # Most part of this file is created by https://www.gitignore.io | |
| ### Node ### | |
| # Logs | |
| logs | |
| *.log | |
| # Runtime data | |
| pids | |
| *.pid |
In some cases the IC might determine that a PM meeting for the incident isn't needed.
If the IC decides to waive the meeting please replace the Meeting section with a
note indicating the meeting has been waived (example: Meeting waived: Paul Mooring)
| //------------------------------------------------ | |
| // Report on Budget vs Spend (Hybrid) | |
| // Created by: Remko van der Zwaag & PDDS | |
| // remkovanderzwaag.nl & pdds.nl | |
| // More info: http://goo.gl/d0KVTd | |
| // CHANGELOG | |
| // 12-06-2014: Combined two separate scripts into one Hybrid version (for MCC and accounts) | |
| // 12-02-2015: Added column Spend yesterday and empty columns with days | |
| // 18-06-2015: Added logic to only check campaigns with a specific label | |
| // 03-02-2016: Will check for labelled adgroups in ignored campaigns |
| var T = require("twit"); | |
| var Q = require("q"); | |
| // key and secret for Twitter for iPhone. | |
| // A whitelisted app is needed to access the cards API; you can't just create your own currently. | |
| var TWITTER_CONSUMER_KEY = "IQKbtAYlXLripLGPWd0HUA"; | |
| var TWITTER_CONSUMER_SECRET = "GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU"; | |
| // These you will have to fill in yourself by authorizing Twitter for iPhone for your account. | |
| // How to get the access tokens through OOB authorization is outside the scope of this snippet. | |
| var TWITTER_ACCESS_TOKEN = ""; |
| #!/bin/bash | |
| # | |
| # Author: SuperPaintman <[email protected]> | |
| # | |
| ### | |
| # Constants | |
| ### | |
| RETVAL=0 |