I hereby claim:
- I am silvenga on github.
- I am silvenga (https://keybase.io/silvenga) on keybase.
- I have a public key whose fingerprint is DC75 80D8 0D67 53DC F209 2A54 37F1 A037 FEF7 8709
To claim this, I am signing this object:
| start on filesystem and started networking | |
| stop on shutdown | |
| author "Mark Lopez" | |
| description "Ghost Upstart Job" | |
| version "0.2" | |
| respawn | |
| respawn limit 5 30 |
| package com.silvenga.singleton; | |
| import java.util.Random; | |
| public class RandomSingleton | |
| // Basic interface for a Singleton | |
| public static Random getInstance() { | |
| // Return the instance of Random created in RandomContainer |
| <!-- This is a jquery plugin - we need jquery > 2.1 --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
| <!-- Off load the animations to CSS so we can get hardware acceleration --> | |
| <link rel="stylesheet" type="text/css" href="jquery.lazyView.min.css" /> | |
| <!-- The lazyView script --> | |
| <script src="jquery.lazyView.min.js"></script> | |
| <script> | |
| $(document).ready(function() { | |
| // Select the HTML portion to lazyView. |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Mark Lopez (Silvenga) <m@silvenga.com> | |
| # https://silvenga.com | |
| # | |
| {% set requirements = ['jinja2', 'flask', 'flask-wtf', 'requests', 'pymongo', 'werkzeug==0.9.4', 'cherrypy'] %} | |
| {% set install_path = '/opt/saltpad' %} | |
| {% set git_rev = 'f62809f6a854b9e9d49bd1534b09b7943abec354' %} | |
| {% set api_url = 'https://YOURSALTMASTER.net' %} | |
| {% set secret_key = '' %} |
| #!/bin/bash | |
| export PASSPHRASE={{ grains['backup.password'] }} | |
| export AWS_ACCESS_KEY_ID={{ grains['backup.aws_id'] }} | |
| export AWS_SECRET_ACCESS_KEY={{ grains['backup.aws_key'] }} | |
| FOLDER={{ grains['id'] }} | |
| TARGET=s3+http://{{ grains['backup.aws_bucket'] }}/$FOLDER | |
| SOURCE=/ | |
| LOGLOC=/var/log/nightly-backup |
| var guid = Guid.Parse("10a5be07-e2ba-46fa-bb18-273f77dc39f0"); | |
| var b = guid.ToByteArray(); | |
| var mirror = guid.ToByteArray(); | |
| b[0] = mirror[3]; | |
| b[1] = mirror[2]; | |
| b[2] = mirror[1]; | |
| b[3] = mirror[0]; |
| $apps = @( | |
| "A278AB0D.MarchofEmpires", | |
| "9E2F88E3.Twitter", | |
| "Facebook.Facebook", | |
| "king.com.CandyCrushSodaSaga", | |
| "Microsoft.MicrosoftSolitaireCollection", | |
| "Microsoft.SkypeApp", | |
| "Microsoft.MinecraftUWP", | |
| "Microsoft.MicrosoftOfficeHub", | |
| "Microsoft.BingWeather", |
| { | |
| "expected_update_period_in_days": "14", | |
| "url": "https://billing.dacentec.com/hostbill/index.php?/cart/dedicated-servers/", | |
| "type": "html", | |
| "mode": "on_change", | |
| "extract": { | |
| "Title": { | |
| "css": "tbody > tr th:nth-child(1)", | |
| "value": "normalize-space(.)" | |
| }, |
| {% set network = "master" %} | |
| {% set id = grains['id'] %} | |
| {% set interface = "Master" %} | |
| {% set interfaceConfig = pillar['vAddress'] + " 255.255.0.0" %} | |
| {% set tincBase = "C:\\Program Files (x86)\\tinc\\" %} | |
| {% set configBase = tincBase + network + "\\" %} | |
| {% set hostsPath = configBase + "hosts\\" %} | |
| {% set port = "655" %} |