Skip to content

Instantly share code, notes, and snippets.

Damien Erambert eramdam

Block or report user

Report or block eramdam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eramdam / dark-theme.png
Last active Apr 1, 2019
Bottom tabs (Firefox Quantum)
eramdam / babel.config.js
Last active Mar 8, 2019
View babel.config.js
module.exports = {
overrides: [
include: [/react-pose/, /stylefire/],
plugins: ['./plugin-transform.js']
eramdam / mastodon-scrollbars-firefox.css
Last active Jan 1, 2019
Add styled scrollbars to Firefox 64+ on Mastodon (if for some reason your instance isn't on mainline Mastodon)
View mastodon-scrollbars-firefox.css
.scrollable {
/* Replace the color by the color of column headers for a better effect. */
scrollbar-color: #313543 transparent;
/* This is optional but I find the default scrollbars way too fat. */
scrollbar-width: thin;
eramdam / old-font.css
Created Aug 28, 2018
Old-ass font TweetDeck userstyle
View old-font.css
html, html .system-font-stack {
font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif;
eramdam / index.js
Created Aug 12, 2018
A small script to unfollow non-mutuals on Mastodon (useful if you need to do some cleaning)
View index.js
const Masto = require('mastodon');
const fs = require('fs')
const M = new Masto({
access_token: 'ACCESS_TOKEN',
api_url: 'https://YOUR-INSTANCE.TLD/api/v1/'
function getNextPage(req) {
return (req.headers && &&'rel="next"')) ?<([^>]+)>/)[1] : null;
View getSelector.js
const getSelector = el => {
let sel = [];
let currEl = el;
while (!!currEl) {
sel = [`${currEl.tagName.toLowerCase()}.${currEl.className.trim().replace(/\s+/g, '.')}`, ;
currEl = currEl.parentElement;
View old-tweetdeck-dark.css
@-moz-document url("") {
html.dark .is-inverted-dark .stream-item{background-color:#fff}
html.dark body{background-color:#1c6399}
html.dark body:before{background-image:radial-gradient(circle,#1c6399,#274256)}
html.dark a{color:#8bd}
html.dark a:hover,html.dark a:focus,html.dark a:active{color:#8bd}
html.dark .txt-mute{color:#8899a6}
eramdam / background-color-iterm2.jpg
Last active Aug 20, 2018
Get A Nice iTerm2/zsh Config With These Easy Tricks! (random emoji goodness)
eramdam /
Last active Dec 30, 2016
Scrambled Eggs: hide "eggs" accounts from notifications


This is just a proof of concept, nowhere complete. I will probably implement this as its own Chrome extension and/or add it to Better TweetDeck.

What's this?

It's a simple userscript that simply hides tweets, likes and retweets from "eggs" accounts on Twitter Web in your Notifications page. That's it. Install it and enjoy.

As said in the disclaimer, it's just a proof of concept. If proven actually useful/efficient it could be turned into a browser extension but will most likely be integrated into Better TweetDeck first.

Twitter ~ GitHub

View index.js
command: (callback) => {
const apple = require('./lib/applescript.js');
callback(null, 'apple');
render: () => `
<div id="player">
<span class="title"></span>
You can’t perform that action at this time.