This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Prismic formatting | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author blaadje | |
// @match https://japhy.prismic.io/* | |
// @icon https://www.google.com/s2/favicons?domain=github.com | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const time_step=100,wait=(e=1)=>new Promise(c=>setTimeout(c,e)),click=async e=>(document.querySelector(e).click(),wait(100)),explore=async()=>click(".recCard__info").then(()=>document.querySelector(".bullet")&&Array.from(document.querySelector(".bullet")).reduce((e,c)=>e.then(()=>(c&&c.click(),wait(100))),Promise.resolve())).then(()=>click('[aria-label="Like"]')).then(()=>explore());explore(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<span>{{ formattedDate }}</span> | |
</template> | |
<script> | |
import { formatDate } from '@core/helpers' | |
import { mapGetters } from 'vuex' | |
export default { | |
props: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div :class="$style.Wrapper"> | |
<strong> | |
<bm-link | |
:class="$style.MenuItem" | |
to="/dashboard/orders" | |
> | |
<i18n path="dashboard_menu_orders" /> | |
</bm-link> | |
</strong> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$blue: #1D93FD | |
$primary: #2AB27B | |
$grey1: #F5F5F5 | |
$grey2: #979797 | |
$grey3: #9B9B9B | |
$grey4: #D8D8D8 | |
$grey6: #b2b2b2 | |
$grey7: #eaeaea | |
$dark: #4A4A4A | |
$green: #28BC83 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Redirection http vers https | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name mondomaine.fr; | |
location ~ /\.well-known/acme-challenge { | |
allow all; | |
} | |
location / { | |
return 301 https://mondomaine.fr$request_uri; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { join, resolve } from 'path' | |
import webpack from 'webpack' | |
import HtmlWebpackPlugin from 'html-webpack-plugin' | |
import WebpackMd5Hash from 'webpack-md5-hash' | |
import CleanWebpackPlugin from 'clean-webpack-plugin' | |
import FaviconsWebpackPlugin from 'favicons-webpack-plugin' | |
import UglifyJSPlugin from 'uglifyjs-webpack-plugin' | |
const prod = process.env.NODE_ENV === 'production' |