Skip to content

Instantly share code, notes, and snippets.

View Aina261's full-sized avatar
🎯
Focusing

Aina Aina261

🎯
Focusing
  • SESAMm
  • Metz - Luxembourg
View GitHub Profile
@Aina261
Aina261 / Git config conditional includes
Last active May 26, 2022 14:12
Git config conditional includes
- mkdir ~/work_dir_company
- nano ~/work_dir_company/.gitignore_company
```
[user]
email = [email protected]
name = userName
[core]
sshCommand = ssh -i ~/.ssh/id_ed25519_company
```
env:
es2021: true
node: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
@Aina261
Aina261 / git-tag-delete-local-and-remote.sh
Created November 22, 2019 14:05 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@Aina261
Aina261 / default nginx configuration file
Created November 12, 2019 02:24 — forked from skbr1234/default nginx configuration file
The default nginx configuration file inside /etc/nginx/sites-available/default
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@Aina261
Aina261 / clean-up-boot-partition-ubuntu.md
Created November 11, 2019 07:10 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r