Skip to content

Instantly share code, notes, and snippets.

👨‍💻
remibarbe.fr

Rémi Barbe Remiii

👨‍💻
remibarbe.fr
Block or report user

Report or block Remiii

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Remiii
Remiii / README.md
Created Jun 13, 2019
List of countries - Alphabetical list of countries 🏳️
View README.md

Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina

@Remiii
Remiii / README.md
Created Feb 26, 2019
Force your site to load securely with an .htaccess file
View README.md

Force your site to load securely with an .htaccess file

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
@Remiii
Remiii / README.md
Created Jan 23, 2019
Install Python, Python3 and PIP on Mac OSX
View README.md

Install Python

  • Install Xcode
  • Install Homebrew (i.e. https://brew.sh)
  • brew update & brew upgrade
  • brew install python3
  • brew postinstall python3
@Remiii
Remiii / README.md
Last active Nov 13, 2018
Activation de la notification par email des messages reçu sur la boîte vocale Sosh / Orange ☎️🔌✉️
View README.md
@Remiii
Remiii / README.md
Created Jun 14, 2018
Cookie banner 🍪
View README.md

Cookie banner 🍪

Cookie banner/alert...

@Remiii
Remiii / README.md
Last active Feb 17, 2019
AWS RDS password expired 👹
View README.md

AWS RDS password expired

If you use MySQL and especially AWS Relational Database Service (RDS) you have certainly a bomb in your App without any consciousness of this!

Since MySQL 5.7.4 a nice password expiring feature was introduced with 360 days default value. But this feature was enabled by default since 5.7.10. If you use AWS RDS you have set up your DB with the fancy setup pages with no warning or information about the ephemeral duration of your password. So if your database on AWS RDS is setup from 359 days go to your AWS console page and update your password quickly.

Mark : your root login is also set during the setup of your database…

Useful link :

@Remiii
Remiii / text.md
Last active Dec 14, 2017
Acronyms Seriously Suck - Elon Musk
View text.md

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

@Remiii
Remiii / README.md
Created Oct 17, 2017
VPN (OpenVPN) server and clients setup 🚂🚇😀
View README.md

VPN (OpenVPN) server and clients setup 🚂🚇😀

This gist give all the steps in order to build a VPN (OpenVPN) network with server and clients (automatic generation for clients certificates). 😀

  1. Server configuration
  2. Clients configuration
  3. Security
  4. Generate automatic certificates for clients

Server configuration

View keybase.md

Keybase proof

I hereby claim:

  • I am Remiii on github.
  • I am remiii (https://keybase.io/remiii) on keybase.
  • I have a public key whose fingerprint is F90F FF89 373B 8073 F9EA DEC4 3977 789D 69EE 39B5

To claim this, I am signing this object:

You can’t perform that action at this time.