Skip to content

Instantly share code, notes, and snippets.

View hessel's full-sized avatar
🎯
Focusing

Leonardo Hessel hessel

🎯
Focusing
  • Sao Paulo, Brazil
View GitHub Profile
@hessel
hessel / gist:739002
Created December 13, 2010 13:55
Savon_TEST
require 'rubygems'
require 'savon'
require 'soap/wsdlDriver'
wsdl = "http://localhost:8080/Design_Time_Addresses/core/Service1/?wsdl"
client = Savon::Client.new wsdl
request = client.generate_pdf
puts request
function setPosContent() {
SetMsgBoxPos();
ResizeButtons();
var e = getObj("resizer");
var t = getObj("contentHolder1");
SetPageIndexSize();
e.style.height = presSettings.Height + "px";
e.style.width = presSettings.Width + "px";
var n = getObj("contentHolder").offsetWidth;
var r = getObj("contentHolder").offsetHeight;
@hessel
hessel / enable_mongo.sh
Created July 7, 2016 05:41 — forked from sgnn7/enable_mongo.sh
Mongodb 3.2 on Ubuntu 15.10
echo '[Unit]
Description=High-performance, schema-free document-oriented database
After=syslog.target network.target
[Service]
User=mongodb
Group=mongodb
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
[Install]