background preloader

Config

Facebook Twitter

Martndemus/ember-cli-font-awesome. Test HTMLBars in Ember.js Canary - Ember.JS. Howdy friends! 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: Block params (ember-htmlbars-block-params). Thanks for your review! 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.

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 If you have an auto increment primary key column in your MyISAM table the result will be slightly different depending which delete method you use. Note that this is true for MySQL >= 4.0; from my reading of the TRUNCATE manual page in MySQL 3.23 TRUNCATE works just like DELETE which would mean the auto increment seed is not reset.

Auto Increment Columns for INNODB Tables. Creating a SVG Pie Chart – HTML5 | RIA Lab. 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. 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. The values are supplied by an array 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. The critical part is to generate a circular arc (a pie slice in this case) in SVG. Var dataString = "M200,200 L380,200 A180,180 0 0,1 89,341 z"; var arc = paper.path(dataString); z- Closes the path.

Full code <! 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. 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 You work on your web site and do some commits.

. $ vim index.html $ git commit -a -m 'added a new footer [issue 53]' Basic Merging Note. 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 | Admin Serveur. Si jamais vous êtes amené à configurer un nouveau serveur, afin de préparer la migration d'un ancien hébergement à un nouveau. 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 213.186.33.19 et que votre nom de domaine est admin-serv.net, vous allez devoir rajouter une ligne. 213.186.33.19 admin-serv.net Sauvegardez le fichier. Ipconfig /flushdns Ceci permet de vider votre cache DNS local. Ping admin-serv.net Si vous obtenez la nouvelle adresse IP (que vous venez de configurer), l'opération s'est bien déroulée. cd /etc/ nano hosts # Rajoutez simplement une ligne 213.186.33.19 admin-serv.net. A Basic MySQL Tutorial.

About MySQL MySQL is an open source database management software that helps users store, organize, and retrieve data. 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. How to Create and Delete a MySQL Database DROP DATABASE database name;