Skip to content

Instantly share code, notes, and snippets.

View abdessamadely's full-sized avatar

Abdessamad Ely abdessamadely

View GitHub Profile
@abdessamadely
abdessamadely / cloudSettings
Last active May 18, 2021 18:44
Sync Visual Studio Code
{"lastUpload":"2021-05-18T18:43:57.411Z","extensionVersion":"v3.4.3"}
@abdessamadely
abdessamadely / common-laravel-php-functions-for-automation.php
Created January 6, 2020 18:51
Common functions, for automation with PHP and Laravel
/**
* @param $file_path String
*
* Function to replace all spaces from the files name inside a directory
**/
use Illuminate\Support\Facades\File;
public function addHyphensToFiles($files_path)
{
$files = File::files(public_path('/directory/path'));
@abdessamadely
abdessamadely / _spacing-helpers.scss
Created November 29, 2019 21:12 — forked from jacurtis/_spacing-helpers.scss
SASS Margin and Padding Helpers Loop. Generates .m-t-10 type helper classes.
/*
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
It will generate several classes such as:
.m-r-10 which gives margin-right 10 pixels.
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
.p-l-40 gives PADDING to the LEFT of 40 pixels
@abdessamadely
abdessamadely / .vimrc
Created November 11, 2019 20:52 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15