Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Django CountriesNice little application for Django projects providing fixtures and models for a "complete" list of world countries and US states. Also throwing in a small template filter for getting country flags by ISO 3166-1 alpha-2 country code. InstallationJust check out the latest ... [More] source and copy countries into your django site directory: svn checkout http://django-countries.googlecode.com/svn/trunk/ django-countriesadd countries to the list of installed apps and run syncdb and you're good to go. (Note: the models are fixed to the country and usstate tables, se models.py for details) And for the flags hed over to famfamfam and download the ISO 3166-1 alpha-2 country code flag package. And add a flags director to your media root and copy the .gif flags there. An alternative flag resource is ip2location Optionally add: COUNTRIES_FLAG_PATH = 'flags/%s.png'to django settings if you want to have the flags in an alternative location or use .png instead of the default .gif ( .gif is just a tiny bit smaller ;) Source of informationCountry listThe list of world countries is based on the list of ISO 3166 codes for countries in existence at the time of last update. The tricky part is getting the list complete with iso-2 code, iso-3 code, number and official printable name se models.py for more details. Therefore this country list is a merge from these two resources: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html http://unstats.un.org/unsd/methods/m49/m49alpha.htm The official list is constantly receiving updates, so the list might not be 100% accurate. Country list last updated: 2007-08-20 - 244 countries. US States listDEPRECATED django.contrib.localflavor provides listings of states. This is still not implemented in the app and needs some modifications to work. US states list is a plain list of name and abbreviation. Making the list more complete are the additional six military "states" all according to the usps list at the time of last update: http://www.usps.com/ncsc/lookups/usps_abbreviations.html US States list last updated: 2007-08-20 - 59+6=65 states DisclaimerAs a disclaimer I'll cite the Unite Nations list of county names at http://unstats.un.org/unsd/methods/m49/m49alpha.htm "The designations employed and the presentation of country or area names in this list do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations author concerning the legal status of any country, territory, city or area or of its authorities, or concerning the delimitation of its frontiers or boundaries." [Less]

0
 
  0 reviews  |  0 users  |  1,783 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

Looking for a replacement for getopt? Want to add commandline options to your program but don't want to get bogged down in the complexity of it all? Then SuperGetOpt is for you. Built-in type checking and error handling provide useful user feedback. Fixed and variable arg lists allowed. Here ... [More] is a simple example: superGetOpt(argc,argv, &argErr, "-mymixed %c %lf %s %d %hd",&my_c, &my_lf, &my_s, &my_d, &my_hd, //mixed types "-varfloats *%f", farray, &numInFArray, // variable number of floats "-varstrings *%s", sarray, &numInSArray, // variable number of strings "--help", &helpSet, // example of no arguments to a flag (char * ) 0 ); So if your executable is called with any of -mixed, -varfloats, -varstrings or --help flags, all associated arguments will be copied to the provided variables. There are no separate files to maintain. Everything is contained in your application. I've seen a lot of replacements for getopt, but they all have a learning curve and are not nearly as intuitive as this. No other approach I've seen is simpler or any more powerful. This can also be used for simple parsing of data in files. [Less]

0
 
  0 reviews  |  0 users  |  1,410 lines of code  |  1 current contributor  |  Analyzed 2 days ago
 
 

Country codes in CSSIntroductionWith the included stylesheet and sprite image (based on famfamfam's flag icons), it's easy to automatically show the correct flag in front of any name or country anywhere on your site. Long lists load faster due to the use of a sprite image. Country listThe ... [More] list of world countries is based on the list of ISO 3166 codes for countries in existence at the time of last update: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html The official list is constantly receiving updates, so the list might not be 100% accurate. Similar projectsA similar project can be found here (text under "Country list" has been borrowed from that project as well): http://code.google.com/p/django-countries/ [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 6 days ago
 
 

it is an india flag for any one that is indian

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 3 days ago
 
 

Hattrick Friendly Database project The goal of Hattrick Friendly Database project is simple: create a database of all your friendly matches. Going to the Hattrick Friendly Database official website and simply entering your loginname and the security code used on Hattrick, you will be able to ... [More] download from www.hattrick.org all data of your friendly matches played. These data will be stored in a database for consultation in form of charts (ranking) by any user; these data (rankings) can be called according to several parameters: for example, the highest number of friendly matches played t,he highest number of goals achieved in friendly, the highest number of injuries in friendly; there is also a ranking of the spectators in friendly by media, total, maximum and minimum number of spectators, etc. etc. But many other functions are planned (such as the possibility to organize and manage friendly cups and many more). You be quiet: Hattrick Friendly Database is an CERTIFIED HATTRICK PRODUCT PROVIDER! Nothing will be illegal! I think this is an interesting project for the entire community, especially because an application like this does not exist in the world of applications for Hattrick. But I need your help. If you are experienced even a little in CHPP developing,or in php or in database PLEASE contact me! During these months, some users contacted me but almost all after learning what kind of help I seek, they disappear. I think perplexities of who contacts me, is be aware that I have no expertise in developing applications and CHPP ..i know only html,few thing about php(i have only develop some simple site),i know something of CSS..i'm mostly a graphic designer,but I'm not prepared on the development of applications such as these. But the passion for hattrick, the passion to collect flags, and the fact that in existing chhp applications there is no application that deals with collecting data of friendly, led me to ask for CHPP license to try to build this application with the help of someone. And I got that license! In a time like this where the CHPP licenses are no longer granted, I think you have a great possibility to participate in a worthwhile and very interesting project for the entire community of Hattrick. This job sounds too hard for you? is obvious that you will not be alone to do the job.. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 5 days ago
 
 

I am typing otherwise it wont work.

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 7 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.