24 April 2014

The Ruby Reflector

Topic

Cascading Style Sheets

  Source Favicon
By Mike Gunderloy of A Fresh Cup 9 days ago.
Email

Learn CSS Layout - An online tutorial.

Ruby's OptionParser Is All You Need - Using the built-in code instead of a gem when you need to build command line apps.

Localtunnel - Another choice for sharing services on your dev box with the world.

afreshcup.com Read
  Source Favicon
By newrelicblog of New Relic 1 year ago.
Email

…the user's experience with your site. Unfortunately, not all Cascading Style Sheets ( CSS) or JavaScript ( JS) lends itself to the various techniques in popular minify libraries . Developers should take steps using jQuery or WordPress Core to provide a fully optimized version of their files to take the load off the publishers.

There are various tools for WordPress that support the minification process. When making a selection, ensure you pick one that caches …

newrelic.com Read
  Source Favicon
By miraculous1 of mir.aculo.us 11 days ago.
Email

CSS frameworks

Boilerplates

reset.css

JavaScript loaders

The newest NoNoNoSQL database

Distributed anything

That cool new jQuery plugin

A custom-designed font

Multiple load-balanced "webscale" servers

All these things create the illusion of making things easier when in reality they create very complex dependencies and will be very hard to remove later if they don't turn out to be the silver bullets they promise to be. This doesn't mean these things …

mir.aculo.us Read
  Source Favicon
By Simone Carletti of Simone Carletti's Blog almost 4 years ago.
Email

…what happened a few years ago with HTML pages when Cascading Style Sheets ( CSS) were introduced. Before CSS, the presentation of HTML elements was defined inline. Did you remember the ugly font tag or the widely-adopted align attribute? <p align="center">This is a centered paragraph with a <font color="#FF0000">red</font> word</p>

Then CSS come, and the document presentation attributes were slowly moved outside the main HTML document. …

simonecarletti.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 16 days ago.
Email

web-repl - Javascript REPL that runs in ruby.

Removing Sass Duplication Using Sass Maps - Yes, you can DRY up your CSS as well as your code.

Comic Neue - Not sure we really needed an optimized replacement for Comic Sans, but here it is.

afreshcup.com Read
  Source Favicon
By Adron Hall of New Relic 20 days ago.
Email

…kick off with a few of my favorite tools: WebStorm (an HTML, CSS, JavaScript, and more developer IDE from JetBrains ) and Express.js (a simple, minimal and extensible web application framework).

WebStorm and Express.js

Normally for an Express.js-based application, I'd run ‘npm install express -g' to install Express locally and then I can use the command ‘express application_name' to put the default scaffolding for an application …

newrelic.com Read
  Source Favicon
By Patrick of Kalzumeus Software 21 days ago.
Email

Tarsnap is the world's best secure online backup service. It's run by Colin Percival, Security Officer Emeritus at FreeBSD, a truly gifted cryptographer and programmer. I use it extensively in my company, recommend it to clients doing Serious Business (TM) all the time, and love seeing it successful.

It's because I am such a fan of Tarsnap and Colin that it frustrates me to death . Colin is not a great engineer who is bad at business and thus compromising …

kalzumeus.com Read
  Source Favicon
By Shiv Kuman of New Relic 22 days ago.
Email

…colors for each of your categories and even copy/paste HTML for your custom header or a CSS stylesheet to override site-wide styles.

Here's Discourse's default UI:

If you need to do something more customized, you can do this by — you guessed it — a plugin! We leaned on our ninja Javascript guru, Kevin Reese , for a lot of this work. A good example of where this was needed was for something that seems fairly simple, but was quite challenging in practice. Our …

newrelic.com Read
  Source Favicon
Email

The simpler devices get, the more complex our jobs as developers becomes it seems.

When I first started my independent developer career way back in the dark ages of 2006, building an app usually meant building a desktop product that persisted data locally. In some cases there was an Internet backed service tied to it, but it wasn't the norm. This was before Dropbox, people.

If you truly wanted Internet connected services, you built web apps. Using a mix of HTML, CSS and a sprinkling …

carpeaqua.com Read
  Source Favicon
On Dalibor Nasevic 1 month ago.
Email

2. Sort properties in CSS

If we want to order the lines in the CSS selector alphabetically, we just select the lines and type :sort while in visual mode and we have them sorted. h4 { font-size: 11px; margin: 15px; background: red; }

3. Select yanked and pasted text

We can select the original yanked text with gv . And, select last pasted text with gb . gb is a custom mapping that we add to vimrc file and I find it extremely useful when doing extract method refactoring, a cut-paste …

dalibornasevic.com Read