Skip to content

Instantly share code, notes, and snippets.

View souhaiebtar's full-sized avatar
:octocat:
Focusing

souhaiebtar

:octocat:
Focusing
View GitHub Profile
@souhaiebtar
souhaiebtar / python-cheatSheet.md
Created April 23, 2024 08:12
[python cheat] python cheatsheet #python #cheatsheet
  • create a virtual environment python -m venv openCv

  • install python package that are in requirements.txt pip install -r requirements

  • write all python package in a file requirements.txt pip freeze > requirements.txt

@souhaiebtar
souhaiebtar / get-all-permission-to-folder.ps1
Created April 18, 2024 08:13
[get all permission to folder using powershell] get all permission to folder using powershell #Powershell #Windows #Permissions
$ACLPath = "D:\Users\starhoun"
$Identity = "Users"
$FileSystemRight = "Modify"
$Propagation = "0"
$inheritance = "3"
$RuleType = "Allow"
Try {
$ACL = Get-Acl -Path $ACLPath
$AccessRule = New-Object System.Security.AccessControl.FileSystemAccessRule($Identity,$FileSystemRight,$inheritance,$Propagation,$RuleType)
@souhaiebtar
souhaiebtar / symbolicLinkInWindows.ps1
Created April 8, 2024 08:44
[symbolic link in windows using powershell] symbolic link in windows using powershell #ln #SymblicLink #windows #powershell
# let say you have a folder called " C:\Users\PROFILENAME\cli " that you add to your PATH environment variable
# you can `cd` to this folder (cd C:\Users\PROFILENAME\cli) and run the next command
# now you can access run `lite-xl` program from powershell from whaterver directory you are in
new-item -Path litexl -ItemType SymbolicLink -Value C:\Users\starhoun\tools\litexl\lite-xl.exe
@souhaiebtar
souhaiebtar / links_240404.txt
Created April 4, 2024 15:30
[link_240404] link_240404 #links #windows
@souhaiebtar
souhaiebtar / links_240403-workMachine.txt
Created April 3, 2024 15:53
[link_240403]link_240403-workMachine #links #windows
@souhaiebtar
souhaiebtar / links.txt
Created April 1, 2024 14:42
[link] links 24.04.01 #links #windows
@souhaiebtar
souhaiebtar / instrucation_to_build_spiral_iso.md
Last active March 31, 2024 19:00
[spiral Build Image] spiral linux build image #linux #distro #build

dependency

apt install live-build unzip nginx qemu-system-x86 patch

to build ./spiral -i


Base system

@souhaiebtar
souhaiebtar / links.md
Created March 29, 2024 16:17
[Setup C++ in VSCode windows GCC + GDB] how to install #windows #compile #c++ #vscode
@souhaiebtar
souhaiebtar / install_rust_in_windows_using_msys64.md
Last active March 29, 2024 16:18
[]install rust in windows using msys64 #rust #windows #compile