- Ensure Labs => Unread Message Icon feature enabled
- Install "TamperMonkey" chrome plugin
- Add the javascript included in this gist (fix_gmail_unread_favicon.js)
Thanks to Bertrand Schneider
for the code snippet and fix.
" Called with a command and a redirection target | |
" (see `:help redir` for info on redirection targets) | |
" Note that since this is executed in function context, | |
" in order to target a global variable for redirection you must prefix it with `g:`. | |
" EG call Redir('ls', '=>g:buffer_list') | |
funct! Redir(command, to) | |
exec 'redir '.a:to | |
exec a:command | |
redir END | |
endfunct |
Thanks to Bertrand Schneider
for the code snippet and fix.
#!/usr/bin/env bash | |
### | |
# | |
# Setup Mac OS X from scratch using Homebrew & Cask | |
# | |
# Version: 1.2.31 | |
# Date: 20151207 | |
# Author: Ignacio Lago @ignlg | |
# Gist: https://gist.github.com/ignlg/691cb662e92c41289a03 |
/** | |
* GradientArray • Steps gradient. | |
* @author Siamak Mokhtari <[email protected]> | |
* @date 06/21/16. | |
*/ | |
class GradientArray { | |
// Convert a hex color to an RGB array e.g. [r,g,b] | |
// Accepts the following formats: FFF, FFFFFF, #FFF, #FFFFFF | |
hexToRgb(hex) { | |
let r, g, b, parts; |
var browserSync = require('browser-sync').create(); | |
browserSync({ | |
proxy: 'https://www.wikipedia.org/', | |
files: ['assets/**'], | |
serveStatic: ['assets'], | |
rewriteRules: [ | |
{ | |
match: 'portal/wikipedia.org/assets/js/index-6adef12f4f.js', | |
replace: '/js/index.js' |
{- | An EDSL for defining and printing JSON values | |
-} | |
import Data.List (intercalate) | |
---------------- | |
-- JSON Model -- | |
---------------- | |
-- | The JSONValue data type represents a JSON Value |
;;; search-with-llama.el --- Find an answer to your query using llama! -*- lexical-binding: t; -*- | |
;; Copyright (C) 2023 Kiran Gopinathan | |
;; Author: Kiran Gopinathan | |
;; Keywords: | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |