Skip to content

Instantly share code, notes, and snippets.

View antonioJASR's full-sized avatar
💭
Grug

Antonio Sánchez antonioJASR

💭
Grug
View GitHub Profile
@antonioJASR
antonioJASR / info.plist
Created March 9, 2016 23:34 — forked from mlynch/info.plist
Disable App Transport Security in iOS 9
<!--
This disables app transport security and allows non-HTTPS requests.
Note: it is not recommended to use non-HTTPS requests for sensitive data. A better
approach is to fix the non-secure resources. However, this patch will work in a pinch.
To apply the fix in your Ionic/Cordova app, edit the file located here:
platforms/ios/MyApp/MyApp-Info.plist
And add this XML right before the end of the file inside of the last </dict> entry:
@antonioJASR
antonioJASR / expswitch.markdown
Created May 11, 2014 04:17
A Pen by José Antonio Sánchez Reynaga.
@antonioJASR
antonioJASR / gist:7862427
Created December 8, 2013 19:11
Error compiling c++ code in maverick
s.h:40:11: fatal error:
'errno.h' file not found
# include <errno.h>
^
1 error generated.
#! /usr/bin/env python
# See http://preshing.com/20130115/view-your-filesystem-history-using-python
import optparse
import os
import fnmatch
import time
# Parse options
parser = optparse.OptionParser(usage='Usage: %prog [options] path [path2 ...]')
parser.add_option('-g', action='store', type='long', dest='secs', default=10,