Skip to content

Instantly share code, notes, and snippets.

View theahmadzai's full-sized avatar
🐞
-_-

Muhammad Javed theahmadzai

🐞
-_-
View GitHub Profile
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
@theahmadzai
theahmadzai / Vagrantfile
Last active March 8, 2017 15:41
Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "trusty64"
config.vm.hostname = "www"
config.vm.network "private_network", ip: "192.168.10.100"
config.vm.synced_folder ".", "/var/www"
#System
.DS_Store
Thumbs.db
desktop.ini
#Sass
.sass-cache/
*.css.map
#Composer
* text=auto
.gitignore export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.travis.yml export-ignore
phpunit.xml export-ignore
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
colors="true"
verbose="true"
backupGlobals="false"
syntaxCheck="false"
processIsolation="false"
stopOnFailure="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
language: php
sudo: false
php:
- 5.6
- 7.0
- 7.1
- hhvm
@theahmadzai
theahmadzai / .editorconfig
Last active October 2, 2017 17:42
Editorconfig file
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@theahmadzai
theahmadzai / vscode.json
Last active November 9, 2017 17:13
Visual Studio Code Configuration file
{
"editor.fontFamily": "Roboto Mono",
"editor.fontSize": 15,
"editor.fontLigatures": true,
"editor.lineHeight": 30,
"editor.renderLineHighlight": "none",
"editor.renderIndentGuides": false,
"editor.matchBrackets": false,
"editor.cursorBlinking": "phase",
"editor.minimap.enabled": false,
@theahmadzai
theahmadzai / sublime.json
Last active November 9, 2017 17:17
Sublime Text Configuration file
{
"bold_folder_labels": false,
"caret_style": "phase",
"color_scheme": "Packages/User/SublimeLinter/InspiredGitHub (SL).tmTheme",
"draw_indent_guides": true,
"ensure_newline_at_eof_on_save": true,
"folder_exclude_patterns":
[
".svn",
".git",
#include <iostream>
using namespace std;
struct Book
{
int id, price, year;
char name[50];
bool set;
};