Skip to content

Instantly share code, notes, and snippets.


Ahmed Bouhuolia abouolia

Block or report user

Report or block abouolia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View libya_areas.json
"سيدي خليفة",
"الظهرة -تنيناي الوادي",
"التنية البيضاء",
"سوف الجين",
"أبو راس",
abouolia / vc-full-row-rtl.php
Last active Jul 9, 2018
Fix: Visual Composer full width row with RTL.
View vc-full-row-rtl.php
* This function fixes full width row of Visual Composer plugin with RTL view.
* IMPORTANT NOTE: You should add this script after jquery.js and before js_composer_front.js
* @return void
function website_vc_full_width_rtl_inline_script(){
View gist:d0c9f7d39051be97e4fe4c992360e55c
$count = 100;
for($i = 1; $i <= $count; $i++){
if( $i % 5 === 0 && $i % 3 === 0 ){
echo 'Fizz-Buzz ';
} else if( $i % 3 === 0 ){
echo 'Fizz ';
View Sort Posts Widget
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
* Sort Recent Posts Widget.
* @since PostVision 0.1.0
* @package PostVision
* @subpackage Sort Recent Posts Widget / PostVision Widgets
* @author Ahmed Bouhuolia <>
* @copyright Copyright (c) 2015, Customattic.
abouolia / Movies
Last active Feb 7, 2018
Watched Movies
View Movies
12 year a slave
A beautiful mind
About time
A million ways to die in the west 2014
Breath in
Begin Again 2013
Captain phillips
abouolia / gist:a50603b3d94dd4060e1a
Last active Aug 29, 2015
Upper/Lower Case in C
View gist:a50603b3d94dd4060e1a
char *uppercase( char str[256] );
char *lowercase( char str[256] );
char str[256] = "";
abouolia / gist:c40e5b4aa8b942a36db0
Last active Aug 29, 2015
Transport the matrix 4*2
View gist:c40e5b4aa8b942a36db0
//Created By Ahmed Bouhuolia
int n, m, i, j, matrix[256][256], transport[256][256];
printf("Enter the number of rows and columns of the matrix ");
scanf("%d %d", &n, &m);
abouolia / gist:aea1f0b93e5056e08422
Last active Aug 29, 2015
Detrimental of center trig and sub trig of any matrix
View gist:aea1f0b93e5056e08422
//Created By Ahmed Bouhuolia
int i, j, n, m, matrix[256][256], sum;
printf("Enter the number of rows and columns of the matrix ");
scanf("%d %d", &n, &m);
printf("Enter the elements of the matrix %d*%d ", n, m);
View functions.php
// Nav Menu Dropdown Class
include_once( CHILD_DIR . '/lib/classes/nav-menu-dropdown.php' );
* Mobile Menu
function be_mobile_menu() {
abouolia / index.html
Created May 29, 2013
Experience naming IDs or Classes in language Arabic.
View index.html
<meta charset="UTF-8">
<style type="text/css">
background: red;
height: 100px;
width: 100px;
You can’t perform that action at this time.