Skip to content

Instantly share code, notes, and snippets.

View adelin-b's full-sized avatar
🎯
Focusing

Adelin Berard adelin-b

🎯
Focusing
  • Paris
View GitHub Profile
@adelin-b
adelin-b / norgtion.org
Created September 3, 2020 18:58
notion layout attempt with org mode

[1/4] Media

La fin du

@adelin-b
adelin-b / json-literal-typer.ts
Created July 12, 2020 16:07
small yargs cli for json-literal-typer using ts-node
#!/usr/bin/env ts-node
import * as yargs from 'yargs';
import { default as analyze, typify } from 'json-literal-typer';
import * as fs from 'fs';
const argv = yargs
.option('output', {
alias: 'o',
description: 'output file',
type: 'string',
@adelin-b
adelin-b / deploy_api.sh
Created June 19, 2020 19:13
rsync deploy
#!/bin/bash
# DEPLOY_USER=ubuntu
# DEPLOY_SERVER=
# DEPLOY_SSH=$DEPLOY_USER@$DEPLOY_SERVER:$DEPLOY_DIR
SSH_SERVER_NAME=ssh_config_name
DEPLOY_DIR=/home/admin/deploy/
DEPLOY_SSH=$SSH_SERVER_NAME:$DEPLOY_DIR
EXLUDE_FILE=.rsync_exclude
set -e
@adelin-b
adelin-b / svg2ico.sh
Created March 30, 2019 13:37 — forked from azam/svg2ico.sh
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
convert -density 384 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico
@adelin-b
adelin-b / README-Template.md
Created February 21, 2019 12:38 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites