Install Newsboat:
$> brew install newsboat
Install mpv:
$> brew install mpv
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
A test for a module performing trivial transformation on data from an external service:
it('returns the first element in the response', function () {
var serviceResponse = [{a: 1}]
serviceStub.returns(serviceResponse)
expect(subject()).to.equal(serviceResponse[0])
})
$ ssh remote-host "epmd -names"
epmd: up and running on port 4369 with data:
name some_node at port 58769
Note the running on port
for epmd
itself and the port of the node you're interested in debugging. Reconnect to the remote host with these ports forwarded:
$ ssh -L 4369:localhost:4369 -L 58769:localhost:58769 remote-host
sudo apt-get install python-cairo python-memcache python-sqlite memcached python-django-tagging python-django libapache2-mod-python apache2 libapache2-mod-wsgi git-core python-pyparsing python-tz libdbd-mysql-perl libmysqlclient-dev libmysqlclient18 mysql-client-5.5 mysql-client-core-5.5 mysql-common python-mysqldb | |
mkdir -p /var/tmp/software | |
cd /var/tmp/software | |
git clone https://github.com/graphite-project/graphite-web.git | |
git clone https://github.com/graphite-project/carbon.git | |
git clone https://github.com/graphite-project/whisper.git | |
for i in whisper carbon graphite-web; do |
In the seemlingly endless search for the actual correct and easy way to deploy a Rails app, we have tried several ways. We tried out using Apache2 and running a cluster of Thin servers. With the built in threading of Puma we decided to use it with Nginx.
#!/bin/bash | |
# ================================================================= | |
# Install a full scientific python stack from source, for Ubuntu, with | |
# python 2.7.3 (tested on a totally fresh Ubuntu12.04-amd64). Requires | |
# sudo for apt-getting dependencies like libatlas, Tk, etc | |
# ================================================================= | |
# packages pulled from PyPI are currently | |
# scipy 0.10.1 |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: