Skip to content

Instantly share code, notes, and snippets.

View nazmulidris's full-sized avatar
🌞

Nazmul Idris nazmulidris

🌞
View GitHub Profile
@jakubkinst
jakubkinst / ThemedSnackbar.java
Created June 25, 2015 09:26
Android Snackbar with background color themed by colorAccent attribute of current theme
package cz.kinst.jakub.themedsnackbar;
import android.content.Context;
import android.support.design.widget.Snackbar;
import android.util.TypedValue;
import android.view.View;
/**
* Created by jakubkinst on 25/06/15.
@BlakeGardner
BlakeGardner / install nano.sh
Last active May 14, 2024 06:45
Syntax highlighting in nano on Mac OS
# Last updated May, 2024 for Apple silicon Macs
# Install Homebrew if you don't already have it: https://brew.sh
# install nano from homebrew
brew install nano nanorc
# update your nanorc file
echo 'include "'"$(brew --cellar nano)"'/*/share/nano/*.nanorc"' >> ~/.nanorc
# close and re-open your terminal and you'll have syntax highlighting