Skip to content

Instantly share code, notes, and snippets.

View smamran's full-sized avatar
:octocat:
Focusing

S. M. AMRAN smamran

:octocat:
Focusing
View GitHub Profile
@smamran
smamran / windows-cmd.md
Last active April 28, 2017 17:18
windows-cmd

🔫 🗡 Windows Commands ⚛ 💣

🔪🔧 Create a New File 🗡🔨

>> NUL > file.txt

🔪🔧 Check Which Process is Listening Which Port 🗡🔨

>> Run cmd.exe as Administrator
>> netstat -a -b
@smamran
smamran / GitHub languages.yml
Created December 10, 2015 09:18
Markdown GitHub
# Defines all Languages known to GitHub.
#
# type - Either data, programming, markup, prose, or nil
# aliases - An Array of additional aliases (implicitly
# includes name.downcase)
# ace_mode - A String name of the Ace Mode used for highlighting whenever
# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg.
# Use "text" if a mode does not exist.
# wrap - Boolean wrap to enable line wrapping (default: false)
# extensions - An Array of associated extensions (the first one is
@smamran
smamran / php-linux-gcc-shell.md
Last active December 10, 2015 09:51
php-linux-gcc-shell

#Linux Commands

Stop a process by name

>> pkill appname

PHP shell execute

>> system("gcc --version");
>> shell_exec("gcc --version");
@smamran
smamran / Permission.md
Last active December 10, 2015 10:51
Read Write Permission

Change Permission of a Folder Recursively

>> chmod -R 777 /var/www/html/ocmportal_umg_v1/
@smamran
smamran / VC & C# compile.md
Last active January 26, 2016 08:53
VCC C++ C#

VC File Compile:

Run: Developer Command Prompt for VS2015

>> cd F:\GD\Microsoft\MSDN-CODES
>> F:
>> cl main.c

VC++ File Compile:

Run: Developer Command Prompt for VS2015

@smamran
smamran / bash_profile
Last active December 7, 2015 06:47 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
alias mysql=/Applications/MAMP/Library/bin/mysql
@smamran
smamran / nginx-php.md
Created December 7, 2015 06:31
nginx-php

Hello friends, I am back with new video, but this time I am gonna show to something about a server.

Yeah, it's not an Apache, IIS, Zeus web server, Oracle Web Tier, lighttpd, Apache Tomcat etc..

But it's all about Nginx web server.

- It's free open source popular web server including IMAP/POP3 proxy server.
@smamran
smamran / c9.io G++
Created December 7, 2015 05:12
G++ GNU
alias g++='g++ --std=gnu++11'
@smamran
smamran / Key.sh
Created December 3, 2015 03:41
License Key
ASC 9: 61D7E-06323-689F2-6FA84