Skip to content

Instantly share code, notes, and snippets.

View ftuyama's full-sized avatar

Felipe Tuyama ftuyama

View GitHub Profile
@cutiepoka
cutiepoka / gist:a9347c68bfcf29060926a8af46bb1701
Created October 6, 2023 18:18
Youtube allow ads popup blocker
// ==UserScript==
// @name youtube popup killer
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author Selbereth
// @match https://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
@ftuyama
ftuyama / TotalSpaces3.restart.plist
Created February 5, 2023 16:42
Auto restart TotalSpaces3 in case of crash. Save it in ~/Library/LaunchAgents/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>TotalSpaces3.restart</string>
@ftuyama
ftuyama / workspace.sh
Created April 14, 2020 13:48
libinput-gestures workspace switch using 3 fingers
#!/bin/sh
# libinput-gestures workspace helper
# Then add the commands in Gesture interface
# Left
# /home/username/workspace.sh -1
# Right
# /home/username/workspace.sh 1
# Up
@ftuyama
ftuyama / macOS
Last active June 15, 2023 20:19
MacOS apps
hyperswitch
iCanHazShortcut
iterm2
zsh
TotalSpaces3
BetterTouchTool
TextSniper
Grammarly
atext
@basilesimon
basilesimon / README.md
Last active October 18, 2022 07:44
discreet-whatsapp-web

A more discreet Whatsapp

This stylesheet intends to render the Whatsapp Web interface more discreet.

It will hide contact names and blur their pictures just enough so you recognise them.
The messages themselves will be blurred as well and reveal on hovering them with your mouse.
Incoming and outgoing pictures and media will be blurred and greyed out to remove obvious colour dominances, such as blood or skin.

Installation

@dogancelik
dogancelik / download.coffee
Last active November 5, 2020 01:37
How to download an image file? (Example) #Node.js
request = require 'request'
http = require 'http'
fs = require 'fs'
unirest = require 'unirest'
needle = require 'needle'
bhttp = require 'bhttp'
url = 'http://raw.githubusercontent.com/alrra/browser-logos/master/main-desktop.png'
# request
@kevinberny
kevinberny / AnyConnect_SecurID
Last active May 4, 2023 10:58
Mac OS X AppleScript to automate RSA SecurID pin & Cisco AnyConnect client connection. Leverages keychain. Cobbled together from several other previous postings
set the clipboard to ""
set appname to "SecurID"
set thePin to RsaTokenPin()
activate application appname
do shell script "networksetup -setairportpower en0 on"
tell application appname
activate
@pksunkara
pksunkara / config
Last active May 22, 2024 13:43
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta