Skip to content

Instantly share code, notes, and snippets.

View danielmunoz's full-sized avatar
🙃
Life's busy

Daniel Muñoz R. danielmunoz

🙃
Life's busy
View GitHub Profile
@noelleleigh
noelleleigh / multiRedditExportCopyPaste
Last active January 8, 2017 06:38
Produces a string for the multireddit that can be pasted into Alien Blue to easily import your current multireddits.
javascript: (function() {
const subredditsList = document.querySelector('.subreddits').childNodes;
let multiString = '';
subredditsList.forEach(listItem => {
const subName = listItem.firstChild.getAttribute('href').slice(3);
multiString += subName + '+';
});
const instructions = 'Copy this string and send it to your phone. \n\n\ \
In Alien Blue: \n\n \
1. Tap "Edit" \n \
@pburtchaell
pburtchaell / styles.css
Last active February 12, 2025 08:45
VH and VW units can cause issues on iOS devices. To overcome this, create media queries that target the width, height, and orientation of iOS devices.
/**
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units
*
* To overcome this, create media queries that target the width, height, and orientation of iOS devices.
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing
* the height of element `.foo` —which is a full width and height cover image.
*
* iOS Resolution Quick Reference: http://www.iosres.com/
*/
@lexrus
lexrus / disable_all_animation.sh
Created August 1, 2014 06:05
Disable all animations of OS X.
# opening and closing windows and popovers
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
# smooth scrolling
defaults write -g NSScrollAnimationEnabled -bool false
# showing and hiding sheets, resizing preference windows, zooming windows
# float 0 doesn't work
defaults write -g NSWindowResizeTime -float 0.001
@b3ll
b3ll / UIBlurView.m
Created March 24, 2014 22:12
How to iOS 7
// Basically what every single developer has done to update their app for iOS 7 :P
@interface UIBlurView : UIToolbar
@end
@implementation UIBlurView
@end