Skip to content

Instantly share code, notes, and snippets.

Avatar

Manuel Tancoigne mtancoigne

View GitHub Profile
@mtancoigne
mtancoigne / airsec.rb
Created February 27, 2023 09:52
Find outdated gems in sub-directories
View airsec.rb
#!/usr/bin/env ruby
# frozen_string_literal: true
# Find projects with outdated dependencies
#
# Usage:
# airsec <gem>
# airsec <gem> [[min version] max version]
#
View gitignore-cleaner
#!/usr/bin/env ruby
# frozen_string_literal: true
# Find non-existing entries in gitignore
#
# For reference: https://git-scm.com/docs/gitignore
#
# @author Manuel Tancoigne <m.tancoigne@experimentslabs.com>
# @license MIT
# @version 0.2.0
@mtancoigne
mtancoigne / git-bs
Last active February 28, 2023 10:16
Display statuses of local git branches
View git-bs
#!/usr/bin/env ruby
# frozen_string_literal: true
# Display branch statuses
#
# @author Manuel Tancoigne <m.tancoigne@experimentslabs.com>
# @license MIT
# @version 0.2.3
#
# Requirements
@mtancoigne
mtancoigne / vuex-toast.scss
Last active August 4, 2020 10:29
VueX-toast SCSS style file with a helper mixin for new types
View vuex-toast.scss
// VueX-toast SASS style file with a helper mixin for new types
//
// License: MIT
//
// Authors:
// - ktns (https://github.com/ktns)
// - mtancoigne (https://experimentslabs.com/users/administrator)
//
// Project page: https://github.com/ktsn/vuex-toast
// Matches with version: 0.1.3 (not tested on previous versions)
@mtancoigne
mtancoigne / gitter.css
Created July 26, 2019 08:09
Gitter - compact interface
View gitter.css
@-moz-document domain("gitter.im") {
/* Header */
header.header,
.header .header-main-menu {
height: 3.5rem !important;
}
/* Left panel */
.body .layout-minibar {
width: 3.5rem;
View state_of_js_enthusiasts_translators.json
{
"arabic": [
"aghoneim92",
"Islam888",
"kmelkon",
"lelbil",
"nrifki",
"OsamaNabih",
"TaqwaR"
],
@mtancoigne
mtancoigne / App.vue
Created September 26, 2018 20:18
Something that follows scrolling in VueJS (using $refs)
View App.vue
<template>
<div id="app">
<ul class="trails">
<li class="trail">
<div class="caption" :class="sectionsClasses.section_1">El 1</div>
</li>
<li class="trail">
<div class="caption" :class="sectionsClasses.section_2">El 2</div>
</li>
<li class="trail">
View keybase.md

Keybase proof

I hereby claim:

  • I am mtancoigne on github.
  • I am mtancoigne (https://keybase.io/mtancoigne) on keybase.
  • I have a public key whose fingerprint is 1000 50F3 D9B8 ED8F B8B2 F69B D0FE 6B33 0973 5AC5

To claim this, I am signing this object:

@mtancoigne
mtancoigne / GafaLinks.scss
Created October 22, 2017 09:20
CSS Style to use with UserStyles, which makes the GAFA links stand out
View GafaLinks.scss
@mtancoigne
mtancoigne / events.md
Created April 26, 2017 00:09
Test with diagram
View events.md

CakePHP events timeline

Events timeline for standard CakePHP actions. These events were taken from the DebugKit's Timeline

Index, View

Core Processing (Derived from $_SERVER["REQUEST_TIME"])

  • Event: Controller.initialize (Cookbook)
  • Event: Controller.startup (Cookbook)
  • Controller action (view)