Skip to content

Instantly share code, notes, and snippets.

View jarod51's full-sized avatar

Arnaud Lecat jarod51

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Arnaud Lecat",
"label": "Chief Technology Officer and R&D Manager",
"image": "",
"email": "bonjour@arnaudlecat.com",
"phone": "+33788083980",
"url": "",
"summary": "Passionné par le développement",
////////////////////////////////
// Setup
////////////////////////////////
// Gulp and package
const { src, dest, parallel, series, watch } = require("gulp");
const pjson = require("./package.json");
// Plugins
const postcssimport = require("postcss-import");
@jarod51
jarod51 / Create_IsoCam.py
Created November 14, 2019 21:07 — forked from krasnovpro/Create_IsoCam.py
Creates a true isometric camera in blender
# This script creates two kinds of isometric cameras.
#The one, TrueIsocam called camera, is the mathematical correct isometric camera with the 54.736 rotation to get the 30 degrees angles at the sides of the rhombus.
#The other, GameIsocam called camera, is a camera with which you can render isometric tiles for a 2d game. Here we need a 60 degrees angle instedad of the 54.736 one to get a proper stairs effect and a ratio of 2:1
# Then there is the special case with a 4:3 ratio, which is button 3. You can also make 2D games with that one. The view is more topdown though as with a 2:1 ratio of the traditional game iso view.
# The fourth button creates a simple groundplane where you can place your stuff at.
#You can of course set up everything by hand. This script is a convenient solution so that you don't have to setup it again and again.
# The script is under Apache license
@jarod51
jarod51 / bash_aliases_django.sh
Created July 2, 2019 09:54 — forked from ronelliott/bash_aliases_django.sh
Helpful Bash Aliases for Django
alias dj="python manage.py"
alias djdd="python manage.py dumpdata"
alias djld="python manage.py loaddata"
alias djm="python manage.py migrate"
alias djsh="python manage.py shell"
alias djsm="python manage.py schemamigration"
alias djs="python manage.py syncdb --noinput"
alias djt="python manage.py test"
alias djrs="python manage.py runserver"
@jarod51
jarod51 / gource2mp4.sh
Created July 1, 2019 13:26 — forked from dafi/gource2mp4.sh
Gource best configuration for a big repository The configuration shown here generates a good video to upload on youtube
gource -1920x1080 --title "MyTitle" --hide filenames --stop-at-end --file-idle-time 0 -o temporary.ppm --seconds-per-day .00050 ~/prj/svn/myproject
ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i temporary.ppm -vcodec libx264 -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 -preset slow finalVideo.mp4
@jarod51
jarod51 / venv_cheat_sheet.md
Created April 29, 2019 09:31 — forked from bbengfort/venv_cheat_sheet.md
My virtualenv and virtualenv wrapper cheat sheet. I alias the commands of virtualenv and virtualenv wrapper for my own development environment.

Ben's VirtualEnv Cheatsheet

This cheat sheet describes my usage/implementation of virtualenv with virtualenv wrapper and the bash foo that I added with the help of many blogs to make it all tick together in fun land.

Quick Reference

$ echo $WORKON_HOME
/Users/benjamin/.virtualenvs

$ echo $PROJECT_HOME
@jarod51
jarod51 / reset_keys.sh
Created December 12, 2017 10:15
Reset keys in Antergos
sudo pacman -Scc <-- reply with explicit y to the first question
sudo pacman -Syy
sudo pacman -S haveged
sudo haveged -w 1024
sudo pacman-key --init
sudo pacman-key --populate archlinux antergos
sudo pkill haveged
sudo pacman -S antergos-keyring
sudo pacman -Syu
@jarod51
jarod51 / twitter.html
Last active December 5, 2017 16:10 — forked from Radostin/twitter.html
Twitter Mockup with TailwindCSS
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Twitter</title>
<link rel="stylesheet" type="text/css" href="./css/tailwind.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
@jarod51
jarod51 / laravel_nginx.md
Created June 15, 2017 20:00 — forked from folivares/laravel_nginx.md
Nginx configuration for Laravel 5.1

Nginx Server Blocks configuration to run more than one Laravel 5.1 web-app off of a single Linux server

Prerequisites

  • PHP package: php5-fpm php5-mcrypt php5-mysql
  • Laravel 5.1
  • Nginx 1.8

Default Server Block

@jarod51
jarod51 / Maintain a fork.md
Last active July 17, 2017 09:07 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream