Les US sont décrits en anglais. Cela permet l'utilisation de l'Ubiquituous Language depuis les US jusque dans le code, en passant par les tests.
On utilise le formalisme Behavior-Driven Development:
<?php | |
/************************************************************************/ | |
/* PHP Firewall: Universal Firewall for WebSite */ | |
/* ============================================ */ | |
/* Write by Cyril Levert */ | |
/* Copyright (c) 2009-2010 */ | |
/* http://www.php-firewall.info */ | |
/* dev@php-maximus.org */ | |
/* Others projects: */ | |
/* CMS PHP Maximus ( with mysql database ) www.php-maximus.org */ |
#!/bin/sh | |
export DEBIAN_FRONTEND=noninteractive; | |
if [ "$(whoami)" != "root" ]; then | |
echo "$0: Permission denied" | |
exit 1; | |
fi | |
# Install kubeadm | |
if [ -z "$(command -v kubeadm)" ]; then |
/* Mobile */ | |
@media only screen and (max-width: 767px) { | |
[class*="mobile hidden"], | |
[class*="tablet only"]:not(.mobile), | |
[class*="computer only"]:not(.mobile), | |
[class*="large screen only"]:not(.mobile), | |
[class*="widescreen only"]:not(.mobile), | |
[class*="or lower hidden"] { | |
display: none !important; | |
} |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ethibox - Configuration en cours...</title> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="bg-gray-800 text-white min-h-screen flex justify-center items-center"> | |
<main> |
[server] | |
port = 8080 | |
bind = 0.0.0.0 | |
[database] | |
type = mysql | |
username = writefreely | |
password = myp@ssw0rd | |
database = writefreely | |
host = mariadb |
const uuid = require("uuid"); | |
const generateNodeId = (filePath) => { | |
const seedConstant = '638f7a53-c567-4eca-8fc1-b23efb1cfb2b'; | |
const gatsbySourceFilesystemNsHash = uuid.v5('gatsby-source-filesystem', seedConstant); | |
const gatsbySourceFilesystemNodeId = uuid.v5(filePath, gatsbySourceFilesystemNsHash); | |
const gatsbyPluginMdxNodeId = `${gatsbySourceFilesystemNodeId} >>> Mdx`; | |
const gatsbyPluginMdxNsHash = uuid.v5('gatsby-plugin-mdx', seedConstant); |
global: | |
scrape_interval: 30s | |
evaluation_interval: 30s | |
scrape_configs: | |
- job_name: prometheus | |
metrics_path: /prometheus/metrics | |
static_configs: | |
- targets: ['localhost:9090'] |
#!/bin/bash | |
export DISPLAY=:0 | |
export XAUTHORITY=/home/johackim/.Xauthority | |
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus | |
export APPNAME=obsidian | |
export WIDTH=$(xdpyinfo | grep dimensions: | awk '{print $2}' | cut -d 'x' -f1) | |
export HEIGHT=$(xdpyinfo | grep dimensions: | awk '{print $2}' | cut -d 'x' -f2) | |
for ID in $(xdotool search --name $APPNAME); do |