Skip to content

Instantly share code, notes, and snippets.

Working from home

Abdelaziz Sharaf AbdelazizSharaf001

Working from home
  • Egypt
  • 01:18 (UTC +02:00)
View GitHub Profile
AbdelazizSharaf001 / php.ini
Created June 7, 2019 15:56 — forked from adrienne/php.ini
PHP .ini file
View php.ini
; About php.ini ;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
View httpd.conf Default
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:> for detailed information.
# In particular, see
# <URL:>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
AbdelazizSharaf001 / browser_detect.js
Created May 31, 2019 00:19 — forked from ideefixe/browser_detect.js
Detect Browsers, Versions, Mobile, Desktop, and OS with Javascript
View browser_detect.js
var BrowserDetect = {
init: function() {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version";
this.OS = this.searchString(this.dataOS) || "an unknown OS";
searchString: function(data) {
for (var i = 0; i < data.length; i++) {
var dataString = data[i].string;
var dataProp = data[i].prop;
AbdelazizSharaf001 / Unhasher.js
Created May 26, 2018 16:03 — forked from xadim/Unhasher.js
Full functions Hashing and Unhashing in Javascript...
View Unhasher.js
//Write JavaScript code to find a ten letter string of characters that contains only letters
//I've been tested with this and here is the solution for those it may interest
Here is the given pseudo code that I changed to retrieve my company's name
It's in 10 words.
I call it a Hasher
function hasher(hashedValue)