Skip to content

Instantly share code, notes, and snippets.

View ayoubjamouhi's full-sized avatar

Ayoub JAMOUHI ayoubjamouhi

View GitHub Profile
https://stackoverflow.com/a/163659
how to merge : https://stackabuse.com/git-merge-branch-into-master/
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L']"
install bcmwl-kernel-source and boot secure off
docker exec -it db bash -l
@ayoubjamouhi
ayoubjamouhi / docker
Last active September 1, 2021 09:03
Problem storage permissions in laravel ubuntu
chown -R www-data:www-data htdocs/laravel/storage
chown -R www-data:dotnet var/www/html
If you are used to using a Debian/Ubuntu distribution and you change to a CentOS/Red Hat distribution, you may be experiencing problems because the correct user is "apache" on CentOS/Red Hat. The string becomes:
chown -R apache:apache /somefolder
sudo /usr/sbin/usermod -a -G apache mindevs
sudo setenforce 0 if you couldn't edit in folder
sudo netstat -tlnp
@ayoubjamouhi
ayoubjamouhi / .hyper.js
Created February 26, 2020 13:16 — forked from droidMakk/.hyper.js
Hyper plugins customization config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
Delete folder /vendor
Run: composer clearcache
Run: composer install
code --install-extension bmewburn.vscode-intelephense-client
code --install-extension bradlc.vscode-tailwindcss
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension dbaeumer.vscode-eslint
code --install-extension EditorConfig.EditorConfig
code --install-extension Equinusocio.vsc-community-material-theme
code --install-extension Equinusocio.vsc-material-theme
code --install-extension equinusocio.vsc-material-theme-icons
code --install-extension esbenp.prettier-vscode
code --install-extension formulahendry.auto-rename-tag
gsettings set org.gnome.desktop.interface cursor-size 40