Skip to content

Instantly share code, notes, and snippets.

View James-Firth's full-sized avatar
🐙

James Firth James-Firth

🐙
View GitHub Profile
@norganna
norganna / README.md
Last active May 2, 2024 05:22
A slack bot to invite users from one channel to another.

Using:

Installing the script

Make a new directory and put the run.js script into it.

Run npm in that same directory to install the slack web-api module:

npm install @slack/web-api
@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...

@joshfinley
joshfinley / ubuntu-15.04-customized-setup.sh
Last active November 17, 2023 20:55
Since I frequently break my Linux installs by poking and prodding at different things, I've decided it's time to create a script that can take an out-of-the-box Ubuntu installation and set it up to my liking. Currently, if I run this script on a fresh install of ubuntu, it works, and the memory usage comes out at an average of 105 mb.
#!/bin/bash
# !WARNING! This script does extreme things to Unity. In fact it annihilates it. If you wish to
# run this script, please just give it a once over before you do so. This way, you'll understand
# what it is actually doing and may be prepared for the results.
# A script to setup Ubuntu the way I like it.
# Also its advisable to start this from a seperate tty. Ya know, because this script breaks things :)
# Update Repositories and install new versions of current packages
@Nava2
Nava2 / List.md
Last active August 29, 2015 14:13
A short post about technical books for New Grads

Someone asked me about books for becoming a better developer/how to interview. Most of these assume you have some programming background, which I expect everyone does. :)

Programming

Java:

Effective Java 2nd Edition

An awesome book that will teach you how to be proficient and intelligent in your Java designs.

@lewkoo
lewkoo / add_all_untracked_to_gitignore.sh
Created December 10, 2014 07:50
Add all untracked files to .gitignore
git status -s | grep -e "^\?\?" | cut -c 4- >> .gitignore
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 11, 2024 07:10
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname