Skip to content

Instantly share code, notes, and snippets.

View louy's full-sized avatar
💭
I may be slow to respond.

Louay Akkad louy

💭
I may be slow to respond.
View GitHub Profile
@louy
louy / GetElementsByTagName.cs
Created May 2, 2013 19:42
XAML C# GetElementsByTagName
/**
* By Louy Alakkad <me@l0uy.com>
*
* Copied from here: http://stackoverflow.com/questions/974598/find-all-controls-in-wpf-window-by-type
* With some modifications
*
* Javascript-like GetElementsByTagName function for XAML and C#
*
* You can use it like this:
* var elements = GetElementsByTagName<Image>(parent);
@louy
louy / kml.php
Created February 28, 2011 11:54
KML Feed Template
<?php
/**
* KML Feed Template
*
* @author Louy Alakkad <me@l0uy.com>
* @version 1.0
*/
/**
* what you need to define here is:
@louy
louy / wp-oauth.php
Created September 18, 2010 02:32
Simple OAuth script to use with your wp plugins.
<?php
/**
* OAuth script for WordPress
* @author Louy Alakkad <louy08@gmail.com>
* @website http://l0uy.com/
*/
if( !defined( 'WP_OAUTH' ) ) :
define('WP_OAUTH', true);