Version: 2.1.1
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
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...
import urllib | |
import os | |
import tweepy | |
import csv | |
import time | |
import PIL | |
from PIL import Image, ImageOps | |
// To turn on JS Aggregation | |
drush vset preprocess_js 1 --yes | |
// To clear all Cache | |
drush cc all | |
// To disable JS Aggregation | |
drush vset preprocess_js 0 --yes | |
// To clear cache of JS and CSS only |
#------------------------------------------ | |
# PANTHEON DEVELOPMENT WORKFLOW v1.01 | |
# Using the Pantheon CLI (terminus) v0.71 | |
#------------------------------------------ | |
# Authenticate with Pantheon. The first step, most of the time. | |
# This is a little insecure, as it lists your password here. But it's convenient. | |
alias pdw-auth='terminus auth login YOURPANTHEONEMAILADDRESS --password=YOURPANTHEONPASSWORD' | |
# Update your local Pantheon site aliases |
/* | |
For this to work you need to have already included FontAwesome (https://fortawesome.github.io/Font-Awesome/) in your <head>: | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> | |
*/ | |
a[href$=".pdf"]:after { | |
font-family: FontAwesome; | |
content: "\00a0\f1c1"; /* 00a0 is a non-breaking space, f1c1 is the pdf symbol */ | |
} |
// Run in console on the history page (http://trakt.tv/users/<username>/history) | |
// Will remove all the items, on that page, from the watched history. | |
$(".posters .grid-item").each(function(){ | |
var $this = $(this); | |
historyRemove($this, $this.data("history-id")); | |
}) |