This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
$.fn.myPlugin = function(params) { | |
//Plugin code | |
} | |
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-modal-view class="modal-fullscreen"> | |
<ion-header-bar> | |
<h1 class="title">My Title</h1> | |
<button class="button" ng-click="close()"><i class="icon close"></i></button> | |
</ion-header-bar> | |
<ion-content overflow-scroll="true"> | |
<ion-scroll zooming="true" direction="xy" scrollbar-x="false" scrollbar-y="false" min-zoom="1" class="helper-zoom-container"> | |
<div class="row"> | |
<div class="col col-center"> | |
<img src="https://placeholdit.imgix.net/~text?txtsize=1024&txt=1024%C3%97176&w=1024&h=1024" alt="" class="img-center img-fullscreen" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mv ~/.atom ~/Dropbox/Apps/Atom | |
$ ln -s ~/Dropbox/Apps/Atom ~/.atom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Ionic | |
//Available Devices | |
ios-sim showdevicetypes | |
//Target a device | |
ionic emulate ios --target="iPhone-4s" | |
//Cordova | |
//Available Devices | |
./platforms/ios/cordova/lib/list-emulator-images | |
//Target a device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// =FONTS | |
//--------------------------------------------------------------------------------------- | |
//Font 01 | |
@font-face { | |
font-family: 'font-01'; | |
src: url('../fonts/webfont.eot'); | |
src: url('../fonts/webfont.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/webfont.woff2') format('woff2'), | |
url('../fonts/webfont.woff') format('woff'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<access origin="*"/> | |
<access origin="tel:*" launch-external="yes" /> | |
<access origin="mailto:*" launch-external="yes" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html class="no-touch"> | |
<head> | |
<style> | |
.no-touch h1 { | |
color:red; | |
} | |
.touch h1 { | |
color:green; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button { | |
background-color: #fff; | |
border:solid 1px #333; | |
color: #000; | |
.no-touch &:hover, .touch &:active { | |
background-color: #333; | |
color: #fff; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.someinput::-ms-clear { | |
display: none; | |
} |
NewerOlder