Skip to content

Instantly share code, notes, and snippets.

@jonathonbyrdziak
jonathonbyrdziak / owpd
Created November 22, 2013 22:42
OpenVZ Web Panel Daemon allows you to start the hw-daemon.rb on server reboot.
#! /bin/sh
# /etc/init.d/owpd
#
# chkconfig: 2345 85 15
# description: OWP Daemon
# processname: OWP Daemon
#
# Install the service with chkconfig --add owpd
#
@openviewpartners
openviewpartners / Reuters.php
Last active August 29, 2015 14:01
PHP Class for parsing XML from the Reuters API
<?php
/**
* Parse Investor XML Feeds
*
* XML feeds pulled in from Reuters, parsed,
* cached and displayed on homepage.
*
* @param int $compid The account identifier for access to the XML API
* @param bool $debug Sets a debug mode for faster testing
*/
@orjan
orjan / checkout-pr.md
Last active August 7, 2020 21:40
Checkout pull request in Bitbucket server

Checking out pull requests in Bitbucket

/.git/config
[remote "origin"]
    url = ssh://git@git.dev.viaeuropa.int:7999/brikks/brikks.git
    fetch = +refs/heads/*:refs/remotes/origin/*
    fetch = +refs/pull-requests/*/from:refs/remotes/origin/pull-requests/*
    fetch = +refs/pull-requests/*/merge:refs/remotes/origin/pull-requests-merge/*