Skip to content

Instantly share code, notes, and snippets.

@ebcodes
ebcodes / install_jenkins_plugin.sh
Created December 19, 2017 05:29 — forked from nhojpatrick/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/usr/bin/env bash
set -e
set -o pipefail
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins"
plugin_dir="/var/lib/jenkins/plugins"
include_optionals=false
showUsage() {
@ebcodes
ebcodes / README.md
Last active July 9, 2019 01:19
Slack Dark Theme 3.4.2

Instructions (works with v3.4.2)

  • Download Slack (Linux: https://slack.com/downloads/linux)
  • Download the theme from https://github.com/laCour/slack-night-mode (or use the below css file)
  • Modify index.js if you like and add to /Applications/Slack.app/Contents/Resources/extracted/src/static (override the original)
    • Windows: %homepath%\AppData\Local\slack\app-3.4.2\resources\app.asar.unpacked\src\static (use forward slashes in ssb-interop.js and index.js)
    • Linux (Debian based): /usr/lib/slack/...
    • Linux (Not Working Currently! -- Fedora - Flatpak version): /var/lib/flatpak/app/com.slack.Slack/current/active/files/extra/lib/slack/resources/app.asar.unpacked/
    • Linux (RPM/DEB verson): /usr/lib/slack/resources/app.asar.unpacked/
  • Modify ssb-interop.js to point the correct CSS file near the bottom of the script below
  • Modify index.js below (lines 8-13)