Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / Terms-and-conditions.html
Created July 18, 2014 09:33
Roach Haus Website T's&C's
<h2> Web Site Terms and Conditions of Use </h2> <h3> 1. Terms </h3> <p> By accessing this web site, you are agreeing to be bound by these web site Terms and Conditions of Use, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this web site are protected by applicable copyright and trade mark law. </p> <h3> 2. Use License </h3> <ol type="a"> <li> Permission is granted to temporarily download one copy of the materials (information or software) on Roach Haus's web site for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not: <ol type="i"> <li>modify or copy the materials;</li> <li>use the materials for any commercial purpose, or for any public display (commercial or non-commercial);</li> <
@roachhd
roachhd / EULA.html
Created September 3, 2014 14:38
Apple App EULA (End User License Agreement)
LICENSED APPLICATION END USER LICENSE AGREEMENT The Products transacted through the Service are licensed, not sold, to You for use only under the terms of this license, unless a Product is accompanied by a separate license agreement, in which case the terms of that separate license agreement will govern, subject to Your prior acceptance of that separate license agreement. The licensor (“Application Provider”) reserves all rights not expressly granted to You. The Product that is subject to this license is referred to in this license as the “Licensed Application.” a. Scope of License: This license granted to You for the Licensed Application by Application Provider is limited to a non-transferable license to use the Licensed Application on any iPhone or iPod touch that You own or control and as permitted by the Usage Rules set forth in Section 9.b. of the App Store Terms and Conditions (the “Usage Rules”). This license does not allow You to use the Licensed Application on any iPod touch or iPhone that You do n
Mobile App Development & Description Introduction In this blog, I am going to discuss about mobile app development, related technologies, types of application in current scenario, from past and the future along with their related operating systems. So buckle up and get ready for this app journey.. Here we go! Applications | Overview We are in an era of applications that are continuously making our life easier, better and I can say extended. So just go through all these types and be a part of this app era. Definition Application is nothing but a set of program or codes that are designed for performing some required or pre defined operations. There can be several types of applications. Based on their functionality, their definition and working methodology, technologies also differ from each other. Now, I am taking you in an ocean of applications… Current Scenario | App Development Here, I am comparing the data of few years on mobile based devices like tablets, smartphones, fablets, etc. with interne
This article shows how the use advertisment system on iOS and Android platform using cross platfrom development tool Download source - 175.4 KB  Introduction  This article provides basic information about advertisement systems. To make our work most effective, we use a Moscrif SDK. Moscrif SDK allows creating application for about 90% of currently used devices with only one code. More information about Moscrif SDK is available on its homepage: www.moscrif.com Advertisement systems Many developers decide to make their applications available for free and earn money from the advertisements. However, paying attention for users of every single platform may be too difficult and time consuming. Therefore, advertisement systems were developed to simplify this task. Currently, Moscrif supports two systems: AdMob and iAd. AdMob AdMob is a mobile advertisement system provided by Google. It is used by many well known brands like Ford, Coca-Cola, EA, P&G, Land Rover, MTV Europe, Adidas, AccuWeather and many others. For
@charset "UTF-8";
/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2013 Daniel Eden
*/
.animated {
@roachhd
roachhd / wordpress_mobile_detection.html
Created September 20, 2014 15:19
for adding a second theme to use a a mobile them to a wordpress site
<?php
include("Mobile_Detect.php");
$detect = new Mobile_Detect();
if (!$_SESSION['switched']
&& !is_admin()
&& $detect->isMobile()
&& empty($_REQUEST['wptheme'])
&& get_current_theme() != 'My%20Mobile%20Page%20V3%20Wordpress%20Theme') {
$_SESSION['switched'] = true;
header('Location: http://yourwebsiteurl.com?wptheme=My%20Mobile%20Page%20V3%20Wordpress%20Theme');
@@ -71,7 +71,7 @@
if (this.isRTL){
this.picker.addClass('datepicker-rtl');
this.picker.find('.prev i, .next i')
- .toggleClass('icon-arrow-left icon-arrow-right');
+ .toggleClass('fa-arrow-left fa-arrow-right');
}
$(document).on('mousedown', function (e) {
// Clicked outside the datepicker, hide it
@@ -951,9 +951,9 @@
@roachhd
roachhd / generate.js
Last active August 29, 2015 14:06 — forked from seejohnrun/generate.js
var url = 'https://lh6.googleusercontent.com/-NQAMokukfdE/AAAAAAAAAAI/AAAAAAAAAAA/zSaLZajdgEI/s48-c-k-no/photo.jpg';
var xoffset = 240;
var yoffset = 210;
var pixelSize = 7;
var viewportWidth = 800;
var viewportHeight = 670;
//
// And away we go
//
<div id='ibb-widget-root-910378024'></div><script>(function(t,e,i,d)\{var o=t.getElementById(i),n=t.createElement(e);o.style.height=50;o.style.width=300;o.style.display='inline-block';n.id='ibb-widget',n.setAttribute('src',('https:'===t.location.protocol?'https://':'http://')+d),n.setAttribute('width','300'),n.setAttribute('height','50'),n.setAttribute('frameborder','0'),n.setAttribute('scrolling','no'),o.appendChild(n)\})(document,'iframe','ibb-widget-root-910378024',"banners.itunes.apple.com/banner.html?partnerId=&aId=&bt=catalog&t=catalog_black&id=910378024&c=us&l=en-US&w=300&h=50");</script>
<div id='ibb-widget-root-917248040'></div><script>(function(t,e,i,d){var o=t.getElementById(i),n=t.createElement(e);o.style.height=50;o.style.width=300;o.style.display='inline-block';n.id='ibb-widget',n.setAttribute('src',('https:'===t.location.protocol?'https://':'http://')+d),n.setAttribute('width','300'),n.setAttribute('height','50'),n.setAttribute('frameborder','0'),n.setAttribute('scrolling','no'),o.appendChild(n)})(document,'iframe','ibb-widget-root-917248040',"banners.itunes.apple.com/banner.html?partnerId=&aId=&bt=catalog&t=catalog_black&id=917248040&c=us&l=en-US&w=300&h=50");</script>