- Lite images: https://downloads.raspberrypi.org/raspbian_lite/images/
- With desktop: https://downloads.raspberrypi.org/raspbian/images/
- With desktop & recommended software: https://downloads.raspberrypi.org/raspbian_full/images/
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
# Add PGP key to install mysql 5.7 from mysql repository | |
- name: Add PGP key | |
apt_key: | |
keyserver: hkp://pgp.mit.edu:80 | |
id: 5072E1F5 | |
- name: Add official APT repository | |
apt_repository: | |
repo: "deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7" |
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
# opening and closing windows and popovers | |
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
# smooth scrolling | |
defaults write -g NSScrollAnimationEnabled -bool false | |
# showing and hiding sheets, resizing preference windows, zooming windows | |
# float 0 doesn't work | |
defaults write -g NSWindowResizeTime -float 0.001 |
API recette:
curl --location --request POST 'https://rdv-cfa-recette.apprentissage.beta.gouv.fr/api/appointment-request/context/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"idParcoursup": "25229",
"referrer": "parcoursup"
}'
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 axios, { AxiosResponse } from 'axios'; | |
import { config } from '../config'; | |
import { Sentry } from '../libs/sentry'; | |
/** | |
* @description Ip Stack API response | |
*/ | |
interface IIpStackResponse { | |
latitude: number; | |
longitude: number; |
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 fs = require('fs'); | |
const csv = require('csvtojson'); | |
const csvStream = fs.createReadStream('./file.csv'); | |
const converter = new csv.Converter({}); | |
converter | |
.fromStream(csvStream) | |
.subscribe((row) => { |
NewerOlder