Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍🎨
Being creative!

Daniel Andersson danielandersson

👨‍🎨
Being creative!
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am danielandersson on github.
  • I am dandersson (https://keybase.io/dandersson) on keybase.
  • I have a public key ASCb9mpwflyu_wSFeJ0rwda_24ms8-X2gcy35oydwsOr2wo

To claim this, I am signing this object:

@danielandersson
danielandersson / darkify_slack.sh
Created Sep 25, 2018
Change Slack theme to Night-Mode
View darkify_slack.sh
#! /bin/bash
# Don't want to interpret variables whilst reading from the HEREDOC - thus the single quotes... potto
cat << 'EOF' >> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
We couldn’t find that file to show.
@danielandersson
danielandersson / latex_osx.md
Created Jul 6, 2017 — forked from cebor/latex_osx.md
Thesis LaTeX Guide for OSX
View latex_osx.md

Thesis LaTeX Guide for OSX

Requirements

# Install Basic TeX
brew cask install basictex

# Install Skim (awesome pdf viewer with autoreload)
brew cask install skim
@danielandersson
danielandersson / osx_install.sh
Created Jun 6, 2017 — forked from t-io/osx_install.sh
Install most of my Apps with homebrew & cask
View osx_install.sh
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@danielandersson
danielandersson / twitterfindname.go
Created May 30, 2016 — forked from christianchristensen/twitterfindname.go
Check all 2 letter twitter usernames for availability
View twitterfindname.go
package twitterfindname
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"strings"
)
View apple-shadow.css
.shadow-stuff {
-moz-border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
-webkit-border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
-moz-box-shadow: rgba(0,0,0,.30) 0 2px 3px;
-webkit-box-shadow: rgba(0,0,0,.30) 0 2px 3px;
box-shadow: rgba(0,0,0,.30) 0 2px 3px;
}
.container {