Tag Archives: programming

Online IDEs

5 Best online IDEs If you want to move to the cloud and like to code like me, this is kinda of a basic necessity.

Posted in Cloud Services, Z1 | Tagged , , , | Leave a comment

Continuous Integration from Git

Continuous Integration Not sure what to make of this yet. Seems interesting enough.

Posted in git, Z1 | Tagged , , | Leave a comment

Alarm Notification

This tutorial describes how to use the alarm manager to set alarms and how to use the notification framework to display them. In short, the sequence goes like this: In an Activity AlarmManager.set is called with a PendingIntent containing a … Continue reading

Posted in IT development, Z1 | Tagged , | Leave a comment

Parsing JSON in Shell scripts

This can be simple by using jq. This is a command line JSON processor. Here are a couple of examples of what can be done: $ cat json.txt { “name”: “Google”, “location”: { “street”: “1600 Amphitheatre Parkway”, “city”: “Mountain View”, … Continue reading

Posted in IT development, Z1 | Tagged , , | Leave a comment

Program Documentation

So these are my ideas on how to document projects. There are three types of documentation types: User guides Targetted and end-users of the software and people who want a brief overview. Man pages Again targetted at end-users but also … Continue reading

Posted in IT development, Z1 | Tagged , , | Leave a comment

Git Tutorials

Reference for Git tutorials http://linux.yyz.us/git-howto.html http://git.or.cz/course/svn.html http://spheredev.org/wiki/Git_for_the_lazy http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html http://www.kernel.org/pub/software/scm/git/docs/everyday.html https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial

Posted in git, Z1 | Tagged , , | Leave a comment

Kerberos howtos

Kerberos is a network authentication protocol which works on the basis of “tickets” to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner. (Source Kerberos_(protocol) ) Backups Create backup: kdb5_util dump … Continue reading

Posted in IT development, Z1 | Tagged , , , , | Leave a comment

Git recipes

Rewriting history Rolling back the last commit if nobody has pulled your remote repo yet, you can change your branch HEAD and force push it to said remote repo: git reset –hard HEAD^ git push -f Restoring changes So in … Continue reading

Posted in git, Z1 | Tagged , , , , , , , , , , | Leave a comment

PHP Tips

Object oriented introspection property_exists(obj,prop_name) method_exists(obj,method_name) is_a(obj,’clas_name’) or ($obj instanceof ClassName) Dynamic coding Call a method: call_user_func(array($obj,’method’,…args…) You can simply $obj->prop = value to add properties. or you can use __set and __get. See http://php.net/manual/en/language.oop5.overloading.php varargs func_get_arg(num) func_get_args() func_get_num_args()

Posted in IT development, Linux, Web, Z1 | Tagged , , , | Leave a comment

Makefiles

GNU Make automatic variables: From http://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html. [email protected] The file name of the target of the rule. $% The target member name $< The name of the first prerequisite. $? The names of all the prerequisites that are newer. $^ The … Continue reading

Posted in IT development, Z1 | Tagged , | Leave a comment