This has to be one of the most awesome features of Nancy, Content Negotiation. Recently added in 0.12, it gives you the ability to implement a single route that responds with different versions of the same document, without having to mess up your code with duplicate methods or conditional statements.
CSSTrashman is an online tool which allows you to supply a URL and it scans the website and generates a new clean CSS file from the existing styles.
"In the end, Kara is intended to be a true developer’s framework. Instead of writing traditional HTML and CSS we rely on the power and expressiveness of Kotlin."
Toolbar.js is a jQuery plugin which allows you to create tooltip-style toolbars. It uses Twitter Bootstrap’s icons for the UI. With Toolbar.js you can easily create toolbars for use in web applications.
One of the biggest pains of building websites, in my opinion, is implementing OAuth providers. So PureKrome and myself decided to create WorldDomination: Web Authentication. The idea behind this framework is to keep it super simple to implement OAuth into your website, without the bloat.
I used a tool called pdftk which is excellent, I've used it before for doing various other PDF-related things. To grab metadata such as bookmarks, use the dump-data command, like this:
The idea to study the masks came to me when I saw the Chrome browser logo on a Google website. I liked this effect and I wanted to understand how it works. Well, what is a mask?
I’m fed up with people telling me that WordPress is a platform for amateurs, or that it is not flexible or powerful enough for professionals or that it is just a blog not a website. Therefore, I am setting up this challenge. Challenge me to get my WordPress Website to do anything you want it to do. I (or someone in my team) will make it happen.
RoughDraft. js is a jQuery plugin which allows you to create and prototype full interactive HTML mockups quickly and easily.
"Tools are the enablers that help us bring an idea to fruition. Over the past year we've seen a crazy shift in how much web developers care about the tools they use." Presentation by Addy Osmani.
Now that I've gotten comfortable with PhoneGap's command line I'm finding myself much more productive when building quick demos. By default, the new project has this fancy HTML. Luckily there is a quick fix for this.
CSS 3D transforms are just awesome. I’ve seen before some cool and inspiring implementations in the wild and still I can’t believe I didn’t had the chance to write an article on this topic ’til now.
A common CSS problem is the need to crop and scale an image on a page. Scaling an image is easily done using the hight and width attributes of the image. Likewise cropping an image can be accomplished by using the image as a background of an element and setting the hight and width of the element.
There are times that you would want a page only to be accessible for users which have logged into your the WordPress user manager. Such as if you have a members only area of your website which is only for logged in users, you need to make sure that the page can not be seen by any users who haven't logged in yet.
The solution to dummy images is using a placeholder service like fake images please. This service allows you to create fake images at the create sizes using their API, which means you can quickly add these placeholders to your design but just typing in the image URL.
You may have noticed webapps images in Chrome going grayscale to indicate that the network is down. A simple demonstration of the same concept is shown here.
Today we look at the most basic elements of a page such as blocks and forms. I think that if we make all the blocks with the same styles – it would be boring, so (for a change), I prepared four types of blocks with custom headers and footers
I recently described two versions of the Knapsack problem written in Ruby and Python and one common thing is that I used a global cache to store the results of previous calculations. From my experience of coding in Haskell it’s not considered very idiomatic to write code like that and although I haven’t actually tried it, potentially more tricky to achieve.
I was discussing with my colleague Andy Beer about replacing some jQuery animation with CSS3 transitions so that we could make use of hardware acceleration. This lead me to start thinking about how you'd handle callbacks if you wanted to chain together animations as CSS doesn't have events.