Skip to content

Instantly share code, notes, and snippets.

View andersquist's full-sized avatar

Anders Quist andersquist

View GitHub Profile
@andersquist
andersquist / slack_history.py
Created October 17, 2018 15:34 — forked from minniel/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
from slacker import Slacker
import json
import argparse
import os
import shutil
import copy
from datetime import datetime
# This script finds all channels, private channels and direct messages
# that your user participates in, downloads the complete history for
##########################################################
# You run this uing the following steps:
# - Start CMD or Powershell
# - Enter:
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/andqui/a77893e9b9fd1ba35369/raw/273dc46570a64f8c17d5da84ffeac40f2683b595/boxstarter.txt
##########################################################
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
# For docker support
cinst Microsoft-Hyper-V-All -source windowsFeatures
@andersquist
andersquist / gist:ff1f90e13d8ac0f22c9a
Created December 1, 2015 15:36
Setting up Chef on Mac OSX
vagrant plugin install vagrant-winrm
vagrant plugin install vagrant-berkshelf
eval "$(chef shell-init bash)"
# Generate new cookbook
chef generate cookbook powershell