Skip to content

Instantly share code, notes, and snippets.

View dskarataev's full-sized avatar

Denis Karataev dskarataev

  • Ho Chi Minh City, Vietnam
View GitHub Profile
@dskarataev
dskarataev / httpclient.go
Created July 1, 2020 10:45 — forked from vearutop/httpclient.go
Go OAuth2 password-based http transport middleware
// Package oauth2 implements password-based authentication middleware.
package oauth2
import (
"context"
"fmt"
"net/http"
"time"
"golang.org/x/oauth2"
@dskarataev
dskarataev / odoo_requirements_pypy.txt
Created May 20, 2016 12:28 — forked from vuamitom/odoo_requirements_pypy.txt
Odoo 8 pip requirements.txt for Pypy
Babel==1.3
Jinja2==2.7.3
Mako==1.0.0
MarkupSafe==0.23
Pillow==2.5.1
http://download.gna.org/pychart/PyChart-1.39.tar.gz#egg=PyChart
PyYAML==3.11
Werkzeug==0.9.6
argparse==1.2.1
decorator==3.4.0
<?php
/**
* Script to send an email using Experian UMS with attachments
*/
$url = 'http://sysmail.fagms.net/c/tm?ACTION=SYSTEM';
$file = 'test.png';
$aid = 000000; // Replace with your ID
$email = '...'; // Replace with your email
file_put_contents($file, base64_decode(test_png()));

I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):

Detailed Instructions

For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.

Install Jenkins Plugins