Simplychat

Simply chat is a concept for a light web-based chat program. Allows  users to send invites for chat and users are added to their contact list.  Chats are deleted after the session expires.

Fork this at GitHub

Posted in PHP, Snippets, Tutorials

Basic Windows OS troubleshooting tasks

Problem Solution
Disk offline
  • DISKPART
  • LIST DISK
  • SELECT DISK <offline disk>
  • ONLINE DISK
Disk offline (Policy Restriction)
  • DISKPART
  • LIST DISK
  • SELECT DISK <offline disk>
  • San policy=Onlineall
  • Attributes disk clear readonly
  • Attributes disk
  • Online disk
Task Commands
Change dir to current folder
  • Chdir /d %~dpO%

msconfig

netsh wlan show profile
netsh wlan show profile name=”INSERT SSID HERE” key=clear

Posted in Tutorials, Windows

Ubuntu Cheat sheet

Ubuntu is  a Debian-based Linux operating system and distribution for personal computers, smartphones and network servers. It is currently my favorite OS for development and web server running 15.10 LTS version.  Below is some of the software loaded in the main machine for development and few personal computing tasks. Included too are some intallation steps of some of the programs. Share your favorites on the comment box below.

Packages
add-apt-repository -y ppa:
update/upgrade/dist-upgrade
videolan/stable-daily
otto-kesselgulasch/gimp
gnome3-team/gnome3
webupdate8team/java
webupdate8team/y-ppa-manage
Basic install
synaptic vlc gimp gimp-data gimp-plugin-registry gimp-data-extras y-ppa-manager bleachbit openjdk-7-jre oracle-java8-installer flashplugin-installer unrar zip unzip rar ubuntu-restricted-extras ubuntu-wallpapers* apache2 mysql-server mysql-client phpmyadmin nautilus-open-terminal
nautilus -q
gedit developer plugins (terminal)
JetBrains
pycharm, phpstorm,intellijIdea, webstorm
flask
tar -xzf xxxx.zip
mv xxxx.zip /opt/
Add to launcher
sudo ln -s /opt/clion/bin/clion.sh /usr/bin/clion
Lifestyle
pithos
sudo apt-get install pidgin chromium-browser skype unity-tweak-tool vlc ubuntu-restricted-extras openjdk-8-jdk gimp gimp-plugin-registry gimp-data-extras ffmpeg pithos synaptic gdebi


sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop

SHUTTER
sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update && sudo apt-get install shutter

SPOTIFY
sudo sh -c ‘echo “deb http://repository.spotify.com stable non-free” >> /etc/apt/sources.list.d/spotify.list’
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client

TLP
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start

sudo apt-get install xorg gnome-core gnome-system-tools gnome-app-install

gnome-shell

sudo apt-get install –no-install-recommends ubuntu-desktop
GNOME Desktop
sudo apt-get install ubuntu-gnome-desktop
sudo service gdm restart
sudo dpkg-reconfigure gdm

sudo apt-get -y { autoremove autoclean clean }
Clean
clear unwanted packages and programs
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean
Apache
enable modules
sudo a2enmod rewrite
sudo a2enmod mcrypt
sudo service apache2 restart
          start
          stop
sudo nano /etc/apache2/sites-available/000-default.conf
<Directory “/var/www/html”>
  AllowOverride All
</Directory>

sudo adduser $USER www-data
sudo chown $USER:www-data -R /var/www
Web Dev
Composer

Laravel

Homested

Meteor

Flask

Kill process in a port
sudo kill $(sudo lsof -t -i:5000)
fuser -n tcp -k 9001
//see running process
sudo netstat -lpn |grep :8080
Wine
(enable installation of windows programs in ubuntu)
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7 winetricks
Posted in Linux, Ubuntu Tagged with: ,

Php Image watermark

Posted in PHP, Snippets, Tutorials

Post with jQuery

Posted in Tutorials

10 great website templates

Simpla Admin


Read more ›

Posted in Themes
Support