Skip to content

Instantly share code, notes, and snippets.

Ori Pekelman OriPekelman

Block or report user

Report or block OriPekelman

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
leipert / detectBrowserLanguage.js
Last active Jul 5, 2019 — forked from anonymous/detectBrowserLanguage.js
Detect browser language in javascript (utilizing lodash)
View detectBrowserLanguage.js
// These window.navigator contain language information
// 1. languages -> Array of preferred languages (eg ["en-US", "zh-CN", "ja-JP"]) Firefox^32, Chrome^32
// 2. language -> Preferred language as String (eg "en-US") Firefox^5, IE^11, Safari,
// Chrome sends Browser UI language
// 3. browserLanguage -> UI Language of IE
// 4. userLanguage -> Language of Windows Regional Options
// 5. systemLanguage -> UI Language of Windows
var browserLanguagePropertyKeys = ['languages', 'language', 'browserLanguage', 'userLanguage', 'systemLanguage'];
staltz /
Last active Jan 27, 2020
The introduction to Reactive Programming you've been missing
View bounty.txt
GitHub RCE by Environment variable injection Bug Bounty writeup
Disclaimer: I'll keep this really short but I hope you'll get the key points.
GitHub blogged a while ago about some internal tool called gerve:
Upon git+sshing to gerve basically looks up your permission
on the repo you want to interact with. Then it bounces you further in
another forced SSH session to the back end where the repo actually is.
mlutfy / civicrm-git.make
Last active Dec 15, 2015
Drush makefile for CiviCRM using git
View civicrm-git.make
; A drush makefile for CiviCRM.
; Call using:
; drush make --working-copy civicrm.make
; drush make API version
api = 2
; Drupal core
core = 7.x
You can’t perform that action at this time.