Skip to content

Instantly share code, notes, and snippets.


Elad Karako eladkarako

Block or report user

Report or block eladkarako

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
eladkarako / DisableTouchPad.ahk
Last active Sep 12, 2019
DisableTouchPad.ahk - improved version of '' that also blocks mouse-move-system_message and scroll-gestures.
View DisableTouchPad.ahk
; v1.3 2019-09-12
; * timeout to 300ms
; + also disabling touch-pad 'scrolls' (two fingers gesture, all directions).
; + also block system-message 'WM_MOUSEMOVE' (
; this helps with false screen-wakeups.
; * meta-improvements for quicker script.
; * code format/clean-up.
; v1.2 2017-07-13
; Added support for latest AHK version by setting DllCall parameters to appropriate Ptr instead of Uint
eladkarako / chrome-dino-new.html
Created Sep 1, 2019
chrome://dino source (unmodified, new, the media is embedded in the HTML-page)
View chrome-dino-new.html
<!doctype html>
<html dir="ltr" lang="en" class="offline"><head>
<meta charset="utf-8">
<meta name="theme-color" content="#fff">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
<style>/* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
eladkarako / index_with_link_to__web_extension__in_chrome_webstore.html
Last active Aug 31, 2019
Way to acknowledge/publish your alternative Chrome-webstore application in your HTML page, it will be suggested in the browser's menu (link to the web-store)
View index_with_link_to__web_extension__in_chrome_webstore.html
eladkarako / extract domain sibling (sub-domains) from VirusTotal new website (a lot of shadow-dom $h!t!!!).js
Created Aug 14, 2019
extract domain sibling (sub-domains) from VirusTotal new website (a lot of shadow-dom $h!t!!!)
View extract domain sibling (sub-domains) from VirusTotal new website (a lot of shadow-dom $h!t!!!).js =;
.map(function(e){return e.innerText;})
eladkarako / form_submit_with_fallback_more_efficient_one-time-per-hostname_resolve.php
Created Jul 30, 2019
[PHP][JavaScript][HTML] Simple FORM-Submit example (NojQuery) with server-side SANITIZE for the input - form_submit_with_fallback_more_efficient_one-time-per-hostname_resolve.php
View form_submit_with_fallback_more_efficient_one-time-per-hostname_resolve.php
function arg_value($name){
$items = [
$items = array_filter($items, function($item){
return ((null !== $item) && (false !== $item));
View Hebrew - First Names - Female - שמות פרטיים בנות.txt
eladkarako / html2text.php
Created Jul 30, 2019
[PHP] html2text.php - takes HTML and removes/purge the tags so the result can be sensible/readable as a text.
View html2text.php
while (ob_get_level() > 0) ob_end_flush();
setlocale(LC_ALL, 'en_US.UTF-8');
header('Charset: UTF-8');
header('Content-Language: en');
eladkarako / .htaccess
Created Jul 30, 2019
[PHP] making chunk'ed response in PHP
View .htaccess
SetEnvIf Request_URI .* no-gzip=1
#<ifModule mod_headers.c>
# Header set Connection keep-alive
#<IfModule mod_php5.c>
# php_value post_max_size 5M
# php_value upload_max_filesize 5M
# php_value memory_limit 700M
eladkarako / mb_pathinfo.php
Created Jul 30, 2019
[PHP] mb_pathinfo.php - yet another multi-byte-safe pathinfo alternative, it breaks down a string (file-system path) to its components using a regular-expression.
View mb_pathinfo.php
header("Content-Type: text/plain; UTF-8");
* mb_pathinfo (yet another multi-byte-safe pathinfo alternative)
* @param string $path - filename-like complete string (does not need to be actually existing in the OS).
* @param string $segment - optionally specify just one path-segments ('all' - all of them in an associative array).
* @param string $concat - optionally specify any string (filename) to append at the end.
eladkarako / enumerate_level_0_non-recursive_files_in_folder.js
Created Jul 30, 2019
NodeJS - Enumerate level-0 (non-recursive) files in folder, prepared for an argument input (not used)
View enumerate_level_0_non-recursive_files_in_folder.js
"use strict";
const FS = require("fs")
,PATH = require("path")
,RESOLVE = function(path){path = path.replace(/\\+/g,"/");
path = PATH.resolve(path);
path = path.replace(/\\+/g,"/");
path = path.replace(/\/\/+/g,"/");
path = path.replace(/\/+$/g,""); //remove last '/'
return path;
You can’t perform that action at this time.