Skip to content

Instantly share code, notes, and snippets.

View btamayo's full-sized avatar
🏠
Working from home

Bianca Tamayo btamayo

🏠
Working from home
View GitHub Profile
// ==UserScript==
// @name Reddit Title Bold For r/acturnips
// @version 0.1
// @description Bolds Reddit Post Titles
// @author btamayo
// @match https://www.reddit.com/r/acturnips/*
// @run-at document-idle
// @grant GM_addStyle
// @grant GM_getResourceText
// @grant GM_log
@btamayo
btamayo / 00-admin-scripts-and-snippets.md
Last active April 11, 2020 04:59
Admin Scripts and Snippets

00-admin-scripts-and-snippets.md

// ==UserScript==
// @name Reddit Comment Highlighter
// @namespace https://gist.github.com/fgrsnau
// @include http://www.reddit.com/r/*/comments/*
// @include https://www.reddit.com/r/*/comments/*
// @version 1
// @grant none
// ==/UserScript==
var id = $('.content .sitetable .thing:first').attr('data-fullname');
@btamayo
btamayo / pokemon-species-highlight.js
Created April 8, 2020 19:48 — forked from Err0r404/pokemon-species-highlight.js
Highlight Pokemon species in PokeMontpellier.fr
// ==UserScript==
// @name Highlight Pokemon in PokeMontpellier.fr
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Add a bouncing animation to the Pokemon species you want
// @author Err0r404
// @match https://www.pokemontpellier.fr/
// @grant none
// @downloadURL https://gist.githubusercontent.com/Err0r404/7799395b3c34e4d55e64fd33b0342c36/raw/
// @updateURL https://gist.githubusercontent.com/Err0r404/71c5f4882a4a518e85a1b6ce8b613e67/raw/
@btamayo
btamayo / GistAgeHighlighter.user.js
Created April 8, 2020 19:48 — forked from rf5860/GistAgeHighlighter.user.js
[Gist Age Highlighter] Highlights the age of different Github Gist results, based on age #UserScript
// ==UserScript==
// @name Gist Age Highlighter
// @description Highlights the age of different Github Gist results, based on age
// @version 0.4
// @author rjf89
// @match https://gist.github.com/search*
// @grant none
// ==/UserScript==
Array.prototype.flatMap = function(lambda) { return Array.prototype.concat.apply([], this.map(lambda)); };
const setColor = (e, bgColor) => e.parentElement.style = `background-color: ${bgColor}; color: ivory`;
@btamayo
btamayo / ZSHDocumentationEnhancer.user.js
Last active April 17, 2020 02:45 — forked from rf5860/ZSHDocumentationEnhancer.user.js
[ZSH Documentation Enhancer] Make ZSH Documentation more readable #UserScript
// ==UserScript==
// @name ZSH Documentation Enhancer - Dark
// @version 0.4
// @description Make ZSH Documentation more readable (fork from rjf89)
// @require http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js
// @resource theme http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/tomorrow-night.min.css
// @resource bootstrap https://bootswatch.com/4/darkly/bootstrap.min.css
// @author btamayo
// @match http://zsh.sourceforge.net/Doc/*
// @run-at document-start
@btamayo
btamayo / linkshighlight.user.js
Created April 8, 2020 19:48 — forked from Pmmlabs/linkshighlight.user.js
Плагин для VkOpt, который преобразует ссылки на instagram.com, magnet и ftp из текста в собственно ссылки
// ==UserScript==
// @id linkshighlight@vkopt
// @name Links Highlight for VkOpt
// @version 1.1
// @namespace https://greasyfork.org/users/23
// @author Pmmlabs@github
// @description Плагин для VkOpt, подсвечивающий некоторые неподсвечиваемые ссылки
// @include *vk.com*
// @run-at document-end
// @noframes
@btamayo
btamayo / TrueColour.md
Created March 31, 2020 19:41 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 milion)
@btamayo
btamayo / MySQL_5-7_macOS.md
Created February 27, 2019 01:14 — forked from robhrt7/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@btamayo
btamayo / mac-apps.md
Created December 14, 2018 05:23 — forked from erikreagan/mac-apps.md
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik