KCT Hierarchy: PHD-Philosophy of Science :Lobau Session

Posted May 26th, 2010 in PhD-M: Study Stuff by Gevork

We have had a great time in Lobau . It was very warm and sunny day.  We arrived there by car (thanks to Patrick) .
The day, work, session, whatever we could name it was divided into 3 main parts.

1) Intro + We were given some intro to what we should do  and how and why. then we went to discuss the topic in our KCT just walking and talking (I and patrick, Johnny was as usual absent)
2)World Cafe: Intro+ We went outside to the nature . The main idea was to find a place you like , to  calm down(ALONE!), to shut all the extra information from the town and get the right things come out regarding our observation stuff
3) collective “braining”  – we sit with Patrick and  though what could be a right direction to continue regarding our project

We had two main ideas

1) mafia leadership camp

2) Guidline for something like “how to identify and  influence on hierarchy via it’s leaders

3)Something was about organizational structure and it’s culture …

we were given some time to think about our prototype

DBAD-Don’t Be a Dick software license :))))))

Posted May 26th, 2010 in Development, News by Gevork

I have found this pretty avesome and funny and nice thing at Phil Sturgeon Web-site.

Don’t Be A Dick software license…

Original text you can find here

If you are so lazy to click on the link  then..

  DON'T BE A DICK PUBLIC LICENSE

                    Version 1, December 2009

 Copyright (C) 2009 Philip Sturgeon <email@philsturgeon.co.uk>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

                  DON'T BE A DICK PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. Do whatever you like with the original work, just don't be a dick.

     Being a dick includes - but is not limited to - the following instances:

	1a. Outright copyright infringement - Don't just copy this and change the name.
	1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick.
	1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.

  2. If you become rich through modifications, related works/services, or supporting the original work,
	share the love. Only a dick would make loads off this work and not buy the original works
	creator(s) a pint.

  3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
	you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.

CUADS:Codeigniter Unified Addon Development Standard

Posted May 22nd, 2010 in News by Gevork

Hi there who is making nice web-sites on Codeigniter. I like this framework. But I think it has some lack of standard. Really, I am not kidding. It would be great to have a standard of addon development, so that after when you share your code, the person who wants to use it would need to make 3 main steps.

1) Run mysql query from /addon_folder/install.sql

2)read /addon_folder/readme.txt

3)upload /addon_folder/application  to the /system folder of his web-site or wherever the application folder he put , and don’t worry that anything will be overwritten

4) in case there should be any hacking made to the system files, like config.php, routes.php or else , ther should be  very well described

/addon_folder/hackit.txt you do what is written, and  yummy!

5) YOU GO to mysite.com/addon/ and feel happy! Everything should work!

I will add the rules step by step here. Your comments will be very appreciated

So  I am begining to add .

1) The addon should have  DBAD License (Don’t Be A Dick)

Bitbucket Usage Code

Posted May 19th, 2010 in Development by Gevork
No changesets recorded yet.

Quickstart

$ hg clone http://bitbucket.org/maridansoft/madrasti
...
$ hg pull -u # to pull changes and update
$ hg push # to push changes to this repo

Import existing data?

$ cd /path/to/existing/hg/repo/
$ hg push http://bitbucket.org/maridansoft/madrasti

Prefer SSH?

$ hg clone ssh://hg@bitbucket.org/maridansoft/madrasti
$ hg push ssh://hg@bitbucket.org/maridansoft/madrasti

Further reading: “Using Bitbucket” & “Getting started with Mercurial

Get Last Inserted Row ID in Codeigniter

Posted May 9th, 2010 in News by Gevork

It’s Simple like magic. How? Just one line

$this->db->insert_id();

Note: Helper uses php  php function mysql_insert_id

Note2:

Retrieves the ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT).

Have Fun.

How to upload your project to github.com

Posted May 2nd, 2010 in News by Gevork

After you add a repository, you get something like this

Global setup:

 Download and install Git
  git config --global user.name "Your Name"
  git config --global user.email maridansoft@yahoo.com

Next steps:

  mkdir CodeIgniter-Shop
  cd CodeIgniter-Shop
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:maridansoft/CodeIgniter-Shop.git
  git push origin master

Existing Git Repo?

  cd existing_git_repo
  git remote add origin git@github.com:maridansoft/CodeIgniter-Shop.git
  git push origin master

Importing a Subversion Repo?

  Click here

When you’re done:

  Continue