Skip to content

Instantly share code, notes, and snippets.

Avatar

Brahim Machkouri brahimmachkouri

View GitHub Profile
@allenyllee
allenyllee / install_tools.sh
Last active Jul 24, 2021
mount vhdx in linux
View install_tools.sh
#!/bin/bash
# install qemu utils
sudo apt install qemu-utils
# install nbd client
sudo apt install nbd-client
View OS X macOS Install ISO Creator
#!/bin/bash
################################
# OS X Install ISO Creater #
# #
# Author: shela #
################################
#######################################
# Declarations
@btfak
btfak / useHexo.md
Created May 26, 2016
How to use Hexo and deploy to GitHub Pages
View useHexo.md
@natelandau
natelandau / .bash_profile
Last active Jul 20, 2021
Mac OSX Bash Profile
View .bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@six0h
six0h / post-update
Created Feb 26, 2014
Git Post-Update hook that checks for changes to composer.lock, and fires a composer install if required.
View post-update
#!/usr/bin/env python
#-*- coding: utf-8 -*-
"""A post-update Git hook to execute `composer install` when composer.json changes
:Author: Cody Halovich
:Company: HootSuite Media Inc.
"""
import subprocess
@julionc
julionc / 00.howto_install_phantomjs.md
Last active Jul 27, 2021
How to install PhantomJS on Debian/Ubuntu
View 00.howto_install_phantomjs.md

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@barryvdh
barryvdh / _ide_helper.php
Last active Jul 28, 2021
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
View _ide_helper.php
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");
@geedelur
geedelur / ubuntu12server_mate.textile
Created Jul 30, 2012
Ubuntu Server 12.04 + MATE + LightDM
View ubuntu12server_mate.textile
@jaywilliams
jaywilliams / csv_to_array.php
Created Apr 30, 2010
Convert a comma separated file into an associated array.
View csv_to_array.php
<?php
/**
* Convert a comma separated file into an associated array.
* The first row should contain the array keys.
*
* Example:
*
* @param string $filename Path to the CSV file
* @param string $delimiter The separator used in the file
* @return array