hidden-features

Hidden features of HTML

青春壹個敷衍的年華 提交于 2019-11-26 13:54:32
HTML being the most widely used language (at least as a markup language) has not gotten its due credit. Considering that it has been around for so many years, things like the FORM / INPUT controls have still remained same with no new controls added. So at least from the existing features, do you know any features that are not well known but very useful. Of course, this question is along the lines of: Hidden Features of JavaScript Hidden Features of CSS Hidden Features of C# Hidden Features of VB.NET Hidden Features of Java Hidden Features of classic ASP Hidden Features of ASP.NET Hidden

Hidden features of Perl?

可紊 提交于 2019-11-26 11:43:01
问题 Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. What are some really useful but esoteric language features in Perl that you\'ve actually been able to employ to do useful work? Guidelines: Try to limit answers to the Perl core and not CPAN Please give an example and a short description Hidden Features also found in other languages\' Hidden Features: (These are all

Hidden features of VBA

冷暖自知 提交于 2019-11-26 11:26:26
Which features of the VBA language are either poorly documented, or simply not often used? Oorang This trick only works in Access VBA, Excel and others won't allow it. But you can make a Standard Module hidden from the object browser by prefixing the Module name with an underscore. The module will then only be visible if you change the object browser to show hidden objects. This trick works with Enums in all vb6 based version of VBA. You can create a hidden member of an Enum by encasing it's name in brackets, then prefixing it with an underscore. Example: Public Enum MyEnum meDefault = 0

Hidden Features of VB.NET?

北慕城南 提交于 2019-11-26 09:20:31
I have learned quite a bit browsing through Hidden Features of C# and was surprised when I couldn't find something similar for VB.NET. So what are some of its hidden or lesser known features? torial The Exception When clause is largely unknown. Consider this: Public Sub Login(host as string, user as String, password as string, _ Optional bRetry as Boolean = False) Try ssh.Connect(host, user, password) Catch ex as TimeoutException When Not bRetry ''//Try again, but only once. Login(host, user, password, True) Catch ex as TimeoutException ''//Log exception End Try End Sub Konrad Rudolph Custom

Hidden features of Ruby

主宰稳场 提交于 2019-11-26 06:03:44
问题 Continuing the \"Hidden features of ...\" meme, let\'s share the lesser-known but useful features of Ruby programming language. Try to limit this discussion with core Ruby, without any Ruby on Rails stuff. See also: Hidden features of C# Hidden features of Java Hidden features of JavaScript Hidden features of Ruby on Rails Hidden features of Python (Please, just one hidden feature per answer.) Thank you 回答1: From Ruby 1.9 Proc#=== is an alias to Proc#call, which means Proc objects can be used

Favorite Django Tips & Features?

拥有回忆 提交于 2019-11-26 04:57:16
问题 Inspired by the question series \'Hidden features of ...\', I am curious to hear about your favorite Django tips or lesser known but useful features you know of. Please, include only one tip per answer. Add Django version requirements if there are any. 回答1: I'm just going to start with a tip from myself :) Use os.path.dirname() in settings.py to avoid hardcoded dirnames. Don't hardcode path's in your settings.py if you want to run your project in different locations. Use the following code in

Hidden features of HTML

泪湿孤枕 提交于 2019-11-26 03:46:06
问题 HTML being the most widely used language (at least as a markup language) has not gotten its due credit. Considering that it has been around for so many years, things like the FORM / INPUT controls have still remained same with no new controls added. So at least from the existing features, do you know any features that are not well known but very useful. Of course, this question is along the lines of: Hidden Features of JavaScript Hidden Features of CSS Hidden Features of C# Hidden Features of

Hidden features of Scala

柔情痞子 提交于 2019-11-26 03:24:13
问题 What are the hidden features of Scala that every Scala developer should be aware of? One hidden feature per answer, please. 回答1: Okay, I had to add one more. Every Regex object in Scala has an extractor (see answer from oxbox_lakes above) that gives you access to the match groups. So you can do something like: // Regex to split a date in the format Y/M/D. val regex = "(\\d+)/(\\d+)/(\\d+)".r val regex(year, month, day) = "2010/1/13" The second line looks confusing if you're not used to using

Hidden features of VBA

て烟熏妆下的殇ゞ 提交于 2019-11-26 02:26:22
问题 Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. Which features of the VBA language are either poorly documented, or simply not often used? 回答1: This trick only works in Access VBA, Excel and others won't allow it. But you can make a Standard Module hidden from the object browser by prefixing the Module name with an underscore. The module will then only be visible if

Hidden features of Python [closed]

风格不统一 提交于 2019-11-26 01:18:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not