Skip to content

Instantly share code, notes, and snippets.

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

Dustin Senos dustinsenos

🏠
Working from home
View GitHub Profile
{"data":[{"id":"1432750582849","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Trends\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".module.trends { display: none; }\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750082921","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Promoted Tweets\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\"*[data-promoted] { display:none; }\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750240677","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Who to Follow\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".wtf-module,\\n.WhoToFollow {\\n\\tdisplay: none !important;\\n}\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750414498","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Footer\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".Footer { display: none }\",\"domains\":[\"t
#pagelet_trending_tags_and_topics,
#pagelet_ego_pane,
.rhcFooterWrap {
display: none !important;
}
[data-reactid*="$interestsNav"],
[data-reactid*="$developerNav"],
[data-reactid*="$pagesNav"],
[data-reactid*="$listsNav"],
[data-reactid*="$eventsNav"],
@dustinsenos
dustinsenos / ROT13.swift
Last active August 29, 2015 14:26
ROT13 in Swift with Emoji support 😍
//: Playground - noun: a place where people can play
// Converts a string into it's ROT13 equavalent. Note, this is not a secure way (at all) to encrypt private data.
// Please look into BCRYPT or something similar for sensistive data
extension String {
var encrypt: String {
return self.run(self, rotateAmount: 13)
}
var decrypt: String {
@dustinsenos
dustinsenos / rename-text-layers.js
Last active February 1, 2019 08:29
A simple sketch plugin to rename the selected layers to match the contents of their text.
var sketch = context.api()
var MAX_CHARS = 60
var document = sketch.selectedDocument
var selection = document.selectedLayers
var renamedTextLayers = false
selection.iterate(function(item) {
if (!item.isText) {
return
@dustinsenos
dustinsenos / Google Music Badge SVG.svg
Last active November 8, 2017 23:21
Cleaned up version of the google music badge. For some reason it had a ton of unneeded points…
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dustinsenos
dustinsenos / zoombot.applescript
Last active June 25, 2020 09:26
Send a message in zoom every N seconds
-- this is working in Zoom v4.6.7
set appname to "zoom.us"
set botmessage to "[karaoke bot] ping! this message keeps the karaoke app running :)"
repeat while true
tell application appname
activate
end tell
tell application "System Events"