Skip to content

Instantly share code, notes, and snippets.

Recovering CentOS files

Install testdisk tool

First we need to enable EPEL repository:

sudo yum install epel-release
sudo yum update
@lmarkus
lmarkus / README.MD
Last active May 2, 2024 09:21
Extracting / Exporting custom emoji from Slack

Extracting Emoji From Slack!

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...

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 3, 2024 12:59
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@sarkkine
sarkkine / install_selenium.sh
Created October 11, 2011 09:47
Ubuntu Install script for selenium plus required xvfb, firefox and Java 6
#!/bin/bash
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get -y update
SELENIUM_JAR=selenium-server-standalone-2.8.0.jar
SELENIUM_PATH=/var/lib/selenium
# Accept Java licenses automatically
echo sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true | sudo /usr/bin/debconf-set-selections
echo sun-java6-jre shared/accepted-sun-dlj-v1-1 select true | sudo /usr/bin/debconf-set-selections