Extreme specificity overriding a CSS ID with 256 chained Classes
From thecssninja.com:According to the spec, one ID should be infinitely more specific than a class. But as it turns out, if you add 256 classes to a single element (same or different) it will override...
View ArticleRipping OAuth tokens (or other secrets) out of TweetDeck, Twitter.app, and...
From timetobleed.com:If you enjoy this article, subscribe (via RSS or e-mail) and follow me on twitter. So, you have some sort of OSX app. Maybe it's Twitter.app, TweetDeck, or something else that has...
View ArticleAutomaticly localizing applications with Google Translate
From CodeProject:Localizing your apps with Google Translate; Author: Chip VonBurg; Updated: 21 Aug 2012; Section: Localisation; Chapter: General Programming; Updated: 21 Aug 2012Click here to read...
View ArticleAutomatically localizing applications with Google Translate
From CodeProject:Localizing your apps with Google Translate; Author: Chip VonBurg; Updated: 21 Aug 2012; Section: Localisation; Chapter: General Programming; Updated: 21 Aug 2012Click here to read...
View ArticlePHP Best Practices, a short guide for common and confusing PHP tasks
From phpbestpractices.org:PHP is a complex language that has suffered years of twists, bends, stretches, and hacks. It's highly inconsistent and sometimes buggy.Click here to read moreTagged: #php...
View ArticleNorton Mobile Utilities Lite for Android packs premium, paid upgrade
From Betanews:Symantec is a company with many strings to its bow but is most often associated with security software. Those with long memories will remember Norton Utilities, a tweaking tool for...
View ArticleString Comparison in C# - Doing it the right way
From CodeProject:This small Tip talks about the right way of comparing strings in a application. We will try to see what are the various ways we can compare the strings and which one should be or...
View ArticleDate Formatting And Format Validation from JavascriptToolbox.com
From javascripttoolbox.com:This library contains functions to deal with dates in Javascript, parse date strings, format dates to different output strings, and compare dates. It uses the same format...
View ArticleFind multiple strings in selected columns
From CodeProject:Find multiple strings (delimenated by space) in all selected columns. ; Author: akhil khare; Updated: 28 Aug 2012; Section: Database; Chapter: Database; Updated: 28 Aug 2012Click here...
View ArticleNuget Perf Problem, Part II–Importing To RavenDB
From ayende.com:The first part of actually showing how RavenDB can handle the NuGet scenario was to actually get the data to RavenDB. Luckily, NuGet makes the data accessible using OData, so I quickly...
View ArticleTitle case using ASP.NET with C#
From CodeProject:Introduction How ti implement title case using C#. Using the code Strings sometimes have lowercase first letters. Uppercasing the first letter is often necessary.Click here to read...
View ArticleWhat's New In Python 3.0 - Python v3.0.1 documentation
From Python.org:Author: Release: Date:. This article explains the new features in Python 3.compared to 2.Python 3.also known as "Python 3000" or "Py3K", is the first ever intentionally backwards...
View ArticlePorting Kitchen to Python3: Part 1 - Detecting string types
From anonbadger.wordpress.com:I’ve spent a good part of the last week working on the python3 port of kitchen. It’s now to the point where I’ve reviewed all of the code and got the unittests passing. I...
View ArticleMultiple SQL INSERT operations with a single command
From CodeProject:Under normal circumstances, it is strongly recommended that you don't concatenate strings to produce an SQL Command, because of the risk of SQL Injection - and this is indeed a very...
View ArticleHidden Code
From Javalobby:Sometime ago I came across the issue of invisible characters in Strings. These can really cause confusion because they are invisible. Imagine my reaction to discovering you can use...
View ArticlePy3k status update #6
From PyPy Blog:This is the sixth status update about our work on the py3k branch, which we can work on thanks to all of the people who donated to the py3k proposal.The coolest news is not about what we...
View ArticleLen() vs. Datalength()
From CodeProject:Many gets confused with Len() and Datalength(). Here I have given a small example to describe what is the main difference between them. In the above example, two variable have declared...
View ArticlePython 3.3 is my Favorite Python Release
From pybites.blogspot.com:Today, Python 3.3 was released. During the 4.5 years I've been a CPython core developer, 6 major Python releases (2.2.3.3.3.and 3.have past by me. In this post, I will explain...
View ArticleAssign multiple test categories using TestCategoryAttribute
From Geeks With Blogs:I am using TestCategoryAttribute to filter which tests to run during builds and wandered, how to -how to assign multiple test categories. According toconstructor documentation...
View ArticleStrings in .NET are Enumerable
From Geeks With Blogs:It seems like there is always some confusion concerning strings in .NET. This is both from developers who are new to the Framework and those that have been working with it for...
View ArticleUsing Data Annotations in the .NET Framework
From CodeProject:Starting with .NET 4 or MVC3, a developer could use a data annotation on a property to force data validation. This is extremely powerful especially for MVC developers. The same data...
View ArticleHow MeetMe Went International on Android
From engineering.meetme.com:Our engineering team has been working hard to implement full internationalization (i18n), including localization (L10n) support. MeetMe sees international support as...
View ArticleXOR Hex Strings in Linux Shell Script
From CodeProject:This is a simple shell script to XOR hex strings. I used it to generate sha1 hashes of files and XOR ing their hashes to create master result. Now let's see what this function...
View ArticleOak by amirrajan
From GitHub:Oak is a suite of contructs that brings the power of dynamic typing and frictionless development to ASP.NET MVC (it can be used outside of MVC too). Oak has an addicting development life...
View ArticleC#/.NET Little Wonders: Static Char Methods
From Geeks With Blogs:Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The...
View ArticlejQuery Roundup: jQuery UI 1.9.0, Delta Theme, jQuery.textFit
From DailyJS:Note: You can send your plugins and articles in for review through our contact form or @dailyjs. jQuery UI 1.9.0 is out, which adds new widgets, API refinements, improved accessibility,...
View ArticleMy Collection of PHP Performance Benchmarks
From maettig.com:PHP version 5.2.13 is running on this server. My conclusion: In most cases, use empty() because it does not trigger a warning when used with undefined variables. Note that empty("0")...
View ArticleSplitting strings again – strtok redeemed
From CodeProject:The C++ source files for the string tokenisers discussed in this post and the Splitting strings post, plus the code for Removing whitespace and Static assert in C++, can be found...
View ArticleOn StringComparison Values
From Geeks With Blogs:When you use the .NET Framework’s String.Equals and String.Compare methods do you use an overloStringComparison enumeration value? If not, you should be because the value provided...
View ArticleRuby Tidbit: String, the original value object
From erniemiller.org:Ernie Miller is a Ruby on Rails developer in Louisville, Kentucky. This weblog contains tips, tricks, gems, and the occasional rant.Click here to read moreTagged: #ruby #rails...
View ArticleSorting Variable Length Strings in O(N) Time
From CodeProject:Download source - 126.3 KB. The algorithm described herein is designed to implement sorting of variable length strings in O(time. The implementation sorts an input file of...
View ArticleThis Week in Ruby: MRI 1.9.3-p327, Rails 3.2.9, Capybara 2.0, and the Fukuoka...
From Ruby Inside:Welcome to this week’s roundup of Ruby news, articles, videos, and more, cobbled together from my e-mail newsletter, Ruby Weekly. Highlights include: MRI 1.9.3-p327, Rails 3.2.9,...
View ArticleC# - Using Rijindael Algorithm & Recursion to Implement a File...
From CodeProject:Download source - 382.9 KB Download source - 814.3 KB. This article demonstrates the use of class to powerfully encrypt strings and files. It can be very useful also for understanding...
View ArticleMetaprogramming for the Masses
From InfoQ:Richard Carlsson introduces and demoes a library for using template strings with meta-variables. The library was used at Klarna to implement a DSL for business logic. By Richard...
View ArticleHow String equals Method Works
From Javalobby:The equals method is declared in Object class and hence is inherited by all classes in Java. The purpose of equals method is to provide logical equality. The default implementation of...
View ArticleJDK 8: State of the Collections
From Javalobby:I'm a Java and SQL enthusiast developer working for a leading company in the E-Banking field in Zurich, Switzerland. I'm the creator of JOOQ, a comprehensive SQL library for Java, and...
View ArticleAvoiding the Tar Pits of Localization with Jeff Casimir
From blog.localeapp.com:The tar pits of localizationWriting better codeFixing magic dataWhite labeling your app InternationalizationLocalizationLocale SelectionBonus: White labelingSummaryQ and Even if...
View ArticleA note about the performance of Printf and Format
From lexifi.com:The goal is to display the following to stdout: (0,0) (1,1) (2,2) ... (1000000,1000000) How would you implement that in OCaml? For such a simple task, we probably expect the program to...
View ArticleC# - Using Rijindael Algorithm and Recursion to Implement a File...
From CodeProject:This article demonstrates the use of the System.Security.Cryptography.Rijindael class to powerfully encrypt strings and files. It can be very useful for understanding some file...
View ArticlePython for the impatient
From abiens.snv.jussieu.fr:This is a very brief summary of the Python language for computing professionals and other folks who are happy learning a new language in ten minutes from a couple of pieces...
View ArticleSmart whitespace and the Ruby Slippers
From Perl.org Blogs:This is cross-posted from the new home of the Ocean of Awareness blog. I've been working on a "scannerless" Marpa interface.Click here to read moreTagged: #ruby #perl6 #parsing...
View ArticleStrings Obfuscation System
From CodeProject:Michael Haephrati, born in 1964, an entrepreneur, inventor and a musician. Haephrati worked on many ventures starting from HarmonySoft, designing Rashumon, the first Graphical...
View ArticlePy3k status update #8
From PyPy Blog:This is the eight status update about our work on the py3k branch, which we can work on thanks to all of the people who donated to the py3k proposal.Just a short update on November's...
View ArticleWriting Custom CellRenderer using the Declarative new GWT 2.5 UiRenderer
From Javalobby:Before GWT 2.writing a custom CellRenderer to present data in a certain manner was very complicated and very difficult to achieve. All the custom UI code had to be written inside a Java...
View ArticleAn intelligent 404 page
From CodeProject:Download source - 2.80 Kb Download demo app (WinForms) to test the algorithm - 7.04 Kb. Did you ever notice on big sites like www.microsoft.com, if you reach a page that doesn't exist,...
View ArticleWorking with legacy databases in NHibernate Part 2 - Fixed length strings and...
From CodeProject:Simple one this but it drove me crazy for a while. For some reason *cough* incompetence *cough* the technical manager at my previous company had a penchant for using fixed-length...
View ArticleC#: More On Array Variance
From CodeProject:In a previous post, I went through how arrays have a covariant in relation to the type of its elements, but not safely covariant. In the following example, the second assignment is...
View ArticleInternet Explorer 10 User Agent Strings On Windows 8 64bit
From CodeProject:Internet Explorer 10 is the web browser Microsoft is delivering with Windows. (Needs to be enabled for each security zone.Click here to read moreTagged: #64bit #browser #strings...
View ArticleMore magic - Lessons learned from NUL byte bugs
From sjamaan.ath.cx:Last time I explained how sloppy representations can cause various vulnerabilities. While doing some research for that post I stumbled across NUL byte injection bugs in two...
View ArticleJust Enough Ops of Devs
From DZone Architect Zone:A few weeks ago I was reading through the chef documentaion and I came across the page "Just Enough Ruby for Chef". This inspired me to put together a quick article, on how...
View Article