Skip to content

Instantly share code, notes, and snippets.

View m4rky77's full-sized avatar

Marcos Reynoso m4rky77

  • Azertyva
  • Buenos Aires, Argentina
View GitHub Profile
@m4rky77
m4rky77 / README.md
Created August 22, 2014 14:12 — forked from hartman/README.md

Usage

Install cordova into node_modules

npm install cordova

Add icons_and_splash.js

// This systemd runs iptables-restore on boot:
[Unit]
Description=Packet Filtering Framework
DefaultDependencies=no
After=systemd-sysctl.service
Before=sysinit.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/iptables-restore /opt/docker/scripts/iptables/iptables.rules
// Runs tasks periodically. Is able to freeze when page is not active.
// Requires visibility.js: https://github.com/ai/visibilityjs
angular.module('someting', [])
.run(['$rootScope', function($rootScope) {
// wrapping visibility API into $rootScope.
// page becomes hidden when user switched tabs or minimized the window
@m4rky77
m4rky77 / adf.html
Last active September 4, 2015 20:44 — forked from sdorra/adf.html
ADF shared data
<div>
<h3>angular-dashboard-framework</h3>
<p>Dashboard framework with Angular.js and Twitter Bootstrap.</p>
</div>
Hi
I hope this helps you all get started with phonegap and sqlite in your
application
Dean-O
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>