Skip to content

Instantly share code, notes, and snippets.

View JoeMeeks's full-sized avatar

Joe Meeks JoeMeeks

View GitHub Profile
@codinronan
codinronan / InputMask.html
Last active October 26, 2018 23:44 — forked from JoeMeeks/InputMask.html
Custom Ionic 2 & 3 Input Mask Directive
<ion-input type="tel" pattern="\d*" placeholder="(xxx) xxx-xxxx" mask="(***) ***-****" [(ngModel)]="phone" name="phone"></ion-input>
<ion-input type="tel" pattern="\d*" placeholder="xxx-xx-xxxx" mask="***-**-****" [(ngModel)]="ssn" name="ssn"></ion-input>
@JoeMeeks
JoeMeeks / InputMask.html
Last active October 25, 2020 13:44
Custom Ionic 2 & 3 Input Mask Directive
<ion-input type="tel" pattern="\d*" placeholder="(xxx) xxx-xxxx" mask="(***) ***-****" [(ngModel)]="phone" name="phone"></ion-input>
<ion-input type="tel" pattern="\d*" placeholder="xxx-xx-xxxx" mask="***-**-****" [(ngModel)]="ssn" name="ssn"></ion-input>
Here's a list of the most common folders in the iOS file system. Please note, if your device is still jailed you are NOT able to see these folders.
/Applications
This is where pre-installed native apps and jailbreak apps are installed.
/Library/Ringtones
This is where the pre-installed ringtones are stored. User-purchased ringtones are placed in /private/var/mobile/Media/Ringtones
/Library/Wallpaper
This is where Wallpapers and Lockscreens are stored.
@james2doyle
james2doyle / scrollTo.js
Last active November 29, 2023 11:41
a native scrollTo function in javascript that uses requestAnimationFrame and easing for animation
// easing functions http://goo.gl/5HLl8
Math.easeInOutQuad = function (t, b, c, d) {
t /= d/2;
if (t < 1) {
return c/2*t*t + b
}
t--;
return -c/2 * (t*(t-2) - 1) + b;
};