This file contains 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 | |
# This is a shell archive | |
echo x py-buildbot | |
mkdir -p py-buildbot > /dev/null 2>&1 | |
echo x py-buildbot/pkg-plist | |
sed 's/^X//' > py-buildbot/pkg-plist << 'SHAR_END' | |
Xbin/buildbot | |
Xbin/buildbot-%%PYTHON_VER%% | |
Xetc/rc.d/buildbot | |
X%%PYTHON_SITELIBDIR%%/buildbot-3.4.0-py%%PYTHON_VER%%.egg-info/PKG-INFO |
This file contains 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
''' | |
SSL/TLS certificate generator | |
This script will either create a new key + csr for a new ssl domain or just a new csr, if you already have a key and | |
you are just renewing a cert | |
''' | |
from __future__ import absolute_import | |
import salt.pillar |
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>${subject}</title> | |
<style type="text/css"> | |
img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;} | |
a img { border: none; } | |
table { border-collapse: collapse !important;} |
This file contains 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
/* | |
Copyright 2015 Aristedes Maniatis | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains 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
#!python3 | |
import argparse | |
import locale | |
import logging | |
from datetime import datetime, date | |
from lib.moneyworks import Moneyworks | |
from lib.transaction import Transaction | |
mw = Moneyworks('/usr/local/etc/salt/runner/mw.ini') |
This file contains 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
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> | |
<script type="text/javascript"> | |
var ciVersion = '${ciVersion}'; | |
var editorVersion = '${editorVersion}'; | |
var checkoutVersion = '${checkoutVersion}'; | |
</script> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<t:any element="meta" name="generator" content="prop:metaGeneratorContent" /> |
This file contains 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
{% set backends = [ 'colo.dash', 'colo.flash' ] %} | |
{% set applications = [ 'willow_api', 'willow_services' ] %} | |
#### | |
# Loop through the applications, and for each loop through the backends | |
#### | |
{% for application in applications %} | |
{% for backend in backends %} |
This file contains 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
[Suggested description] | |
Password exposure in Cognito Software Moneyworks 8.0.3 ( http://cognito.co.nz/ ) and earlier allows | |
attackers to gain administrator access to all data, because verbose logging writes the administrator password to a world-readable file. | |
------------------------------------------ | |
[Additional Information] | |
1. Original issue discovered and notified to the vendor: 6 June 2017 | |
2. Vendor response acknowledging issue: 6 June 2017 | |
3. Vendor second response confirming they do not plan on fixing the issue: 12 June 2017 |
This file contains 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
#!/usr/bin/env sh | |
############################################################################## | |
## | |
## ${applicationName} start up script | |
## | |
############################################################################## | |
# There is no realpath command on OSX, so we need to fake it | |
command -v realpath >/dev/null 2>&1 || realpath() { |
This file contains 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
#!/usr/bin/python | |
# Run this application like this: | |
# /usr/bin/python /home/pi/doorCounter.py -n label -g 22 | |
# -g: GPIO pin to watch | |
# -n: label to send to Google Analytics | |
import RPi.GPIO as GPIO | |
import time |
NewerOlder