Skip to content

Instantly share code, notes, and snippets.

@tuur29
tuur29 / 0-kimai-darktheme.md
Created January 4, 2020 22:59
Kimai Dark theme

Kimai Dark theme

Overrides some colours on Kimai "standard" theme.

  1. Define a new stylesheet file skins/standard/dark.css
  2. Add a @import line at the bottom of `skins/standard/styles.css
@tuur29
tuur29 / 0-scrape-slack.md
Last active October 23, 2019 17:10
Scrape slack search results

Scrape slack search results

Usage:

  • Search for from:NAME in Slack
  • Select some filters etc... (perhaps make sure sorting is on most recent?)
  • Paste this script into the dev tools and run in
  • Wait for the output to finish
  • Once you hit the 100th page you need to filter by ending date and re-run the script
  • Now concatenate these outputs together manually and run the following shell script to get you word count: https://gist.github.com/decrn/8f6454f514f481b5f5bd9df33e4e221e
@tuur29
tuur29 / material-colors-table.md
Last active October 23, 2019 17:13
Material Colors table

Material Colors

Preview

Color name 50 100 200 300 400 500 600 700 800 900 A100 A200 A400 A700
Red #FFEBEE #FFCDD2 #EF9A9A #E57373 #EF5350 #F44336 #E53935 #D32F2F #C62828 #B71C1C #FF8A80 #FF5252 #FF1744 #D50000
Pink #FCE4EC #F8BBD0 #F48FB1 #F06292 #EC407A #E91E63 #D81B60 #C2185B #AD1457 #880E4F #FF80AB #FF4081 #F50057 #C51162
Purple #F3E5F5 #E1BEE7 #CE93D8 #BA68C8 #AB47BC #9C27B0 #8E24AA #7B1FA2 #6A1B9A #4A148C #EA80FC #E040FB #D500F9 #AA00FF
Deep purple #EDE7F6 #D1C4E9 #B39DDB #9575CD #7E57C2 #673AB7 #5E35B1 #512DA8 #4527A0 #311B92 #B388FF #7C4DFF
@tuur29
tuur29 / semantic-ui-placeholders.md
Last active January 17, 2023 19:22
Semantic UI 1 & 2 Placeholders

Semantic UI 1 & 2 Placeholders

Avatars v1

Path: https://semantic-ui.com/images/avatar/[size]/[name].jpg
Sizes: large or small

  • https://semantic-ui.com/images/avatar/small/ade.jpg
  • https://semantic-ui.com/images/avatar/small/chris.jpg
  • https://semantic-ui.com/images/avatar/small/christian.jpg