Skip to content

Instantly share code, notes, and snippets.

View cappert's full-sized avatar

Camille Appert cappert

View GitHub Profile
diff --git a/home/cappert/.vscode/extensions/redhat.java-1.4.0/formatters/eclipse-formatter.xml b/eclipse-java-google-style.xml
index 7f8c57d..98ca551 100644
--- a/home/cappert/.vscode/extensions/redhat.java-1.4.0/formatters/eclipse-formatter.xml
+++ b/eclipse-java-google-style.xml
@@ -1,54 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="13">
-<profile kind="CodeFormatterProfile" name="Eclipse" version="13">
+<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
@cappert
cappert / middleman-webpack-demo deploy.yml
Created August 12, 2021 21:46 — forked from pmallol/middleman-webpack-demo deploy.yml
Add workflow file to deploy Middleman with GitHub Actions to GitHub Pages
# ./github/workflows/deploy.yml
name: Deploy Middleman to GH Pages
on:
push:
branches: [master]
jobs:
build:
Texte intégral
Copies exécutoires
RÉPUBLIQUE FRANÇAISE
délivrées aux parties le : AU NOM DU PEUPLE FRANÇAIS
COUR D’APPEL DE PARIS
Pôle 1 – Chambre 2
(comment: % brew outdated
ffmpeg x264 x265 libheif)
camille@Air:~/Code/Github/project (master) % brew upgrade x264
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
goreman pagmo pgformatter wp-cli-completion
document.getElementById(autoriser le collage
SyntaxError: missing ) after argument list
var select = document.getElementById("product-select-option-0")
undefined
var select = document.getElementById("#product-select-option-0")
undefined
document.getElementById("#product-select-option-0")
null
document.activeElement
<body class="templateProduct">
safia@safia-ThinkPad-T410:~$ cd Bureau/
safia@safia-ThinkPad-T410:~/Bureau$ ls
airbnb defi3 & 4 Formulaire moy.html Nouveau document tirage3
ardoise defi5.html JS multiple.html tirage1
calcul.html exo.html Moyenne.html musique tirage2
safia@safia-ThinkPad-T410:~/Bureau$ git clone git@github.com:Simplon-Safia-G/Tirage.git
Clonage dans 'Tirage'...
The authenticity of host 'github.com (192.30.253.113)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
;; https://github.com/docker/toolbox/blob/e24e33ea2f3f2c655fc4d07a671bd5f31ddfd95f/osx/uninstall.sh
#!/bin/bash
# Uninstall Script
if [ "${USER}" != "root" ]; then
echo "$0 must be run as root!"
exit 2
fi

#Unless

Sometimes you want to use control flow to check if something is false, rather than if it's true. You could reverse your if/else, but Ruby will do you one better: it will let you use an unless statement.

Let's say you don't want to eat unless you're hungry. That is, while you're not hungry, you write programs, but if you are hungry, you eat. You might write that program in Ruby like this:

unless hungry
  # Write some sweet programs
else
Atom context menu pollution
https://github.com/atom/atom/blob/master/src/browser/squirrel-update.coffee
require "formula"
class Ffmpeg < Formula
homepage "https://ffmpeg.org/"
url "https://www.ffmpeg.org/releases/ffmpeg-2.4.4.tar.bz2"
sha1 "c0a0829fbb4cf423eed77f39d3661d1a34ac7c35"
head "git://git.videolan.org/ffmpeg.git"
bottle do