-
Docker Link
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo groupadd docker sudo usermod -aG docker $USER
version: "2.1" | |
services: | |
jellyfin: | |
image: linuxserver/jellyfin | |
container_name: jellyfin | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} |
export async function createInteractionInstruction( | |
connection: Connection | |
): Promise<string> { | |
console.log('Creating swap token a account'); | |
const owner = await newAccountWithLamports(connection, 1000000000); | |
const payer = await newAccountWithLamports(connection, 1000000000); | |
const SWAP_AMOUNT_IN = 100000; | |
const POOL_TOKEN_AMOUNT = 10000000; | |
let currentSwapTokenA = 1000000; | |
let currentSwapTokenB = 1000000; |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension DavidAnson.vscode-markdownlint | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension dsznajder.es7-react-js-snippets | |
code --install-extension eamodio.gitlens | |
code --install-extension eg2.vscode-npm-script | |
code --install-extension equinusocio.vsc-material-theme-icons | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension hashicorp.terraform | |
code --install-extension infarkt.css-to-jss |
version: "2" | |
services: | |
jellyfin: | |
image: linuxserver/jellyfin | |
container_name: jellyfin | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} |
<?xml version="1.0" encoding="UTF-8"?> | |
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
<AllowedMethod>PUT</AllowedMethod> | |
<AllowedMethod>POST</AllowedMethod> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
<AllowedHeader>*</AllowedHeader> | |
</CORSRule> |
Docker Link
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo groupadd docker
sudo usermod -aG docker $USER
Ces scripts permettent de vider le flux d'activité d'un compte twitter : RT, likes, tweets.
Those scripts will flush your twitter activity feed : likes, RT, tweets...
Ces scripts ne fonctionnent que pour twitter en langue anglaise. (https://twitter.com/settings/language)
Those scripts only work for twitter in english.
#!/bin/bash | |
npx create-react-app formatting-project --template typescript --use-npm | |
npm i -D --save-exact eslint eslint-config-airbnb eslint-config-airbnb-typescript eslint-config-prettier eslint-config-react-app eslint-import-resolver-typescript eslint-loader eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks babel-eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin | |
npm i -D --save-exact prettier prettier-eslint prettier-eslint-cli eslint-plugin-prettier | |
> ".eslintrc" | |
echo '// .eslintrc | |
{ | |
"plugins": ["prettier", "@typescript-eslint"], | |
"extends": ["airbnb-typescript", "react-app", "prettier"], |
#!/bin/bash | |
npm install -D eslint prettier | |
npm install -D eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react babel-eslint | |
npm install -D eslint-config-prettier eslint-plugin-prettier | |
> ".eslintrc.js" | |
echo 'module.exports = { |
git log --pretty=format:"%ad:%an:%d:%B" --date=short --reverse --all --since=1.day.ago --author=Ezy |