Skip to content

Instantly share code, notes, and snippets.

View sajadko's full-sized avatar
💎
Only main , not minor !

Sajad Kolahchi sajadko

💎
Only main , not minor !
View GitHub Profile
@sajadko
sajadko / combos.php
Created May 11, 2019 15:06 — forked from fabiocicerchia/combos.php
PHP - Generate all the possible combinations among a set of nested arrays.
/**
* Generate all the possible combinations among a set of nested arrays.
*
* @param array $data The entrypoint array container.
* @param array $all The final container (used internally).
* @param array $group The sub container (used internally).
* @param mixed $val The value to append (used internally).
* @param int $i The key index (used internally).
*/
function generate_combinations(array $data, array &$all = array(), array $group = array(), $value = null, $i = 0)
@sajadko
sajadko / absolutePositionProgressBar.go
Last active February 17, 2021 12:42
Absolute Position ProgressBar Golang (With Colors)
package main
import (
"fmt"
"math"
"strconv"
"time"
"github.com/gookit/color"
)
@sajadko
sajadko / fix.txt
Created February 28, 2021 10:53
Fix scrollbar color scheme color change problem in Jetbrains IDE's (Clion ,PyCharm , PHPStorm , ... )
1- Open the IDE
2- Help >> Edit Custom Properties
3- Add this :
editor.transparent.scrollbar=false
Enjoy :)