Skip to content

Instantly share code, notes, and snippets.

Erez Weiss ruggertech

  • tel aviv, israel
View GitHub Profile
@ruggertech
ruggertech / toggleMacProxy.sh
Created May 23, 2019
turn free proxy on, using mac command line
View toggleMacProxy.sh
#!/bin/sh
SERVICE="Thunderbolt Ethernet Slot 1" # or "Wi-Fi"
echo $PROXYHOST
while [[ $# > 0 ]]
do
case "$1" in
on)
PROXYHOST="$(curl "http://pubproxy.com/api/proxy?limit=1&format=txt&type=socks5&https=true&google=true")"
View black-slack
/**
* add this code to the file ssb-interop.js
* you can find it by going to Applications -> Slack
* -> right click "show package content" -> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static
*/
var cssURI = 'https://gist.githubusercontent.com/ruggertech/75b250418eaf6fa6a801ce897208f6c4/raw/a222b16c5a5d7d732624d8d9cd9c3ef17aa3e40f/slack-theme.css';
$.get(cssURI).then(function(css) {
$('<style />').text(css).appendTo('body')
});
View slack-theme.css
body, .channel_header, # footer, .channel_title_info, # channel_topic_text {
background: rgb(0, 43, 54);
}
.c - message__body {
color: rgb(153, 174, 177);
}
# team_menu, .p - channel_sidebar {
background: #023f4e !important;
}
.c-presence--active {
View gist:d6542b5be4ce25475eea2c7678d0183f
/**
* add this code to the file ssb-interop.js
* you can find it by going to Applications -> Slack
* -> right click "show package content" -> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static
*/
document.addEventListener('DOMContentLoaded', function() {
let tt__customCss = `
body,
.channel_header,
@ruggertech
ruggertech / Dark Theme Whatsapp Web.user.js
Last active May 22, 2020
Using this script with TamperMonkey you can have your whatsapp web turned into an un-noticeable dark theme app
View Dark Theme Whatsapp Web.user.js
// ==UserScript==
// @name Dark Theme Whatsapp Web
// @namespace http://userstyles.org
// @description My custom theme for Whatsapp Web. With orange and dark shades.
// @author David Jiménez
// @homepage https://userstyles.org/styles/109575
// @include https://web.whatsapp.com/
// @run-at document-start
// @version 0.20170512183823
// ==/UserScript==
View .Vrome
set disablesites=https://mail.google.com, http://editor.swagger.io, https://www.youtube.com
You can’t perform that action at this time.