In a break, I had a look in to Asp.net Web Forms forum to see if there is anything that I can help. Indeed yes, there is a post surely I will be a help to the poster by the meaning of its title. Without any hesitant I clicked on the link. I was surprised by post description as it said...
I want to do such and such... and send me the code for that.
Although I had a thought that would be a help to the poster, my psychology made my so reluctant to say a word. I was so embarrassed to send someone a piece of code. I thought are we actually sending code? No we guiding them through the correct path by providing the best possible answer, I said to myself. I don’t know, but description of this particular post made me think twice about the psychology of the poster? Is he trying to get something done by others or is he desperately needs a help? Is he abusing the kindness and patience of other asp.net community members? I lost my confidence about the fact that poster genuinely need a help. At least if poster is smart enough, he or she may have used the words carefully and trick community members to get their work done. But not too smart, I have seen people post ‘requirement definitions’ which need couple of development team meeting to discuss, with the title with ‘need an idea’. I closed the browser and leaned back to work.
Showing posts with label Genaral. Show all posts
Showing posts with label Genaral. Show all posts
Tuesday, September 28, 2010
Saturday, May 15, 2010
Syntax Highlighter : Embed code examples in blog posts
Syntax Highlighter is a widely used (Asp.net forums) code/markup embedding script (tool), which supports widely used blog engines including blogspot and wordpress.
Configuration:
Blogspot:
Settings -> Layout -> Edit Html
Inside the html include following links and java script inside your head closing tag </head>
Syntax Highlighter supports vast range of programming and markup syntax as listed below.
Available Options
Links and references
Configuration:
Blogspot:
Settings -> Layout -> Edit Html
Inside the html include following links and java script inside your head closing tag </head>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'></script> <script language='javascript'> SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.config.clipboardSwf = 'http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf'; SyntaxHighlighter.all(); </script>
Syntax Highlighter supports vast range of programming and markup syntax as listed below.
- HTML
- C++ (CPP)
- C# (CSharp)
- CSS
- Java
- JScript (javascript)
- PHP
- Python
- Ruby
- SQL
- VB
- XML
- Perl
- Click on 'Edit HTML' tab (blogger)
- Wrap your code with <pre> tag as listed below
<pre class="brush:CSharp"> public void MyMethod() { /// /// Example method /// } </pre>
Available Options
<pre class="brush:html"></pre> <pre class="brush:cpp"></pre> <pre class="brush:csharp"></pre> <pre class="brush:css"></pre> <pre class="brush:java"></pre> <pre class="brush:jscript"></pre> <pre class="brush:php"></pre> <pre class="brush:python"></pre> <pre class="brush:ruby"></pre> <pre class="brush:sql"></pre> <pre class="brush:vb"></pre> <pre class="brush:xml"></pre> <pre class="brush:perl"></pre>
Links and references
Wednesday, November 19, 2008
Wednesday, April 16, 2008
Tuesday, June 05, 2007
New job at 2020Mobile Group
I have started a new era of my career with 2020 Mobile Group of Crewe as a Junior web developer.
http://www.2020mobile.com/
http://www.2020mobile.com/
Tuesday, September 26, 2006
The last day of the academic life (Postgraduate - Masters)
Today is the last acadamic day of my (postgraduate) university life (M.Sc Unisersity of Keele)
Wednesday, May 18, 2005
First Appoinment at ITC
I got an appoinment at ITC (Information Technology Center) of Univercity of Peradeniya
Friday, April 08, 2005
The last day of the academic life (Undergraduate - Bachelor)
Today is the last acadamic day of my (undergraduate) university life (B.Sc University Of Peradeniya)
Subscribe to:
Posts (Atom)
Azure Storage Account Types
Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...
-
Demo: I was thinking a way to show images before actually uploading them to server. I would say to preview images using javascript. Obv...
-
Demo : I am using asp.net UpdatePanel control to partial page update. As there is no keyup event for the asp.net TextBox control, I add an ...