Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mngau's full-sized avatar

Melissa Ngau mngau

  • Midnyte City
  • Australia
View GitHub Profile
@Christian-G
Christian-G / slack_download_profiles.rb
Last active May 27, 2019 02:23
Download profile pictures from Slack, use in combination with slack image scraper: https://gist.github.com/Christian-G/ccad3257e68c4b31d790c4ed66a51761
require 'open-uri'
require 'json'
class Profile
DATA = JSON.parse('<data object>')
end
Profile::DATA.each do |profile|
location = profile.last.sub('https', 'http')
name = profile.first

[DoneSafe] (https://donesafe.com) is a startup in Health and Safety and we’re looking for a developer friend 👍 👍 to work with us. We're based in Sydney and Melbourne. This role will be based in Melbourne.

Who are we? DoneSafe aims to make people happy with the H&S experience, which takes dedication and thought but we’re excited to help. The core of our business is six people but we're expecting to pick up speed pretty quickly. We call ourselves the people’s safety software because we think it’s important to look after people through H&S. We have revenue and clients so we’re not just running on investor capital. We’ve made a bunch of sales mostly to businesses who have between ten and a thousand employees. Now we’re starting to take a hard look at some bigger customers and they need things we don’t have currently. We've sold one big ASX-listed customer and now it's time to do more. Which is where you come in 😄

What’s the role? Essentially we need someone to help build upon t

@joshuajnoble
joshuajnoble / slackDownloadThenDelete.py
Last active February 16, 2018 05:46 — forked from jayliu50/slackDownloadThenDelete.py
Download then delete files older than 14 days from Slack
import sys
import requests
import json
import calendar
from datetime import datetime, timedelta
# This script will download, then delete the non-external files older than 14 days.
_token = "" # administrator token, from https://api.slack.com/web
_project = "" # project name, from http://[project].slack.com
@lmarkus
lmarkus / README.MD
Last active March 27, 2024 07:15
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...

@jamescmartinez
jamescmartinez / slack_delete.rb
Last active January 4, 2021 21:28
This Ruby script will bulk remove all Slack files older than 30 days. Just add your API token from https://api.slack.com/web#authentication into the token quotes at the top of the file.
require 'net/http'
require 'json'
require 'uri'
@token = ''
def list_files
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago
params = {
token: @token,
@jmiserez
jmiserez / export_google_music.js
Last active December 20, 2023 01:45
(fixed/updated 2016-05-10) Export your Google Music Library and Playlists (Google Play Music All Access) (see http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music for more)
// Copyright 2016 Jeremie Miserez <jeremie@miserez.org>
//
// MIT License
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O
@ravasthi
ravasthi / _config.yml
Created February 15, 2012 08:59
Multiple authors on Jekyll
authors:
hanzou:
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
email: hanzou@company.com
web: http://company.com
twitter: company
github: hhattori
jorgen: