Skip to content

Instantly share code, notes, and snippets.

View Billybobbonnet's full-sized avatar

Antoine Cordelois Billybobbonnet

View GitHub Profile
@Billybobbonnet
Billybobbonnet / Disciplines.js
Created March 24, 2022 10:24
ERC Panel structure (revised 2021/2022)
export default [
{
name: 'Physical Sciences and Engineering',
items: [
{
name: 'Mathematics',
id: 'PE1',
description:
'All areas of mathematics, pure and applied, plus mathematical foundations of computer science, mathematical physics and statistics',
items: [
@Billybobbonnet
Billybobbonnet / snipets.json
Last active March 17, 2021 10:42
Vuetify V2 snippets for VSCode
{
"template": {
"prefix": "template",
"body": [
"<template>",
" <div></div>",
"</template>",
"<script>",
"export default {",
" props: {},",

Salut à vous,

Je suis Antoine Cordelois, CTO de l'Institut d'Études Avancées de Paris. Je cherche un développeur Web en CDD qui tournerait en CDI sous 12 mois max si tout se passe bien.

Profil général recherché:

  • Anglais courant écrit et lu. Français niveau courant/natif
  • Job en remote, temps plein. Nous avons de magnifiques bureaux à Paris qui sont aussi une option.
  • Niveau senior/intermédiaire bien tassé. Un profil plus junior peut être envisagé s'il est à l'aise avec la plupart du stack, apprend vite et souhaite se former.
  • Rodé au travail en équipe, sait bien communiquer, capable de diriger des freelances très expérimentés et de prendre des initiatives voire le lead sur certains projets
@plindberg
plindberg / README.md
Created August 5, 2017 16:46
How to set up an AWS Lambda function for returning S3 pre-signed URLs for uploading files.

README

Granted, this is little more than an obfuscated way of having a publicly writable S3 bucket, but if you don’t have a server which can pre-sign URLs for you, this might be an acceptable solution.

For this to work, you take the following steps:

  1. Create a Lambda func, along with a new IAM role, keeping the default code.
  2. Create an API in the API Gateway.
@zfael
zfael / nodejs.checksum.js
Created June 20, 2017 13:57
NODE.JS - How to generate file's Checksum (CRYPTO)
var fs = require('fs');
var crypto = require('crypto');
fs.readFile('file.pdf', function(err, data) {
var checksum = generateChecksum(data);
console.log(checksum);
});
function generateChecksum(str, algorithm, encoding) {
return crypto
@shakked
shakked / funnyQuotes.json
Last active December 17, 2023 05:09
Funny Quotes
[
{
"author":"Abraham Lincoln",
"quote":"No man has a good enough memory to be a successful liar."
},
{
"author":"Albert Einstein",
"quote":"When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity."
},
{
@coolaj86
coolaj86 / github-pages-https-lets-encrypt.md
Last active November 16, 2021 22:36
Github Pages: Let's Encrypt!
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@codeguy
codeguy / slugify.js
Created September 24, 2013 13:19
Create slug from string in Javascript
function string_to_slug (str) {
str = str.replace(/^\s+|\s+$/g, ''); // trim
str = str.toLowerCase();
// remove accents, swap ñ for n, etc
var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;";
var to = "aaaaeeeeiiiioooouuuunc------";
for (var i=0, l=from.length ; i<l ; i++) {
str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i));
}
@keeguon
keeguon / countries.json
Created April 5, 2012 11:11
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},