Skip to content

Instantly share code, notes, and snippets.

View elthariel's full-sized avatar

Elthariel elthariel

  • Various
  • Europe - France
  • 06:53 (UTC -12:00)
View GitHub Profile
(use-package polymode
:ensure t
:defer t
:hook (vue-mode . lsp-deferred)
:mode ("\\.vue\\'" . vue-mode)
:config
(define-innermode poly-vue-template-innermode
:mode 'html-mode
:head-matcher "^<[[:space:]]*\\(?:template\\)[[:space:]]*>"
:tail-matcher "^</[[:space:]]*\\(?:template\\)[[:space:]]*>"
@bactisme
bactisme / Calcul de l'impot français par tranche.js
Last active February 4, 2022 22:49
Calcul de l'impot français par tranche (javascript)
// http://www.impots.gouv.fr/portal/dgi/public/popup?espId=1&typePage=cpr02&docOid=documentstandard_6182
// Impots sur revenus 2018
// Voir commentaire du gist pour les années suivantes
function impotBareme(montant){
var impot = 0;
var tranches = new Array();
tranches.push([6011, 0]);
tranches.push([11991, 0.055]);
tranches.push([26631, 0.14]);
@simeonwillbanks
simeonwillbanks / Gruntfile.js
Last active December 18, 2015 16:19
Use #HAML within a #yeoman #AngularJS app.
'use strict';
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet;
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
@abelards
abelards / parisrb_code_conduct.md
Last active December 15, 2015 20:29
[FR] Éthique et déontologie de ParisRB [EN] ParisRB's Code of Conduct

ParisRB is about Ruby on Rails

and all web technologies, business topics... are welcome.
It's a good thing to be curious, so anything related to developers' interests is OK.

We value everyone's contribution and well-being.
As for any social interactions, respect and courtesy are expected.
This event is a gathering of professionals, behave as such.

We value our attendees

Hi everyone,

It's time we had The Talk.

The tech world is currently managing its inclusion / exclusion / minorities problem. It's not always pretty. It's never pleasant, but it's necessary.

I've been dragged in an ugly troll around ParisRB. Full transparency is the only way to deal with this, so here it is. I know speed is key, as sad rumors are already spreading.

We'll have to set facts straight:

@kogakure
kogakure / .gitignore
Last active December 17, 2023 08:21
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst