This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | |
<form name="فرم ثبت نام از طریق وب سایت برای سازمانها" action="http://128.65.187.232:8008/modules/Webforms/capture.php" method="post" accept-charset="utf-8" enctype="multipart/form-data"> | |
<input type="hidden" name="__vtrftk" value="sid:63a0241ce00a15b84953e5433b8d75990e0be204,1438246857"> | |
<input type="hidden" name="publicid" value="5346ee9765259beabecb260dcaa1f68f"> | |
<input type="hidden" name="name" value="فرم ثبت نام از طریق وب سایت برای سازمانها"> | |
<input type="hidden" name="VTIGER_RECAPTCHA_PUBLIC_KEY" value="RECAPTCHA PUBLIC KEY FOR THIS DOMAIN"> | |
<table> | |
<tbody> | |
<tr> | |
<td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' | |
sudo apt-get install -y vim curl python-software-properties | |
sudo add-apt-repository -y ppa:ondrej/php5 | |
sudo apt-get update | |
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function routes() | |
{ | |
if [ $# -eq 0 ]; then | |
php artisan route:list | |
else | |
php artisan route:list | grep ${1} | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Create Your Own jQuery Digital Clock | |
http://www.sitepoint.com/create-jquery-digital-clock-jquery4u/ | |
*/ | |
<script> | |
function updateClock() | |
{ | |
var currentTime = new Date ( ); | |
var currentHours = currentTime.getHours ( ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
class PivotPostTagTable extends Migration { | |
/** | |
* Run the migrations. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if installed 5.3 remvoed and install 7 | |
brew untap josegonzalez/php | |
brew tap --repair | |
brew update | |
brew install homebrew/php/php70 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo htmlspecialchars($comment, ENT_QUOTES, 'utf-8'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes slide { | |
0% { left: 0%; } | |
20% { left: 0%; } | |
25% { left: -100%; } | |
45% { left: -100%; } | |
50% { left: -200%; } | |
70% { left: -200%; } | |
75% { left: -300%; } | |
95% { left: -300%; } | |
100% { left: -400%; } |