Skip to content

Instantly share code, notes, and snippets.

View smartideasinc's full-sized avatar

smartideasinc

View GitHub Profile
adds
asdk
dlkldkdcfdl
Smartideas Inc is the technology consulting firm which love to implement solution in smart ways wanting to endure the best & efficient results. Together, we find value across boundaries, develop insights to act on, and energize teams to sustain success. We’re passionate about always doing the right thing for our clients and providing them with effective solutions
smartideasinc
design willa
smartideas chicago
masjid-e-bilal
#!/bin/bash
service=mysql
if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
then
echo "$service is running!!!"
else
#/etc/init.d/$service start
echo "Need to start at : $(date)" >> ~/mysql_stat.log
service mysql start
hello world
hello
world!
cd /var/www/html/type-theme-master
cd _posts
vi 2016-06-21-sublime.md
jekyll serve --watch
ssh newuser@188.166.206.52
cd /var/www/html/type-theme-master //jekyll path
cd _posts
vi 2016-06-21-new-post.md //posts has to create in this format
jekyll serve --watch //start jekyll server