Skip to content

Instantly share code, notes, and snippets.

<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>
@abrahamfast
abrahamfast / install.sh
Created April 28, 2016 05:55 — forked from JeffreyWay/install.sh
Super-fast LAMP + 5.5 install script.
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
@abrahamfast
abrahamfast / .bash_profile
Created April 28, 2016 06:07 — forked from JeffreyWay/.bash_profile
Prettier git logs
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@abrahamfast
abrahamfast / routes.sh
Created April 28, 2016 06:11 — forked from JeffreyWay/routes.sh
Add this to your ~/.bashrc file (or anywhere related) to give yourself an easy way to view the routes in your Laravel app, or filter the results down to a particular search query.
function routes()
{
if [ $# -eq 0 ]; then
php artisan route:list
else
php artisan route:list | grep ${1}
fi
}
@abrahamfast
abrahamfast / clock.js
Created April 28, 2016 06:12 — forked from sineld/clock.js
Create Your Own jQuery Digital Clock
/*
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 ( );
@abrahamfast
abrahamfast / migration.php
Created April 28, 2016 06:19 — forked from JeffreyWay/migration.php
What else would you want on a typical pivot table...say for posts and tags.
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class PivotPostTagTable extends Migration {
/**
* Run the migrations.
*
# if installed 5.3 remvoed and install 7
brew untap josegonzalez/php
brew tap --repair
brew update
brew install homebrew/php/php70
@abrahamfast
abrahamfast / .htaccess
Created July 17, 2016 06:06 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#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/
@abrahamfast
abrahamfast / xss.php
Created July 23, 2016 04:49
simple xss
<?php
echo htmlspecialchars($comment, ENT_QUOTES, 'utf-8');
@abrahamfast
abrahamfast / simple_slide.css
Created July 27, 2016 06:13
super simple slider
@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%; }