I was showing list of records with createdDateTime. Created date was being shown in GMT at one place for same record
and it was shown in IST format at other place. I thought both places I am doing same thing but result was different.
It was all Salesforce's magic Apex languange rendering.
following code was showing date in GMT despite global setting being IST.
< apex:pageBlockTable value="{!recentList}" var="item" >
< apex:column >
< apex:facet name="header" >Created On< / apex:facet >
< apex:outputText value="{!item.CreatedDate}" />
< / apex:column >
< / apex:pageBlockTable>
Slight change in the code fixed this issue. removed facet and outputText.
< apex:pageBlockTable value="{!recentList}" var="item" >
< apex:column value="{!sms.CreatedDate}" headerValue="CreatedOn" / >
< / apex:pageBlockTable>
Monday, April 05, 2010
Saturday, March 06, 2010
Authentication for CodeIgniter done right
Got good piece of information from stack overflow, by Jens Roland
http://stackoverflow.com/questions/346980/what-code-igniter-authentication-library-is-best
Just republishing it...
Disclaimer: none of the golden words below are written by me.
Authentication for CodeIgniter done right
Here's my MINIMAL required list of features from an authentication library. It also happens to be a subset of my own library's feature list ;)
1. Tiny footprint with optional test implementation
2. Full documentation
3. No autoloading required. Just-in-time loading of libraries for performance
4. Language file support; no hard-coded strings
5. reCAPTCHA supported but optional
6. Recommended TRUE random salt generation (e.g. using random.org or random.irb.hr)
7. Optional add-ons to support 3rd party login (OpenID, Facebook Connect, Google Account, etc.)
8. Login using either username or email
9. Separation of user and profile data
10. Emails for activation and lost passwords
11. Automatic cookie login feature
12. Configurable phpass for hashing (properly salted of course!)
13. Hashing of passwords
14. Hashing of autologin codes
15. Hashing of lost password codes
16. Hooks into CI's validation system
17. NO security questions!
18. Enforced strong password policy server-side, with optional client-side (Javascript) validator
19. Enforced maximum number of failed login attempts with BEST PRACTICES countermeasures against both dictionary and DoS attacks!
20. All database access done through prepared (bound) statements!
Note: those last few points are not super-high-security overkill that you don't need for your web application. If an authentication library doesn't meet these security standards 100%, DO NOT USE IT!
Recent high-profile examples of irresponsible coders who left them out of their software: #17 is how Sarah Palin's AOL email was hacked during the Presidential campaign; a nasty combination of #18 and #19 were the culprit recently when the Twitter accounts of Britney Spears, Barack Obama, Fox News and others were hacked; and #20 alone is how Chinese hackers managed to steal 9 million items of personal information from more than 70.000 Korean web sites in one automated hack in 2008.
These attacks are not brain surgery. If you leave your back doors wide open, you shouldn't delude yourself into a false sense of security by bolting the front. Moreover, if you're serious enough about coding to choose a best-practices framework like CodeIgniter, you owe it to yourself to at least get the most basic security measures done right.
http://stackoverflow.com/questions/346980/what-code-igniter-authentication-library-is-best
Just republishing it...
Disclaimer: none of the golden words below are written by me.
Authentication for CodeIgniter done right
Here's my MINIMAL required list of features from an authentication library. It also happens to be a subset of my own library's feature list ;)
1. Tiny footprint with optional test implementation
2. Full documentation
3. No autoloading required. Just-in-time loading of libraries for performance
4. Language file support; no hard-coded strings
5. reCAPTCHA supported but optional
6. Recommended TRUE random salt generation (e.g. using random.org or random.irb.hr)
7. Optional add-ons to support 3rd party login (OpenID, Facebook Connect, Google Account, etc.)
8. Login using either username or email
9. Separation of user and profile data
10. Emails for activation and lost passwords
11. Automatic cookie login feature
12. Configurable phpass for hashing (properly salted of course!)
13. Hashing of passwords
14. Hashing of autologin codes
15. Hashing of lost password codes
16. Hooks into CI's validation system
17. NO security questions!
18. Enforced strong password policy server-side, with optional client-side (Javascript) validator
19. Enforced maximum number of failed login attempts with BEST PRACTICES countermeasures against both dictionary and DoS attacks!
20. All database access done through prepared (bound) statements!
Note: those last few points are not super-high-security overkill that you don't need for your web application. If an authentication library doesn't meet these security standards 100%, DO NOT USE IT!
Recent high-profile examples of irresponsible coders who left them out of their software: #17 is how Sarah Palin's AOL email was hacked during the Presidential campaign; a nasty combination of #18 and #19 were the culprit recently when the Twitter accounts of Britney Spears, Barack Obama, Fox News and others were hacked; and #20 alone is how Chinese hackers managed to steal 9 million items of personal information from more than 70.000 Korean web sites in one automated hack in 2008.
These attacks are not brain surgery. If you leave your back doors wide open, you shouldn't delude yourself into a false sense of security by bolting the front. Moreover, if you're serious enough about coding to choose a best-practices framework like CodeIgniter, you owe it to yourself to at least get the most basic security measures done right.
Friday, March 05, 2010
MySQL timezone setting for IST
Normally on US based servers, default US timezone is used, when creating DateTime in mysql. If your application is served to only India based customers then better to set mysql timezone to show Indian time.
check time_zone* tables in mysql db. if they are empty fill them using following command
shell> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
Zone Info database on system.
Such systems are Linux, FreeBSD, Solaris, and Mac OS X. One likely location for these files is the /usr/share/zoneinfo directory.
mysql>SET GLOBAL time_zone = "Asia/Calcutta";
This blog is writter based on info from mysql website .
check time_zone* tables in mysql db. if they are empty fill them using following command
shell> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
Zone Info database on system.
Such systems are Linux, FreeBSD, Solaris, and Mac OS X. One likely location for these files is the /usr/share/zoneinfo directory.
mysql>SET GLOBAL time_zone = "Asia/Calcutta";
This blog is writter based on info from mysql website .
Friday, February 26, 2010
The Sachin Tendulkar
The Great Sachin Tendulkar.
Full name Sachin Ramesh Tendulkar
Born April 24, 1973, Bombay (now Mumbai), Maharashtra
Current age 36 years 309 days
Major teams India, Asia XI, Mumbai, Mumbai Indians, Yorkshire
Nickname Tendlya, Little Master
Batting style Right-hand bat
Bowling style Right-arm offbreak, Legbreak googly
Height 5 ft 5 in
Education Sharadashram Vidyamandir School
Full name Sachin Ramesh Tendulkar
Born April 24, 1973, Bombay (now Mumbai), Maharashtra
Current age 36 years 309 days
Major teams India, Asia XI, Mumbai, Mumbai Indians, Yorkshire
Nickname Tendlya, Little Master
Batting style Right-hand bat
Bowling style Right-arm offbreak, Legbreak googly
Height 5 ft 5 in
Education Sharadashram Vidyamandir School
Wednesday, February 24, 2010
Java.lang.OutOfMemoryError: Java heap space
It means that the JVM has run out of all the memory that has been allocated to it. You can change the amount of memory allocated for use by your JVM using the -Xms and -Xmx command line parameters.
For example, the following says run MyApp in a JVM and allocate a minimum of 5 Megabytes and a maximum of 15 Megabytes off of the heap in order to do so.
java -Xms5m -Xmx15m MyApp
republished from
http://www.jguru.com/faq/view.jsp?EID=1300058
For example, the following says run MyApp in a JVM and allocate a minimum of 5 Megabytes and a maximum of 15 Megabytes off of the heap in order to do so.
java -Xms5m -Xmx15m MyApp
republished from
http://www.jguru.com/faq/view.jsp?EID=1300058
Friday, January 15, 2010
installing lxml on Mac.
STATIC_DEPS=true sudo easy_install lxml
works while
sudo STATIC_DEPS=true easy_install lxml doesnt work
works while
sudo STATIC_DEPS=true easy_install lxml doesnt work
Tuesday, January 12, 2010
CodeIgniter - removing Index.php from path and enable $_GET
Enable Mod_rewrite in apache
in htaccess file
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
check in your apache config:
AllowOverride All
It works
http://example.com/foo/fun should work
also
http://example.com/index.php/foo/fun works
Get request issue solution got from Al James. republishing it here. thanks Al James.
I have recently added $_GET support to my CI project.
I wanted to do this in such a way as to avoid hacking the CI code. Its actually quite simple.
Firstly, set the config item for uri_protocol to use PATH_INFO:
$config['uri_protocol'] = "PATH_INFO";
This ensures that query string parts dont get treated like the rest of the CI uri structure (resulting in lots of 404 not founds).
Secondly, you need to extend the default Input library in order to stop it clearing the $_GET variable. Place the following file (called MY_Input.php) in your application/libraries/ folder:
class MY_Input extends CI_Input {
function _sanitize_globals()
{
$this->allow_get_array = TRUE;
parent::_sanitize_globals();
}
}
This basically overrides the Input.php class to allow $_GET variables, but does not open up CI to query string URI routing (as it would if we simply set $config[‘enable_query_strings’] = TRUE).
Of course you will need to make sure that your config file specifies you subclass_prefix to be ‘MY_’, i.e.:
$config['subclass_prefix'] = 'MY_';
If its not, you can change the filename and classname of the above code accordingly!
That works for me anyway
in htaccess file
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
check in your apache config:
AllowOverride All
It works
http://example.com/foo/fun should work
also
http://example.com/index.php/foo/fun works
Get request issue solution got from Al James. republishing it here. thanks Al James.
I have recently added $_GET support to my CI project.
I wanted to do this in such a way as to avoid hacking the CI code. Its actually quite simple.
Firstly, set the config item for uri_protocol to use PATH_INFO:
$config['uri_protocol'] = "PATH_INFO";
This ensures that query string parts dont get treated like the rest of the CI uri structure (resulting in lots of 404 not founds).
Secondly, you need to extend the default Input library in order to stop it clearing the $_GET variable. Place the following file (called MY_Input.php) in your application/libraries/ folder:
class MY_Input extends CI_Input {
function _sanitize_globals()
{
$this->allow_get_array = TRUE;
parent::_sanitize_globals();
}
}
This basically overrides the Input.php class to allow $_GET variables, but does not open up CI to query string URI routing (as it would if we simply set $config[‘enable_query_strings’] = TRUE).
Of course you will need to make sure that your config file specifies you subclass_prefix to be ‘MY_’, i.e.:
$config['subclass_prefix'] = 'MY_';
If its not, you can change the filename and classname of the above code accordingly!
That works for me anyway
Tuesday, January 05, 2010
Thursday, December 17, 2009
Hathway issues
Few tips and solutions to hathway users:
1) Internet stops working if you change machine.
If you have configured internet to work with one PC/laptop. and its working fine.
and One fine day, you got extra laptop or some friends comes and wants to connect to
internet using his laptop. internet stops working. Sometime if you reboot router,
internet will stop working on either of machine.
This is big headache.
Solution: Call hathway CC, tell them clearly that internet is not working as you changed your laptop. then they will do some reset from their side, and It works like magic, thing starts working on new laptop.
2) Configuring Router:
Better solution is get LinkSys Router and configure it. even if before configuring it, you need to ask hathway people to reset your connection.
There is no direct way to check if router is connected to internet or not, but it should set it as DHCP. it will pick up IP address and status will show UP(DHCP) under WAN.
if its not working after acquiring ip address. go to advance setup->advance routing , select Current mode as Gateway.
feel free to ask if its not working for you.
1) Internet stops working if you change machine.
If you have configured internet to work with one PC/laptop. and its working fine.
and One fine day, you got extra laptop or some friends comes and wants to connect to
internet using his laptop. internet stops working. Sometime if you reboot router,
internet will stop working on either of machine.
This is big headache.
Solution: Call hathway CC, tell them clearly that internet is not working as you changed your laptop. then they will do some reset from their side, and It works like magic, thing starts working on new laptop.
2) Configuring Router:
Better solution is get LinkSys Router and configure it. even if before configuring it, you need to ask hathway people to reset your connection.
There is no direct way to check if router is connected to internet or not, but it should set it as DHCP. it will pick up IP address and status will show UP(DHCP) under WAN.
if its not working after acquiring ip address. go to advance setup->advance routing , select Current mode as Gateway.
feel free to ask if its not working for you.
Wednesday, December 02, 2009
Automating MS Word
I was trying to fix a bug related to handling a windows document from ASP.net/C#/Windows Server 2003 program.
Some things I had issues and resolved.
1) Access Denied: Microsoft.Office.Interop.Word
Give access to Network Service to refered dll which should be Microsoft.Office.Interop.Word.dll
2) Removing existing watermark from file programmatically.
3) Memory issues
You will notice Winword.exe in TaskManager. which opens after each operation.
better refer following discussion at Stackoverflow.
ASP.net C# - WINWORD.exe
Some things I had issues and resolved.
1) Access Denied: Microsoft.Office.Interop.Word
Give access to Network Service to refered dll which should be Microsoft.Office.Interop.Word.dll
2) Removing existing watermark from file programmatically.
doc.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekCurrentPageHeader;
foreach(Word.Shape s in doc.Application.Selection.HeaderFooter.Shapes ){
Logger.Write(s.Name);
if (s.Name.Length > 24 && s.Name.Substring(0, 24) == "PowerPlusWaterMarkObject") {
s.Delete();
}
}
doc.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekMainDocument;
3) Memory issues
You will notice Winword.exe in TaskManager. which opens after each operation.
better refer following discussion at Stackoverflow.
ASP.net C# - WINWORD.exe
Sunday, November 22, 2009
Running with Gazelles, Eating with Lions
Why this writeup?
ans: To tell the others (excluding bolt), that they should read this wonderful book.
African proverb from The world is flat by T.L.Friedman.
I think, It is right time I am reading this book.
ans: To tell the others (excluding bolt), that they should read this wonderful book.
African proverb from The world is flat by T.L.Friedman.
Every morning in Africa, a gazelle wakes up.
It knows it must run faster than the fastest lion or it will be killed.
Every mornning a lion wakes up.
It knows it must outrun the slowest gazelle or it will starve to death.
It doesnt matter whether you are a lion or a gazelle.
When the sun comes up, you better start running.
I think, It is right time I am reading this book.
Sunday, November 01, 2009
Kukudtadao
Why is this writeup?
wrote this golden words in victorious mood, on March 20, 2008.
So We celebrated Holi at talentica with full enthusiasm yesterday. So it started with Tug of war competition,
which definitely we won without any serious competition as being strongest team, with Major, Ryan, Nitin on our side, We were predicted to be winners of competition
and we came true to prediction, defeating oppositions in few seconds. though you might be thinking sandip more and tug-of-war..something is wrong? no man yes I was right there though I didnt play any significant role other than providing some entertainment to spectators when Major was giving fundaes to me about how to stand and how should I pull...it was fun in the end...Winning or loosing doesnt matter in such kind of events. but you should assure that you win :)
wrote this golden words in victorious mood, on March 20, 2008.
So We celebrated Holi at talentica with full enthusiasm yesterday. So it started with Tug of war competition,
which definitely we won without any serious competition as being strongest team, with Major, Ryan, Nitin on our side, We were predicted to be winners of competition
and we came true to prediction, defeating oppositions in few seconds. though you might be thinking sandip more and tug-of-war..something is wrong? no man yes I was right there though I didnt play any significant role other than providing some entertainment to spectators when Major was giving fundaes to me about how to stand and how should I pull...it was fun in the end...Winning or loosing doesnt matter in such kind of events. but you should assure that you win :)
Elements of Sustainable Companies
Why you want to read this?
Well because, I didnt write this.
Start-ups with these characteristics often foretells the success of a business and the likelihood of it becoming a sustainable, enduring company. We like to partner with companies that have:
Clarity of Purpose
Summarize the company's business on the back of a business card.
Large Markets
Address existing markets poised for rapid growth or change. A market on the path to a $1B potential allows for error and time for real margins to develop.
Rich Customers
Target customers who will move fast and pay a premium for a unique offering.
Focus
Customers will only buy a simple product with a singular value proposition.
Pain Killers
Pick the one thing that is of burning importance to the customer then delight them with a compelling solution.
Think Differently
Constantly challenge conventional wisdom. Take the contrarian route. Create novel solutions. Outwit the competition.
Team DNA
A company's DNA is set in the first 90 days. All team members are the smartest or most clever in their domain. "A" level founders attract an "A" level team.
Agility
Stealth and speed will usually help beat-out large companies.
Frugality
Focus spending on what's critical. Spend only on the priorities and maximize profitability.
Inferno
Start with only a little money. It forces discipline and focus. A huge market with customers yearning for a product developed by great engineers requires very little firepower.
Writing A Business Plan
We like business plans that present a lot of information in as few words as possible. The following format, within 15-20 slides, is all that's needed:
Company Purpose
Define the company/business in a single declarative sentence.
Problem
Describe the pain of the customer (or the customer's customer).
Outline how the customer addresses the issue today.
Solution
Demonstrate your company's value proposition to make the customer's life better.
Show where your product physically sits.
Provide use cases.
Why Now
Set-up the historical evolution of your category.
Define recent trends that make your solution possible.
Market Size
Identify/profile the customer you cater to.
Calculate the TAM (top down), SAM (bottoms up) and SOM.
Competition
List competitors
List competitive advantages
Product
Product line-up (form factor, functionality, features, architecture, intellectual property).
Development roadmap.
Business Model
Revenue model
Pricing
Average account size and/or lifetime value
Sales & distribution model
Customer/pipeline list
Team
Founders & Management
Board of Directors/Board of Advisors
Financials
P&L
Balance sheet
Cash flow
Cap table
The deal
Well because, I didnt write this.
Start-ups with these characteristics often foretells the success of a business and the likelihood of it becoming a sustainable, enduring company. We like to partner with companies that have:
Clarity of Purpose
Summarize the company's business on the back of a business card.
Large Markets
Address existing markets poised for rapid growth or change. A market on the path to a $1B potential allows for error and time for real margins to develop.
Rich Customers
Target customers who will move fast and pay a premium for a unique offering.
Focus
Customers will only buy a simple product with a singular value proposition.
Pain Killers
Pick the one thing that is of burning importance to the customer then delight them with a compelling solution.
Think Differently
Constantly challenge conventional wisdom. Take the contrarian route. Create novel solutions. Outwit the competition.
Team DNA
A company's DNA is set in the first 90 days. All team members are the smartest or most clever in their domain. "A" level founders attract an "A" level team.
Agility
Stealth and speed will usually help beat-out large companies.
Frugality
Focus spending on what's critical. Spend only on the priorities and maximize profitability.
Inferno
Start with only a little money. It forces discipline and focus. A huge market with customers yearning for a product developed by great engineers requires very little firepower.
Writing A Business Plan
We like business plans that present a lot of information in as few words as possible. The following format, within 15-20 slides, is all that's needed:
Company Purpose
Define the company/business in a single declarative sentence.
Problem
Describe the pain of the customer (or the customer's customer).
Outline how the customer addresses the issue today.
Solution
Demonstrate your company's value proposition to make the customer's life better.
Show where your product physically sits.
Provide use cases.
Why Now
Set-up the historical evolution of your category.
Define recent trends that make your solution possible.
Market Size
Identify/profile the customer you cater to.
Calculate the TAM (top down), SAM (bottoms up) and SOM.
Competition
List competitors
List competitive advantages
Product
Product line-up (form factor, functionality, features, architecture, intellectual property).
Development roadmap.
Business Model
Revenue model
Pricing
Average account size and/or lifetime value
Sales & distribution model
Customer/pipeline list
Team
Founders & Management
Board of Directors/Board of Advisors
Financials
P&L
Balance sheet
Cash flow
Cap table
The deal
Serenity in Pandemonium
He said, "he wants to go to himalaya leaving everything behind to search for peace"
His friend told him, (tapping index finger on his left ): "man..........peace is here, you dont need to go to anywhere"
This conversation was enough to start one thinking about inner peace, I read somewhere that introvert people get their energy from silence, from being silent,being alone.
Actually I dont know but if you ask me which place, (to clear the air, I think I am an introvert person). I like to go some place most when I am confused, I am unsure about future, I am damn upset due to someone or about something. or one want to get free.....
I love crowded city bus stops. you just go there sit there. The best thing about it is that you are alone with so much things happening around, you can spend any number of hours you want to sit there or stand there, no one will ask you question that why are you sitting/standing there. may be someone can ask about time, if you have wrist watch, or about some X bus going to Y place has came in last Yhrs/minutes. you can ignore him (but not her as abla nari ko help karna chahiye), or you can say you dont know. so apart from this disturbance you would be left alone. so what you do there..then I try to see in people's faces, in their eyes. if some good girl (well you cant stare at her just like that, atleast I cant ) is there I look around to see how many passer-bys who stare at her...I try to read their eyes. and also the passer-bys who ignore her due to their ego or worries..I look at her expressions. though I dont get anything.but just trying to understand things. then everything will leave, catching there buses, and when only 1-2 people remaining there..you know that its time for you to leave as by the time like outside chaos getting vanished, you will find your mind becoming calmer.
If someone is waiting there for long, I try to guess what that person might be thinking..
Serenity in Pandemonium...wordweb zindabad. "Peace in Chaos" was not bad title too..
Its like chaos inside you trying to compete with chaos in outside world, and you try to find meanings of many meaningless things going on outside and may be at that time you find out that same thing is happening inside you the chaos is temporary it will callm down after some time as the chaos outside just be with it.
this is quite old post I wrote it on private blog, just republishing it here.
His friend told him, (tapping index finger on his left ): "man..........peace is here, you dont need to go to anywhere"
This conversation was enough to start one thinking about inner peace, I read somewhere that introvert people get their energy from silence, from being silent,being alone.
Actually I dont know but if you ask me which place, (to clear the air, I think I am an introvert person). I like to go some place most when I am confused, I am unsure about future, I am damn upset due to someone or about something. or one want to get free.....
I love crowded city bus stops. you just go there sit there. The best thing about it is that you are alone with so much things happening around, you can spend any number of hours you want to sit there or stand there, no one will ask you question that why are you sitting/standing there. may be someone can ask about time, if you have wrist watch, or about some X bus going to Y place has came in last Yhrs/minutes. you can ignore him (but not her as abla nari ko help karna chahiye), or you can say you dont know. so apart from this disturbance you would be left alone. so what you do there..then I try to see in people's faces, in their eyes. if some good girl (well you cant stare at her just like that, atleast I cant ) is there I look around to see how many passer-bys who stare at her...I try to read their eyes. and also the passer-bys who ignore her due to their ego or worries..I look at her expressions. though I dont get anything.but just trying to understand things. then everything will leave, catching there buses, and when only 1-2 people remaining there..you know that its time for you to leave as by the time like outside chaos getting vanished, you will find your mind becoming calmer.
If someone is waiting there for long, I try to guess what that person might be thinking..
Serenity in Pandemonium...wordweb zindabad. "Peace in Chaos" was not bad title too..
Its like chaos inside you trying to compete with chaos in outside world, and you try to find meanings of many meaningless things going on outside and may be at that time you find out that same thing is happening inside you the chaos is temporary it will callm down after some time as the chaos outside just be with it.
this is quite old post I wrote it on private blog, just republishing it here.
The story of accident
I thought he was taking right to enter BRT lane,
then I thought left in same lane.
then realized he hadnt seen it,
but he was driving it straight.
it was deja vu.
There was panic I shouted then in a moment we were in the air
and in the next moment, on the road in the pain surrounded by public.
It was like stunt in movie, only difference was we were part of that.
Sometime u know it is going to happen and it happens.
now recovering from accident with bedrest, direct fall on back is so painful.
he was soumya and date was 3rd aug 08
then I thought left in same lane.
then realized he hadnt seen it,
but he was driving it straight.
it was deja vu.
There was panic I shouted then in a moment we were in the air
and in the next moment, on the road in the pain surrounded by public.
It was like stunt in movie, only difference was we were part of that.
Sometime u know it is going to happen and it happens.
now recovering from accident with bedrest, direct fall on back is so painful.
he was soumya and date was 3rd aug 08
Thursday, October 29, 2009
Log4net
Why is this writeup?
brother, to tell you that this is not that difficult and its good thing to have in your code.
Log4net package is used for logging in ASP.net. for more you read wiki.
1) Download Zip file using Wget. there would be good chance that it will unzip. Got this after downloading using Firefox/IE/Safari on Mac. downloaded zip file was corrupted always. finally downloading using wget worked on mac and windows both.
2) log4net usage.
its quite simple and standard
things to checkout before you get frustrate and giveup.
a) Download zip using wget and get proper dll file and add it as a reference.
b) Add line in assemblyinfo file which tells that configuration for log4net is stored in Web.config
c) add proper config info in Web.config file which you can find easily on internet.
brother, to tell you that this is not that difficult and its good thing to have in your code.
Log4net package is used for logging in ASP.net. for more you read wiki.
1) Download Zip file using Wget. there would be good chance that it will unzip. Got this after downloading using Firefox/IE/Safari on Mac. downloaded zip file was corrupted always. finally downloading using wget worked on mac and windows both.
2) log4net usage.
its quite simple and standard
things to checkout before you get frustrate and giveup.
a) Download zip using wget and get proper dll file and add it as a reference.
b) Add line in assemblyinfo file which tells that configuration for log4net is stored in Web.config
c) add proper config info in Web.config file which you can find easily on internet.
Yes+
Why is this writeup?
Brother, to tell you something abt art of living, Jai gurudev :)
Did YES+ course in bangalore koramangala...
Talk by Rashmin was quite funny...they created big excitement around bawa but he didnt come...many heart-breaks..
banni hundaga and hundagis and vellaya..added words to kannada vocab...
thanks to kaykay and suman and volunteers...
to clear your mind...
And not to forget...
Dont get high on your own supply!!!
Brother, to tell you something abt art of living, Jai gurudev :)
Did YES+ course in bangalore koramangala...
Talk by Rashmin was quite funny...they created big excitement around bawa but he didnt come...many heart-breaks..
banni hundaga and hundagis and vellaya..added words to kannada vocab...
thanks to kaykay and suman and volunteers...
to clear your mind...
And not to forget...
Dont get high on your own supply!!!
Sunday, October 25, 2009
Halwe pe blog to banta hai...
This blog is especially written for people who has tested tasty Suzee ka halwa at our place (list is bit long even we dont know names of people whom we served this delicious dish). if you find it crazy, then its Crazy, To understand this crazyness, you need to eat Halwa at our house, And you are welcome to our house anytime, Any one from us can make Halwa in just 5 minutes.
Who We Are : dhan ten nan
Our Place: HSR, Bangalore
Title Song:
Halwa yeh Halwa..
Suzee ka hai yeh halwa
Breakfast me khate hia halwa
Dinner me khate hai halwa
Subah sham khate hia hum yeh halwa..
Shudh Desi ghee se banta hai yeaaaaaaaahhhhhh...
(on tunes of Jalwa song from Fashion, courtesy Narayan (Nari))
It only takes 2 things to serve a Halwa...a Big Heart and a Halwa...
You can not eat your halwa and keep it too.
You can not eat your halwa yourself.
You can not eat your halwa in others plate.
Halwe ki nadiyan bahegi ab...Nana patekar style
Pyar nahin kiya aur Halwa nahin khaya/khilya to kya kiya jindagi me..
At Resto: Do you want any deserts?
SPSingh: Hum Hamara desert khud banake khate hia... aap bhi aa jao halwa khane gharpe..
There are 2 kinds of people in this world: One who eat halwa and others who dont...
Who We Are : dhan ten nan
Our Place: HSR, Bangalore
Title Song:
Halwa yeh Halwa..
Suzee ka hai yeh halwa
Breakfast me khate hia halwa
Dinner me khate hai halwa
Subah sham khate hia hum yeh halwa..
Shudh Desi ghee se banta hai yeaaaaaaaahhhhhh...
(on tunes of Jalwa song from Fashion, courtesy Narayan (Nari))
It only takes 2 things to serve a Halwa...a Big Heart and a Halwa...
You can not eat your halwa and keep it too.
You can not eat your halwa yourself.
You can not eat your halwa in others plate.
Halwe ki nadiyan bahegi ab...Nana patekar style
Pyar nahin kiya aur Halwa nahin khaya/khilya to kya kiya jindagi me..
At Resto: Do you want any deserts?
SPSingh: Hum Hamara desert khud banake khate hia... aap bhi aa jao halwa khane gharpe..
There are 2 kinds of people in this world: One who eat halwa and others who dont...
Tuesday, October 20, 2009
Installing Microsoft visual studio 2005 for ASP.NET
Why is this writeup?
- Brother, it will save you lot of time.
Microsoft visual studio 2005 setup on Windows Server 2003
Step 1. first install MVS 2005 - 8.0
Step 2. install hotfix to let service pack install properly
WindowsServer2003-KB925336-x86-ENU.exe
Step 3. download service pack and install it - VS80sp1-KB926601-X86-ENU.exe
Step 4. “c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe /Setup”.
Step 2 is required for Service Pack 1 to install properly.
Step 3 is to get ASP.Net web application template to be installed and other things. which is needed to create ASP.NET website project.
Step 4.
This command will flush the Visual Studio template cache and ensure that the projects work correctly.
- Brother, it will save you lot of time.
Microsoft visual studio 2005 setup on Windows Server 2003
Step 1. first install MVS 2005 - 8.0
Step 2. install hotfix to let service pack install properly
WindowsServer2003-KB925336-x86-ENU.exe
Step 3. download service pack and install it - VS80sp1-KB926601-X86-ENU.exe
Step 4. “c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe /Setup”.
Step 2 is required for Service Pack 1 to install properly.
Step 3 is to get ASP.Net web application template to be installed and other things. which is needed to create ASP.NET website project.
Step 4.
This command will flush the Visual Studio template cache and ensure that the projects work correctly.
Subscribe to:
Posts (Atom)


