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
echo "Clean all git commit"
git checkout --orphan latest_branch
git add -A
git commit -am "Delete all previous commit"
git branch -D master
git branch -m master
echo "Cleanup refs and logs"
rm -Rf .git/refs/original
rm -Rf .git/logs/
eladkarako / color_convertion__kelvin_to_rgb.js
Created Oct 1, 2019
[JavaScript] Color Convertion - Kelvin to RGB
View color_convertion__kelvin_to_rgb.js
"use strict";
function kelvin_to_rgb(kelvin){
var tmp = kelvin / 100
if(tmp <= 66){
eladkarako /
Last active Sep 27, 2019
A Virtual-Machine Hard-Drive Shrink and Optimization Guide - With VirtualBox And Dynamic VDI Hard-Drive File.

After you've installed a clean new Windows 7/8/10,
and installed all the nedded updated from Windows-update,
you'll end up with a hard-drive of about 35GB of a virtual-machine,
with almost nothing on it.

There are several folders you can delete, free-space null'ification and
hard-drive compacting methods that will reduce about 15GB of the hard-file,
without changing anything in your machine configuration itself.

Shrinking the hard-drive will make it easier for you to export VM.

eladkarako / autohotkey_disable_mouse_toggle_f8_quit_f1.ahk
Created Sep 21, 2019
View autohotkey_disable_mouse_toggle_f8_quit_f1.ahk
#NoEnv ;disables access to environment variables.
#SingleInstance force ;prevent more than one copy of the program running at a time (skip the dialog-box that asks if to replace the current-execution --- new execution will replace old one).
#InstallKeybdHook ;explicitly activate keyboard-hook for the script (same as using $ infront of the hotkey).
#InstallMouseHook ;explicitly activate mouse-hook for the script.
#KeyHistory 0 ;disable key-logging history. prevents some overhead caused by keyboard/mouse-hook. (normally 'KeyHistory' command is used for debugging keys from this program, but activating 'InstallKeybdHook/InstallMouseHook' also tracks global key/mouse events, disabling history helps a little).
#Persistent ;explicitly declare the program to run permanently. must use ExitApp to close it.
ListLines Off ;disable key-logging most-recently line executed.
SendMode Input ;prefer faster "Input" (SendInput) over "Event" ("Event" is the d
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
You can’t perform that action at this time.