Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Zahidul Hossain choyan

🎯
Focusing
View GitHub Profile
View Laravel Project setup with Virtual Host.md

Lamp Installation

sudo apt install lamp-server^

sudo systemctl stop apache2.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service

Composer Instal

View brand.csv
bid brand web_site
1 sqaure sqaure.com.bd
2 beximco beximco.com.bd
2 beximco beximco.com.bd
2 beximco beximco.com.bd
@choyan
choyan / pantheon-terminal.md
Last active Feb 18, 2017
Pantheon Terminal color setup
View pantheon-terminal.md

Pantheon terminal alternate color profile

Open dconf Editor and navigate to org/pantheon/terminal/settings . And now update the value as provided

Name Value
Background rgba(40, 42, 54, 1)
Font Droid Sans Mono 12
Foreground rgba(239, 240, 235, 1)
Pallette #222430:#97979b:#3498db:#ff5c57:#5af78e:#ff5c57:#57c7ff:#ff6ac1:#9aedfe:#f1f1f0:#686868:#ff5c57:#5af78e:#ff5c57:#57c7ff:#ff6ac1:#9aedfe
View install-on-64-bit-ubuntu-14.04.md
  1. Navigate to http://nodejs.org/download/ and on the Linux Binaries (.tar.gz) row click to download the 64-bit version of the current latest release.

  2. Say you've downloaded node-v0.10.7-linux-x64.tar.gz into the Downloads directory. Then, open the terminal and type the following:

$ cd ~/Downloads
$ mkdir -p ~/local/node
$ tar xzf node-v0.10.7-linux-x64.tar.gz -C ~/local/node --strip-components=1
$ echo '# Node Enviroment Setup' >> ~/.bashrc
$ echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc
@choyan
choyan / choyan.zsh-theme
Last active Aug 29, 2015
My customized oh-my-zsh theme
View choyan.zsh-theme
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local user_host='%{$terminfo[bold]$fg[cyan]%}%n in'
local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}'
local rvm_ruby=''
if which rvm-prompt &> /dev/null; then
rvm_ruby='%{$fg[red]%}‹$(rvm-prompt i v g)›%{$reset_color%}'
else
if which rbenv &> /dev/null; then
rvm_ruby='%{$fg[red]%}‹$(rbenv version | sed -e "s/ (set.*$//")›%{$reset_color%}'
@choyan
choyan / .zshrc
Last active Feb 7, 2020
My oh-my-zsh settings for elementary OS
View .zshrc
# =============================================================================
# Functions
# =============================================================================
powerlevel9k_random_color(){
printf "%03d" $[${RANDOM}%234+16] #random between 16-250
}
zsh_wifi_signal(){
local signal=$(nmcli -t device wifi | grep '^*' | awk -F':' '{print $6}')
local color="yellow"
@choyan
choyan / Preferences.sublime-settings
Last active Sep 1, 2017
Sublime Text 3 user preference
View Preferences.sublime-settings
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2014
Copyright (C) 2014 Addy Osmani @addyosmani
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post