Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Abdelaziz Sharaf AbdelazizSharaf001

🏠
Working from home
  • Egypt
  • 04:35 (UTC +02:00)
View GitHub Profile
View php.ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; 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:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# 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
AbdelazizSharaf001 / browser_detect.js
Created May 31, 2019 — 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
AbdelazizSharaf001 / Unhasher.js
Created May 26, 2018 — 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)