Skip to content

Instantly share code, notes, and snippets.

Yousha Aleayoub Yousha

Block or report user

Report or block Yousha

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
@Yousha
Yousha / .gitattributes
Created Feb 13, 2019
.gitattributes for .Net developers.
View .gitattributes
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / .gitignore
Last active Feb 13, 2019
.gitignore for .Net developers.
View .gitignore
##### Windows
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
@Yousha
Yousha / gist:1fc89ff78b02647a8f787a54c81b2c5c
Last active Jan 28, 2019
Install PHP tools via Composer
View gist:1fc89ff78b02647a8f787a54c81b2c5c
composer global require phpunit/phpunit
composer global require phpunit/phpunit-skeleton-generator
composer global require phpunit/dbunit
composer global require codeception/codeception
composer global require nette/tester
composer global require jonathantorres/construct
composer global require phing/phing
composer global require sebastian/phpcpd
composer global require phploc/phploc
composer global require phpmd/phpmd
@Yousha
Yousha / gist:7bf2d1f81578c72e2978391c57ad4f0a
Created Jan 22, 2019
Update forked(origin) repository from upstream
View gist:7bf2d1f81578c72e2978391c57ad4f0a
git clone git@github.com:myusername/myforkedrepo.git
git remote add upstream git://github.com/targetusername/targetrepo.git
git fetch upstream
git pull upstream master
@Yousha
Yousha / filterscript.pwn
Created Aug 30, 2018
Blank PAWN filterscript for SA-MP.
View filterscript.pwn
#include <a_samp.inc>
#define FILTERSCRIPT
// Filterscript
public OnFilterScriptInit()
{
return 1;
}
@Yousha
Yousha / gamemode.pwn
Created Aug 30, 2018
Blank PAWN gamemode for SA-MP.
View gamemode.pwn
#include <a_samp.inc>
// Gamemode
public OnGameModeInit()
{
return 1;
}
main()
@Yousha
Yousha / .gitignore
Last active Apr 27, 2019
.gitignore for C/C++ developers.
View .gitignore
##### Windows
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
@Yousha
Yousha / build.xml
Created Apr 25, 2018
Simple build.xml template for PhING https://phing.info/
View build.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Conventions/Standards:
* Filenames consist of no more or less than two elements: name and extension
* Choose short descriptive filenames (must be less than 31 chars)
* Names must not contain dots
* Files containing PHP code must end with the extension .php
* The name portion of the file must be named exactly like the class it contains
* Buildfiles and configure rulesets must end with the extension .xml
* There must be only one class per file (no procedural methods allowed, use a
@Yousha
Yousha / .gitattributes
Created Apr 7, 2018
.gitattributes for C/C++ developers.
View .gitattributes
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
@Yousha
Yousha / .gitattributes
Last active Oct 25, 2017
.gitattributes for PHP developers.
View .gitattributes
* text=auto
###### Git
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
##### Windows
*.bat text eol=crlf
You can’t perform that action at this time.