Skip to content

Instantly share code, notes, and snippets.

View jjmartres's full-sized avatar
🚀
looking for a new position !

Jean-Jacques Martrès jjmartres

🚀
looking for a new position !
View GitHub Profile
@jjmartres
jjmartres / excludeWSL.ps1
Last active September 2, 2021 09:14 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
############
# This script will add your WSL environments to the Windows Defender exclusion list so that
# realtime protection does not have an adverse effect on performance.
#
# You should be aware that this could make your system less secure. Use at your own risk.
# Note: This should be run from an administrative PowerShell prompt
############
# Find registered WSL environments
$wslPaths = (Get-ChildItem HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss | ForEach-Object { Get-ItemProperty $_.PSPath}).BasePath
@jjmartres
jjmartres / ubuntu-preseed.txt
Created July 12, 2021 07:24 — forked from refraction-ray/ubuntu-preseed.txt
sample preseed for ubuntu
#### Contents of the preconfiguration file (for stretch)
### direct copy from: https://help.ubuntu.com/lts/installation-guide/example-preseed.txt
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
@jjmartres
jjmartres / AllCyberghostConfigUrls.md
Last active April 8, 2023 02:29 — forked from Betree/AllCyberghostConfigUrls.md
Cyberghost linux VPN configs urls for all countries

Cyberghost linux VPN configs urls for all countries

Download all the available linux configurations for your cyberghost account using the following links. These links are good for a premium account using openvpn UDP. If you want to use a different protocol, are not premium or if you want an up-to-date list, please follow the guide in the "Method" section.

You must be logged in to download these links !

Method

  1. Connect to your account at https://account.cyberghostvpn.com/
@jjmartres
jjmartres / README.md
Created November 14, 2016 09:47 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

@jjmartres
jjmartres / README.md
Last active July 9, 2021 06:54 — forked from e7d/README.md
Build a Squid transparent proxy from source code
#!/bin/bash
#
# Watch current directory (recursively) for file changes, and execute
# a command when a file or directory is created, modified or deleted.
#
# Written by: Senko Rasic <senko.rasic@dobarkod.hr>
#
# Requires Linux, bash and inotifywait (from inotify-tools package).
#
# To avoid executing the command multiple times when a sequence of
@jjmartres
jjmartres / README.md
Created September 12, 2013 08:33 — forked from mbostock/.block

Run like so:

node gist-clone-all.js username

You'll want to replace "username" with your own username.

This script clones using the push URL, so you should probably be the owner of the gists. You could also use this to clone someone else's gists, but in that case you may wish to edit the code to use gist_pull_url instead.

@jjmartres
jjmartres / osx.sh
Created March 15, 2013 19:50 — forked from edsonaj/osx.sh
#!/bin/bash
# Based on https://github.com/mathiasbynens/dotfiles/blob/master/.osx
###############################################################################
# General UI/UX #
###############################################################################
# Set computer name (as done via System Preferences → Sharing)
scutil --set ComputerName "Edson Alves Junior's MacBook Pro"
scutil --set HostName "Edson Alves Junior's MacBook Pro"
@jjmartres
jjmartres / osx.sh
Created March 15, 2013 19:27 — forked from edsonaj/osx.sh
#!/bin/bash
# Based on https://github.com/mathiasbynens/dotfiles/blob/master/.osx
###############################################################################
# General UI/UX #
###############################################################################
# Set computer name (as done via System Preferences → Sharing)
scutil --set ComputerName "Edson Alves Junior's MacBook Pro"
scutil --set HostName "Edson Alves Junior's MacBook Pro"