I hereby claim:
- I am emcniece on github.
- I am emcniece (https://keybase.io/emcniece) on keybase.
- I have a public key ASDnPylyaQBajVKzGHiXnfoPtyfuW-rtVn0UpL4JsvBtOQo
To claim this, I am signing this object:
| #https://github.com/CausticLab/go-rancher-gen | |
| metadata-version = "2015-12-19" | |
| log-level = "debug" | |
| interval = 30 | |
| onetime = false | |
| [[template]] | |
| source = "/etc/rancher-gen/nginx.tmpl" | |
| dest = "/etc/rancher-gen/nginx.conf" | |
| check-cmd = "echo $(date)\t check >> /etc/rancher-gen/check.log" |
| # Forked from https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl | |
| # For use with https://github.com/emcniece/rancher-catalog/tree/master/templates/letsencrypt-nginx-proxy/0 | |
| # This version allows Rancher itself to be available on the network, given VIRTUAL_HOST | |
| # and VIRTUAL_PORT environment variables. | |
| {{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }} | |
| {{ define "upstream" }} | |
| {{ if .Address }} | |
| {{/* If we got the containers from swarm and this container's port is published to host, use host IP:PORT */}} |
| var webpack = require('webpack'); | |
| var path = require('path'); | |
| var fs = require('fs'); | |
| var nodeModules = fs.readdirSync('node_modules') | |
| .filter(function(x) { | |
| return ['.bin'].indexOf(x) === -1; | |
| }); | |
| module.exports = { |
| 'use strict'; | |
| import gulp from 'gulp'; | |
| import webpack from 'webpack'; | |
| import path from 'path'; | |
| import sync from 'run-sequence'; | |
| import rename from 'gulp-rename'; | |
| import template from 'gulp-template'; | |
| import fs from 'fs'; | |
| import yargs from 'yargs'; |
I hereby claim:
To claim this, I am signing this object:
| // Add this to the same directory as your functions.php | |
| <?php | |
| class CITTA_Builder_Module_Image extends ET_Builder_Module { | |
| function init() { | |
| $this->name = __( 'Custom Image', 'et_builder' ); | |
| $this->slug = 'et_pb_custom_image'; | |
| $this->whitelisted_fields = array( | |
| 'src', | |
| 'img_size', |
| <?php | |
| /* | |
| Firstline Dump Tool | |
| [email protected] | Dec. 1 2015 | |
| A handy tool for analyzing the first line of each php file, | |
| which is usually where hacks get injected. | |
| Visit in a browser to activate. | |
| */ |
| <?php | |
| // should be at /craft/plugins/dlfile/dlfilePlugin.php | |
| namespace Craft; | |
| class dlfilePlugin extends BasePlugin | |
| { | |
| public function getName() | |
| { | |
| return Craft::t('DL File'); | |
| } |
| 0. RUN CMD AS ADMIN | |
| 1. [CONSOLE]Generate key file | |
| openssl genrsa -des3 -out ios.key 2048 | |
| 2. [CONSOLE]Generate signing file | |
| openssl req -new -key ios.key -out ios.csr -subj "/[email protected], CN=YourCompanyName, C=CA" | |
| - or - |
| http://www.adamwadeharris.com/sign-publish-phonegap-app-google-play-store-windows/ | |
| 1. phonegap build android --release | |
| 2. cd platforms/android; ant release | |
| 3. cd bin; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/keystore/myapp.keystore MyApp-release-unsigned.apk myapp | |
| 4. jarsigner -verify -verbose -certs MyApp-release-unsigned.apk |