Skip to content

Instantly share code, notes, and snippets.

View njames's full-sized avatar

Nigel James njames

View GitHub Profile
@JDMcKinstry
JDMcKinstry / apiCCB.php
Last active July 22, 2019 18:39
Simple PHP class for interacting with the Church Community Builder (CCB) API.
<?
/***
* class apiCCB
*
* @author Jeremiah D. McKinstry <jdmckinstry@gmail.com>
* @date Wednesday, August 14, 2013
* @version 1.0.0
* @see https://cdn6.ccbchurch.com/2/documents/pwt_implement.pdf
*
* @copyright This class is free: you can redistribute it and/or modify
@mitsuruog
mitsuruog / bind.js
Last active April 6, 2018 01:11
multiple property databinding on SAPUI5
new sap.m.Text({
text: {
parts: [
{path: "Width"},
{path: "Depth"},
{path: "Height"},
{path: "DimUnit"}
],
formatter: function(width, depth, height, dimUnit){
return width + " x " + depth + " x " + height + " " + dimUnit;
@elsewhat
elsewhat / sapui5_sources_latest.sh
Created July 26, 2013 13:32
Get latest SAPUI5 for eclipse update site
#!/bin/bash
echo "1. Download the main file from the eclipse update site"
wget --no-check-certificate https://tools.hana.ondemand.com/juno/content.jar
echo "2. Unzip the content.jar to content.xml (and delete content.jar)"
unzip content.jar
rm content.jar
echo "3. Generate urls for the components to fetch com.sap.ui5"
@viniciustavanoferreira
viniciustavanoferreira / Z_RTTI_VTF.abap
Created May 21, 2013 17:42
Run Time Type Identification (example).
*&---------------------------------------------------------------------*
*& Report Z_RTTI_VTF
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT Z_RTTI_VTF.
TYPES in_type TYPE i.