Ionic Ion: Tinder Cards ('-' * 23) An Ion (reusable Ionic widget) for adding tinder-style swipe cards to your app.
This file contains hidden or 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
| <div class="container"> | |
| <h2>Also included in every plan</h2> | |
| <div class="row"> | |
| <div class="col-6 col-lg-3"> | |
| <h4>Team Collaboration</h4> | |
| </div> | |
| <div class="col-6 col-lg-3"> | |
| <h4>Live Preview</h4> | |
| </div> | |
| <div class="col-6 col-lg-3"> |
This file contains hidden or 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
| sudo sed -i "s/archive\.ubuntu/mirrors.digitalocean/g" /etc/apt/sources.list |
This file contains hidden or 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
| # You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
| # This is how I upload my new Sol Trader builds (http://soltrader.net) | |
| # Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
| S3KEY="my aws key" | |
| S3SECRET="my aws secret" # pass these in | |
| function putS3 | |
| { | |
| path=$1 |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>chker</title> | |
| <link type="text/css" href="style.css" rel="stylesheet" /> | |
| </head> | |
| <body> | |
| <div id="chker" class="chker"> |
This file contains hidden or 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
| using System; | |
| using Xamarin.Forms; | |
| namespace FormsGallery | |
| { | |
| public class WebViewDemoPage : ContentPage | |
| { |
This file contains hidden or 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
| #!/bin/sh | |
| echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
| read inputline | |
| name=$inputline | |
| echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
| read inputline | |
| url=$inputline |
This file contains hidden or 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
| // browser detect | |
| var BrowserDetect = { | |
| init: function() { | |
| this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; | |
| this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; | |
| this.OS = this.searchString(this.dataOS) || "an unknown OS"; | |
| }, | |
| searchString: function(data) { | |
| for (var i = 0; i < data.length; i++) { | |
| var dataString = data[i].string; |
This file contains hidden or 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( undefined ){ | |
| /* Apple Device Webkit Browsers */ | |
| var isIdevice = /(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent); | |
| if (isIdevice){ | |
| document.getElementsByTagName('body')[0].className += ' iphone ipod ipad'; | |
| } | |
| var isIphone = /(iPhone).*AppleWebKit/i.test(navigator.userAgent); | |
| if (isIphone){ | |
| document.getElementsByTagName('body')[0].className += ' iphone'; |