background preloader

Rubular: a Ruby regular expression editor and tester

SSL Certificate Not Trusted Error "The security certificate presented by this website was not issued by a trusted certificate authority." The certificate not trusted error indicates that the SSL certificate is not signed or approved by a company that the browser trusts. This occurs most often for one of the following reasons: The web site is using a self-signed certificate. The last option is a very common one. Occasionally, certain browsers will give this error when others do not. How to Fix The Untrusted Error To fix this error, you will need to install one or more intermediate/chain certificates onto the web server. Most web browsers make it clear that you shouldn't just continue when you receive this error. This error is often phrased differently depending on the web browser. Different certificate not trusted errors in different web browsers Digg del.icio.us Reddit

HTML 5 and CSS 3: The Techniques You’ll Soon Be Using In this tutorial, we are going to build a blog page using next-generation techniques from HTML 5 and CSS 3. The tutorial aims to demonstrate how we will be building websites when the specifications are finalized and the browser vendors have implemented them. If you already know HTML and CSS, it should be easy to follow along. Before we get started, consider using one of our HTML5 Templates or CSS Themes for your next project—that is, if you need a quick and professional solution. HTML 5 is the next major version of HTML. Before we begin marking up the page we should get the overall structure straight: In HTML 5 there are specific tags meant for marking up the header, navigation, sidebar and footer. It still looks like HTML markup, but there are a few things to note: In HTML 5, there is only one doctype. Instead of using divs to contain different sections of the page we are now using appropriate, semantic tags. We have already defined a new section in the document using the section tag.

SQLite Database Browser Getting Started with Rails 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. Rails is a web application framework running on the Ruby programming language. Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails? Rails is a web application development framework written in the Ruby programming language. Rails is opinionated software. The Rails philosophy includes two major guiding principles: Don't Repeat Yourself: DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." 3 Creating a New Rails Project The best way to read this guide is to follow it step by step. 3.1 Installing Rails Open up a command line prompt. 9 Security

Mailing Lists There are many PHP-related mailing lists available on our server. Most of them are archived, and all of them are available as newsgroups on our news server. You can search some mailing lists right from this website from the search page or by using the search input box selecting the appropriate option on the top-right of every page. There is an experimental web interface for the news server at and there are also other archives provided by Marc. Twitter The PHP team maintains an official PHP.net account on twitter, @official_php, for those interested in following various information about the PHP project. Mailing List Posting guidelines When posting to mailing lists or newsgroups, please keep the following in mind: Use a valid email address. And make sure you have read our Mailinglist Rules. You will be sent a confirmation mail at the address you wish to be subscribed or unsubscribed, and only added to the list after following the directions in that mail.

Getting Started Most webmasters are familiar with HTML tags on their pages. Usually, HTML tags tell the browser how to display the information included in the tag. For example, <h1>Avatar</h1> tells the browser to display the text string "Avatar" in a heading 1 format. However, the HTML tag doesn't give any information about what that text string means—"Avatar" could refer to the hugely successful 3D movie, or it could refer to a type of profile picture—and this can make it more difficult for search engines to intelligently display relevant content to a user. Schema.org provides a collection of shared vocabularies webmasters can use to mark up their pages in ways that can be understood by the major search engines: Google, Microsoft, Yandex and Yahoo! 1. 1a. Your web pages have an underlying meaning that people understand when they read the web pages. 1b. itemscope and itemtype Let's start with a concrete example. To begin, identify the section of the page that is "about" the movie Avatar. Back to top 1d.

Gnome and Autospec Notifications I’m very keen on DBB with RSpec now and I wanted to share how I set up autospec notifications on Ubuntu (Jaunty 9.04) as long as the post I followed to do it is no longer available. I’m using XCFE but should work perfectly on Gnome as well. This is an screenshot of what you’ll get in the end: autospec notification XFCE/Gnome First you need the ZenTest gem, you probably already do: $ sudo gem install ZenTest $ sudo gem install redgreen Then install the libnotify-bin package: $ sudo apt-get install libnotify-bin Here is the trick. As you can see I use the fail.png and pass.png images to show those cheesy smileys : ). autotest_images.zip Make your tests go green and have a beer! Update: Added redgreen gem and changed “require redgreen” as Rodrigo Flores and rakk suggested. Update: Changed mistakenly escaped > . Update: The script now supports pending examples. Update: Removed an extra end.

Installing Ruby and Rails on Mac OS X Updated: Mar. 11, 2014 All of our online courses start with comprehensive instructions for getting the required software installed and set up on your own computer. For the online Rails course, that means installing Ruby and Rails. During the course, you'll then write, refactor, and test your code directly on your own computer. Setting up a stable Ruby and Rails environment on your Mac has never been easier. Install Ruby 2 and Rails 4 The best way we've found to install Ruby and Rails on a Mac is using the Ruby Version Manager (RVM). Note that Mac OS X ships with a version of Ruby. First, find the Terminal application (it's under the Applications -> Utilities directory) and drag it onto your dock. Now you have the latest versions of Ruby and Rails installed! Create An Example Rails App Now that we have all the required software installed, let's create your first Rails app to make sure everything is working in harmony. Next Steps That's all there is to it!

A guide and tutorial on using ComboFix Introduction ComboFix is a program, created by sUBs, that scans your computer for known malware, and when found, attempts to clean these infections automatically. In addition to being able to remove a large amount of the most common and current malware, ComboFix also displays a report that can be used by trained helpers to remove malware that is not automatically removed by the program. At this time ComboFix can only run on the following Windows versions: Windows XP (32-bit only) Windows Vista (32-bit/64-bit) Windows 7 (32-bit/64-bit) You should not run ComboFix unless you are specifically asked to by a helper. It should also be noted that when you run ComboFix it will automatically delete files from the following locations: Windows Recycle Bin Temporary Internet Files Temp Folder If you store files that you wish to keep in one of these location, it is suggested that you move them to a safer location rather than relying on the above temporary storage locations. Using ComboFix ComboFix Icon

akzhan/jwysiwyg - GitHub Rails mail error How to Install Ruby on a Mac This one is tailor made for the Basix users among you. If you've been itching to try out Ruby and/or Rails, if the Terminal is somewhat new to you, you may find that even the process of installing it can generate countless confusing errors. This article will detail the exact steps you need to follow to get Ruby up and running on your Mac. Step 1 - RVM What you might be interested to know is that Ruby comes preinstalled on your Mac. Likely, the version number will return 1.8.7. Old versions of the OS shipped with a buggy version of Ruby RVM provides the flexibility to use any version of Ruby that you require. These days, RVM is the way the cool kids install Ruby, and that's what we'll use. "RVM lets you deploy each project with its own completely self-contained and dedicated environment--from the specific version of ruby, all the way down to the precise set of required gems to run your application. Open the Terminal, and type: Step 2 - Load RVM into the Shell Step 3 - Restart Terminal

10 European Startups To Watch in 2011 When you hear Silicon Valley discuss the European startup scene it’s often negatively. Some say that the investors aren’t brave enough, some say the entrepreneurs aren’t bold enough. Whether there’s any truth in these accusations or not, the fact is that there are startups across Europe that are brimming with original ideas and creativity. Following on from our 10 Exciting European Startups from 2010, here are 10 startups to look out for in 2011. Pearltrees Visitors to the LeWeb conference last month couldn’t have failed to spot Pearltrees. Pearltrees makes organising groups of links to content incredibly easy. Recent additions to the service include real-time group collaboration and a touch-screen based interface which will be ported to the iPad soon. Planely The idea behind Planely is a certainly niche one, but the Danish startup could well be onto something that frequent air travellers will love. Geomium LikeOurselves Storific Datasift SuperMarmite Viewdle Screach Shutl

Splash, diaporama javascript Splash est un script permettant d’afficher en plein écran une image. Pas de fioritures dans ce dernier, il n’est pas nécessaire d’inclure les librairies prototype, et JQuery. Comment ça marche ? d’abord inclure le fichier javascript entre les balises <head></head><script type="text/javascript" src="/include/js/splash.image/splash.image.js"></script><script type="text/javascript" src="/include/js/splash.image/splash.image.js"></script>Ensuite le fichier de styles qui va bien<link type="text/css" rel="stylesheet" href="/include/js/splash.image/splash.image.css" /><link type="text/css" rel="stylesheet" href="/include/js/splash.image/splash.image.css" /> Sur le lien de chaque image, ajouter l’attribut rel et donner lui la valeur « splash.image ». Voici le résultat Description de la photo Depuis la version 1.8, une description de l’image sera visible juste en dessous de celle-ci. Regrouper les images Vous pouvez regrouper les images en modifiant l’attribut rel. Groupe d’image 1 : Groupe d’image 2 :

Related: