background preloader


Facebook Twitter

Martndemus/ember-cli-font-awesome. Test HTMLBars in Ember.js Canary - Ember.JS. Howdy friends!

Test HTMLBars in Ember.js Canary - Ember.JS

Ember.js 1.10 will branch into beta in about a week. The HTMLBars templating engine is in master now, behind a feature flag. In order to catch more issues before beta (and to give us a better understanding of if the feature can move forward), I'd like to ask a favor. Follow @rwjblue's guide on testing HTMLBars in your Ember app263, and open an issue if anything seems awry. Seeing how well the code works in real-world apps is super important! And while you're on master, check out two other new features: Node.js - Find the version of an installed npm package. Delete All Data in a MySQL Table. Posted July 16th, 2004 in MySql (Updated February 17th, 2009) MySQL is the world's most popular open source database, recognized for its speed and reliability.

Delete All Data in a MySQL Table

This article looks at how to delete all the data from a MySQL database table and how it affects auto incremental fields. Delete and Truncate There are two ways to delete all the data in a MySQL database table. TRUNCATE TABLE tablename; This will delete all data in the table very quickly. DELETE FROM tablename; This also deletes all the data in the table, but is not as quick as using the "TRUNCATE TABLE" method. Auto Increment Columns for MyISAM Tables. Creating a SVG Pie Chart – HTML5. Updates: Growing pie chart with Raphael JS – Back to the actual post:- In one of my recent projects I had to create a simple pie chart kind of structure in SVG (Scalable Vector Graphics) based on values given in an array.

Creating a SVG Pie Chart – HTML5

So if the array has five values in it then the pie chart will have five slices, each slice representing a value. Here is how it looks, Calculating angles swiped by each slice Alright, so we need the angles that are swiped or covered by a each of the pie slices. Var pieData = [113,100,50,28,27]; Each value will cover some angle in the circular space. The Approach Now, that we have the angles calculated, the next step is to approach the problem.

Ember.js - Disabling Ember Deprecation Wanrnigs. Numeral.js. Basic Branching and Merging. Let’s go through a simple example of branching and merging with a workflow that you might use in the real world.

Basic Branching and Merging

You’ll follow these steps: Do work on a web site.Create a branch for a new story you’re working on.Do some work in that branch. At this stage, you’ll receive a call that another issue is critical and you need a hotfix. You’ll do the following: Switch to your production branch.Create a branch to add the hotfix.After it’s tested, merge the hotfix branch, and push to production.Switch back to your original story and continue working. Basic Branching First, let’s say you’re working on your project and have a couple of commits already. You’ve decided that you’re going to work on issue #53 in whatever issue-tracking system your company uses. . $ git checkout -b iss53 Switched to a new branch "iss53" This is shorthand for: $ git branch iss53 $ git checkout iss53. ExpressCheckout/ember-cli-ramdisk. Sails.js - the hook orm taking too long to load. Running 'ember server' causes builds to fail with an EEXIST error?

How to import an SQL file using the command line in MySQL? ExpressCheckout/ember-cli-ramdisk. Modifier son fichier Host. Si jamais vous êtes amené à configurer un nouveau serveur, afin de préparer la migration d'un ancien hébergement à un nouveau.

Modifier son fichier Host

Avant d'effectuer la migration des DNS, il peut être utile pour vous d'effectuer un petit test en modifiant votre fichier host et ainsi court-circuiter les serveurs DNS. Windows: Ouvrez (avec le bloc note si vous n'avez pas mieux) le fichier : C:\Windows\System32\drivers\etc\hosts Vous trouverez une petite notice explicative (en anglais) vous expliquant rapidement comment effectuer des modifications.

Si votre nouveau serveur est hébergé sur l'adresse IP et que votre nom de domaine est, vous allez devoir rajouter une ligne. A Basic MySQL Tutorial. About MySQL MySQL is an open source database management software that helps users store, organize, and retrieve data.

A Basic MySQL Tutorial

It is a very powerful program with a lot of flexibility—this tutorial will provide the simplest introduction to MySQL How to Install MySQL on Ubuntu and CentOS If you don't have MySQL installed on your droplet, you can quickly download it. Ubuntu: sudo apt-get install mysql-server Centos: sudo yum install mysql-server /etc/init.d/mysqld start How to Access the MySQL shell Once you have MySQL installed on your droplet, you can access the MySQL shell by typing the following command into terminal: mysql -u root -p After entering the root MySQL password into the prompt (not to be confused with the root droplet password), you will be able to start building your MySQL database. Two points to keep in mind: All MySQL commands end with a semicolon; if the phrase does not end with a semicolon, the command will not execute.