Skip to content

Instantly share code, notes, and snippets.

View devarda's full-sized avatar
💻
Coding

Arda devarda

💻
Coding
View GitHub Profile
@devarda
devarda / Apache MIME for httpd.conf or .htaccess
Created September 12, 2019 00:04
Apache MIME for httpd.conf or .htaccess
# Set encoding for file extensions
<IfModule mod_mime.c>
# Plain text files
AddType text/plain .txt .text .def .list .log .in
# Source files
AddType text/x-asm .s .asm
AddType text/x-c .c .cc .cxx .cpp .h .hh .dic
AddType text/x-fortran .f .for .f77 .f90
AddType text/x-pascal .p .pas
AddType text/x-java-source .java
@devarda
devarda / multiple_ssh_setting.md
Last active August 30, 2019 18:39 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@devarda
devarda / README.md
Last active August 11, 2019 00:11
Building PHP from source on Mac :: PHP 7.3.8 Compilation on macOS Mojave 10.14.5
@devarda
devarda / Vagrantfile
Created June 26, 2019 18:40 — forked from mrfolkblues/Vagrantfile
Vagrant / Ubuntu 14.04.5 + PHP 7.1 + MariaDB 10.1 + Apache 2.4.7
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Update your Vagrant install before using.
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.71.71"
@devarda
devarda / _ide_helper.php
Created May 23, 2019 14:02
Laravel 4.1 IDE Helper
<?php
/**
* An helper file for Laravel 4, to provide autocomplete information to your IDE
* Generated for Laravel 4.1.31 on 2019-05-17.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {