Skip to content

Instantly share code, notes, and snippets.

View Mahmoudz's full-sized avatar
Coding

Mahmoud Zalt Mahmoudz

Coding
View GitHub Profile
@Link-
Link- / osc_arabs.md
Last active July 2, 2020 20:16
Open Source Contributors in the Arab World

List has moved

I've moved the list here: https://github.com/Link-/Arab_OSC to allow for direction contributions

Arab OSC

List of the most influential Arab Open Source Contributors (Arab OSC)

This is a list of the most influential Arab Open Source Contributors. This list has been compiled based on recommendations and referrals from the community. Anyone can contribute to this list just create a Pull Request (PR)!

Open source contributions range from helping fix bugs, translation, providing design material, contributing to documentation or even being a core code contributor. It can take many forms. As such, the criteria to be on this list or to nominate someone for it are as follows:

@FWidm
FWidm / 0_FindDependencies.log
Last active November 25, 2017 16:39
A small CLI tool that finds all `use`d containers for a container. In addition it also detects active `Apiato::call` (only spaces or tabs in front of a call)
$ php artisan apiato:container-dependencies app/Containers/GeoLocation/
Searching for dependencies in container: app/Containers/GeoLocation/
Remove own container from listings? (y/n):
> n
Found dependencies:
[imports]:
[Authentication]:
[0]: app/Containers/GeoLocation/Actions/CreateGeoRequestAction.php
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 22, 2024 11:45
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@duzun
duzun / uuid.js
Last active February 27, 2024 18:31
A simple UUID v4 generator, relying on Math.random() + Date.now()
/** Generates UUID v4
*
* @node There is a bug in Chrome's Math.random() according to http://devoluk.com/google-chrome-math-random-issue.html
* For that reason we use Date.now() as well.
*/
function UUID() {
function s(n) { return h((Math.random() * (1<<(n<<2)))^Date.now()).slice(-n); }
function h(n) { return (n|0).toString(16); }
return [
s(4) + s(4), s(4),
@v0lkan
v0lkan / nginx.conf
Last active April 2, 2024 18:25
Configuring NGINX for Maximum Throughput Under High Concurrency
user web;
# One worker process per CPU core.
worker_processes 8;
# Also set
# /etc/security/limits.conf
# web soft nofile 65535
# web hard nofile 65535
# /etc/default/nginx
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active March 27, 2024 06:36
A badass list of frontend development resources I collected over time.
@meetrajesh
meetrajesh / hash_table.php
Created December 14, 2012 05:12
Basic implementation of a hash table in PHP with collision detection and management (no locking support)
<?php
class HashTable {
private $_array = array();
private $_size = 10000;
public function __construct($size=0) {
$size = (int)$size;
if ($size > 0) {