Skip to content

Instantly share code, notes, and snippets.

View romainPrignon's full-sized avatar

Romain Prignon romainPrignon

View GitHub Profile
export default {
node: '22.8.0',
pnpm: '8.6.2',
k3d: '5.4.9',
python: '3.11.4',
poetry: '1.5.1'
}
@romainPrignon
romainPrignon / cdktf.json
Last active September 13, 2021 10:13
bug-cdktf-21.9.13
{
"language": "typescript",
"app": "ts-node stacks/main.ts",
"terraformProviders": [
"aws@~>3.0",
"heroku/heroku@~>4.0"
],
"terraformModules": [],
"context": {
"excludeStackIdFromLogicalIds": "true",
@romainPrignon
romainPrignon / readme.md
Last active March 3, 2019 16:57 — forked from jakewtaylor/readme.md
VS Code CSS addition to increase readability on file tree.
  • Add the following CSS into /usr/share/coderesources/app/out/vs/workbench/workbench.main.css
@romainPrignon
romainPrignon / components-Middle.js
Last active December 20, 2016 09:19
react app structure
import React from 'react'
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
// Actions
import {open, close} from 'actions' // Redux Actions
// Components
import Middle from 'components/middle/middle.jsx'
@romainPrignon
romainPrignon / multi-php.sh
Last active October 17, 2016 11:33 — forked from shoaibali/gist:1ba410bb42d8d9cff160635f7ad79efa
multiple versions of php on Ubuntu Xenial 16.04 down grade to php5.6 from php7
# reference1: https://by-example.org/ubuntu-16-04-xenial-downgrade-php-7-to-php-5-6/
# reference2: https://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-to-php-5-6-on-ubuntu-16-04/761735
# reference2 (recommended)
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0 php5.6
@romainPrignon
romainPrignon / tmux.conf
Created February 7, 2016 08:32 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@romainPrignon
romainPrignon / git-standup.sh
Created October 6, 2015 15:10
Iterate over directories and display yesterday's commits
#! /bin/sh
# color
RESTORE='\033[0m'
GREEN='\033[00;32m'
currentDir=$(pwd)
workspace=$1
author=$2
atLeastOneCommit=false
<?php
// Snippet for Symfony 2 application that uses Doctrine 2 to handle transactions
// It uses the names of the objects/doctrine repositories from the Beta 4 Manual of Symfony 2.
// Get the entity manager
$em = $this->getDoctrine()->getEntityManager();
// suspend auto-commit
$em->getConnection()->beginTransaction();
@romainPrignon
romainPrignon / 60FpsScrolling.css
Created December 18, 2013 10:05
60 fps scrolling
.disable-hover,
.disable-hover * {
pointer-events: none !important;
}