Skip to content

Instantly share code, notes, and snippets.

View yahya-uddin's full-sized avatar

Yahya Uddin yahya-uddin

  • Orderu
  • United Kingdom
View GitHub Profile
@puzrin
puzrin / Makefile
Last active May 13, 2023 07:17
Makefile example for fontello.com API
# Edit here - set path to you directory with config.json & fonts
FONT_DIR ?= ./assets/vendor/fontello/src
### Don't edit below ###
FONTELLO_HOST ?= https://fontello.com
fontopen:
@if test ! `which curl` ; then \
@iskugor
iskugor / app.js
Created February 9, 2012 13:02
Remove all child elements in Titanium
function removeAllChildren(viewObject){
//copy array of child object references because view's "children" property is live collection of child object references
var children = viewObject.children.slice(0);
for (var i = 0; i < children.length; ++i) {
viewObject.remove(children[i]);
}
}