• support[@]kurinchilion.com
  • +1 (888) 666-4252

YEOMAN – Yo, Grunt, Bower – Power tools for front-end developers

Feb 21, 2014 - by kurinchilamp 375 Views
Yeoman is a tool for modern workflow to aid front-end web application development. Yeoman consists of three tools to manage this workflow and has generators available for Angular, Backbone and a collection of over 100+ other projects
+ Grunt - It is the builder and utility component that helps automate repitive tasks, script minification, javascript task compiler, compiling sass, coffee script
+ Yo - It is the code generator component that helps in scaffolding, writing boilerplate code, install some grunt tasks
+ Bower - It is the package manager for web and it helps fetch javascript library and/or javascript/css frameworks and its dependencies. This is similar to Maven for java.
Continue Reading

How to find the collation and character set of MySQL tables?

Jan 09, 2014 - by kurinchilamp 371 Views
To find the collation of tables within MySQL database, you can use one of the commands listed below mysql> show table status from exampledb; mysql> SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLLATION_NAME FROM INFORMATION_SCHEMA.COLUMNS where TABLE_SCHEMA='exampledb';   To find the character set used in a MySQL table mysql> SELECT tbl.table_name, CCSA.character_set_name FROM information_schema.`TABLES` tbl, information_schema.COLLATION_CHARACTER_SET_APPLICABILITY CCSA WHERE CCSA.collation_name = tbl.table_collation AND tbl.table_schema = "schemaname";
Continue Reading

How to find the MySQL collation and character set?

Jan 08, 2014 - by kurinchilamp 357 Views
To find the collation of a database mysql> SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = 'exampledb' LIMIT 1; +------------------------+ | DEFAULT_COLLATION_NAME | +------------------------+ | utf8_general_ci | +------------------------+   To find the characterset of a MySQL database mysql> SELECT default_character_set_name FROM information_schema.SCHEMATA S WHERE schema_name = "exampledb";
Continue Reading

Sudo, Visudo -bash: visudo: command not found

Jan 02, 2014 - by kurinchilamp 660 Views
Visudo is needed to make modifications to the sudoers file. In a fresh install of CentOS "sudoers" file is not normally found. To install visudo issue the command $ yum -y install sudo As a sys admin, you need to be careful when performing tasks with root privileges. To be cautious, you can create a new user and assign him with root privileges using "visudo" $ /usr/sbin/visudo # User privilege specification root ALL=(ALL) ALL test ALL=(ALL) ALL In the above file, test is a new user created with root privileges. In order for the "test" user to have root privileges, command "sudo" should be used. It prevents the user from issuing any commands that can cause system wide havoc and it also logs the command inside "/var/log/secure" for review
Continue Reading

PostgreSQL: Create database, connect and list (command line)

Jan 01, 2014 - by kurinchilamp 374 Views
Changing host configuration $ vi /var/lib/pgsql/8.4/data/pg_hba.conf Add postgresql to startup process $ chkconfig postgresql-8.4 on Start postgresql service $ service postgresql-8.4 start Access postgresql $ su - postgresql $ psql Create database postgres-# create database test List databases postgres-# \list Exit postgresql postgres-# \q (or \quit) Connect to database postgres-# \c test (\connect test)
Continue Reading

How to install PostgreSQL on CentOS Linux?

Dec 31, 2013 - by kurinchilamp 465 Views
First lets do an update before we start installing PostgreSQL $ yum update You can install PostgreSQL from CentOS Base repo or can do a search for the latest version and install it based on your needs. Method 1 describes manual setup and Method 2 indicates an install from CentOS base repo (more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.