Skip to content

Instantly share code, notes, and snippets.

@shauninman
shauninman / custom.css
Created December 14, 2020 17:25
white out promoted tweets on twitter.com
/* bye-bye brands */
div[aria-label~="Timeline"] div[role="group"]+div{background-color:white;position:absolute !important;top:-24px !important;left:-64px !important;margin-top:0 !important;width:calc(100% + 64px);height:calc(100% + 24px);}
div[aria-label~="Timeline"] div[role="group"]+div *{display:none !important;}
@shauninman
shauninman / afplay-multiple.sh
Last active May 28, 2020 14:08 — forked from sirmews/afplay-multiple.sh
Play all mp3 files in current directory with afplay (sorted properly on Catalina)
#!/bin/bash
find . -name '*.mp3' -print0 | sort -zn | xargs -0 -I '{}' afplay '{}'
//
// Sparrow+SI.h
//
#import <UIKit/UIKit.h>
@interface SPUtils (DeviceAdditions)
+ (BOOL)isDevicePad;
+ (BOOL)isDeviceRetina;
@end