I hereby claim:
- I am evansj on github.
- I am evansj (https://keybase.io/evansj) on keybase.
- I have a public key ASCMBAV6kdY4mMkW9ZAhuevrrMMZH_kp29jdhDwihRSftQo
To claim this, I am signing this object:
# | |
# Git repo name badge for zsh and iTerm2 | |
# | |
## Hook function definitions | |
function chpwd_git_utils() { | |
get_repo_basename | |
} | |
# Work out the current repo name (the name of the directory that |
version: "2.1" | |
services: | |
znc: | |
image: znc:latest | |
restart: always | |
privileged: false | |
network_mode: host | |
ports: # HOST:CONTAINER | |
- "16697:16697" # IRC | |
- "6697:6697" # IRC |
I hereby claim:
To claim this, I am signing this object:
# this is a quick and dirty way to upload files to an Alfresco instance, useful | |
# for grabbing logfiles from a server that you can't easily access with scp | |
curl -k -X POST --user username:password \ | |
-F filedata=@catalina.out.bz2 \ | |
-F siteid=your-site-id \ | |
-F containerid=documentLibrary \ | |
-F uploaddirectory=/logs \ | |
-F filename=catalina.out.bz2 \ | |
-F contenttype="application/x-bzip2" \ |
<?xml version="1.0" encoding="UTF-8"?> | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<soapenv:Body> | |
<ns1:addWorklogAndAutoAdjustRemainingEstimate | |
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:ns1="http://soap.rpc.jira.atlassian.com"> | |
<in0 xsi:type="xsd:string">********</in0> | |
<in1 xsi:type="xsd:string">PDD-88</in1> |
# put this file in config/initializers | |
module ActionView | |
module Helpers | |
module FormHelper | |
%w(search email url number range date color).each do |type| | |
selector = "#{type}_field" | |
src = <<-end_src | |
def #{selector}(object_name, method, options = {}) | |
InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("#{type}", options) | |
end |