Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcos Reynoso m4rky77

  • Azertyva
  • Buenos Aires, Argentina
View GitHub Profile
@m4rky77
m4rky77 / adf.html
Last active Sep 4, 2015 — forked from sdorra/adf.html
ADF shared data
View adf.html
<div>
<h3>angular-dashboard-framework</h3>
<p>Dashboard framework with Angular.js and Twitter Bootstrap.</p>
</div>
View TimerRefresher.js
// 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
View gist:1cfbc67df615914bac43
// 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
View README.md

Usage

Install cordova into node_modules

npm install cordova

Add icons_and_splash.js

View gist:6601658
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>