Skip to content

Instantly share code, notes, and snippets.

Mathieu Marteau ElMatella

Block or report user

Report or block ElMatella

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View monaco-material-theme.js
const themeData = {
'base': 'vs-dark',
'inherit': true,
'rules': [
{
'foreground': '546e7a',
'fontStyle': 'italic',
'token': 'comment'
},
{
View test.txt
Table users:
+----+---------+
| id | name |
+----+---------+
| 1 | Mathieu |
| 2 | Ynk |
+----+---------+
Table articles:
View HttpQueue.js
export default class HttpQueue {
constructor (queryFunction) {
this.requesting = false
this.stack = []
this.queryFunction = queryFunction
}
add (options, resolve, reject) {
if (this.stack.length < 2) {
View bruteforce my password node
let randomstring = require('randomstring')
let found = false
let random;
while (! found) {
random = randomstring.generate({
length: 14,
charset: 'alphanumeric'
View vue.html
<!DOCTYPE html>
<html>
<head>
<title>Test VueJS</title>
</head>
<body>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<div id="app">
<form @submit.prevent="doSomething()">
@ElMatella
ElMatella / Countdown.vue
Created Sep 17, 2016
Countdown component for VueJS with momentjs
View Countdown.vue
<template>
<div class="countdown">
<div class="time-unite created" v-show="years">
<div class="time-unite-title">Y</div>
<div class="time-unite-value">{{ years }}</div>
</div>
<div class="time-unite created" v-show="months">
<div class="time-unite-title">Mois</div>
<div class="time-unite-value">{{ months }}</div>
</div>
You can’t perform that action at this time.