Skip to content

Instantly share code, notes, and snippets.

View skynebula's full-sized avatar

Jérémie Fontana skynebula

View GitHub Profile

Settings for exporting Android assets with Photoshop's Generator

Create an empty layer on top of your PSD file and name it like that:

default 100% mdpi/ + 150% hpdi/ + 200% xhdpi/ + 300% xxhdpi/ + 400% xxxhdpi/

And then name your assets layers like:

asset_file_name.png

@skynebula
skynebula / liip_slack_colors.md
Last active May 13, 2020 08:46
Color values to customize your Slack with Liip's brand colors

Liip's colors for Slack


Code to copy/paste:

#414141,#D0DD2C,#FFFFFF,#6EA644,#6EA644,#FFFFFF,#A4C339,#A4C339,#6EA644,#FFFFFF


@skynebula
skynebula / rate.sx_auto-update.txt
Last active December 13, 2017 19:42
Display the BTC/ETH/LTC/... rates in the terminal, refreshed every 60 seconds
while true; do clear && curl rate.sx; sleep 60; done

Keybase proof

I hereby claim:

  • I am skynebula on github.
  • I am skynebula (https://keybase.io/skynebula) on keybase.
  • I have a public key whose fingerprint is DB2F 32CA 444C F563 DCC9 0B08 48D3 2A5F 3FB2 A5CB

To claim this, I am signing this object:

@skynebula
skynebula / wax_slack_colors.txt
Last active December 13, 2017 19:40
Color values to customize your Slack with Wax Interactive's brand colors
#333333,#444444,#009EE0,#FFFFFF,#666666,#FFFFFF,#009EE0,#009EE0
@skynebula
skynebula / gist:9047142
Created February 17, 2014 09:01
Vertical align anything with just 3 lines of CSS /via http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/
.element {
position: relative;
top: 50%;
transform: translateY(-50%);
}
---
@mixin vertical-align {
position: relative;
@skynebula
skynebula / gist:8237027
Last active October 6, 2023 00:32
Just type that in your terminal to disable the default "open document" prompt window on macOS when you launch TextEdit or Writer, and to get a blank new document instead.
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false