Skip to content

Instantly share code, notes, and snippets.

View s-celles's full-sized avatar

Sébastien Celles s-celles

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1NQUNhtmNySVkxQY6pSoe9brezGLdg5V3o https://explorer.blockstack.org/address/1NQUNhtmNySVkxQY6pSoe9brezGLdg5V3o
@s-celles
s-celles / README.md
Last active February 16, 2022 16:11
Convert CSV file of waypoints with degrees/minutes/seconds to .cup files

Usage

python convert_wpt_cup.py poitiers_vfr.csv --name LFBI
@s-celles
s-celles / Project.toml
Last active December 17, 2021 07:19
planeur - polaire - parabole - 3pts ou plus (régression polynomiale)
name = "PolarCurve"
license = "MIT"
authors = ["Sébastien Celles <[email protected]>"]
version = "0.0.1"
[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@s-celles
s-celles / BoxStarter_script_PcBasique
Created January 2, 2021 15:39 — forked from Akipe/BoxStarter_script_PcBasique
Script pour BoxStarter, après installation de Windows pour PC
#######################################################################
#### Script Boxstarter maintenance PC ####
#### Installation et mise en route des application pour PC basique ####
#######################################################################
########## Définition des paramétre Windows
Set-StartScreenOptions -EnableBootToDesktop
Set-TaskbarOptions -Lock
########## Mise à jour Windows
@s-celles
s-celles / Vagrantfile
Created January 2, 2021 21:19 — forked from akrabat/Vagrantfile
Example Vagrantfile for Windows
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Base box: https://github.com/akrabat/packer-templates
Vagrant.configure("2") do |config|
config.vm.box = "19ft/windows2016"
config.vm.guest = :windows
config.vm.boot_timeout = 600
@s-celles
s-celles / Out-AIRACCycles.ps1
Created February 5, 2021 08:06 — forked from a4099181/Out-AIRACCycles.ps1
AIRAC dates generator - enumerates AIRAC cycles: previous, current and next.
Function Out-AIRACCycles
{
Param ( [DateTime] $currentDay = ( Get-Date )
, [DateTime] $initialDay = ( Get-Date -Year 2015 -Month 1 -Day 8 )
, $interval = 28
, $culture = [System.Globalization.CultureInfo]::GetCultureInfo("en-US") )
$offset = (New-TimeSpan -Start $initialDay -End ( Get-Date -Year ( $currentDay.Year - 1 ) -Month 1 -Day 1 ) ).Days
$offset .. ( $offset + 365 * 3 ) |
@s-celles
s-celles / gist:e0eb768a78198197e1a59ee10a94805e
Created April 4, 2021 19:57 — forked from cquest/gist:9db8aebcaa1fb1b53b2424c74b821b39
Téléchargement couche DRONES depuis Géoportail
# génération auto par gdal du fichier XML de description du service WMTS
gdal_translate "WMTS:https://wxs.ign.fr/an7nvfzojv5wa96dsga5nk8w/geoportail/wmts?Service=WMTS&Request=GetCapabilities&Version=1.0.0,layer=TRANSPORTS.DRONES.RESTRICTIONS" drones.xml -of WMTS
# téléchargement des tuiles et sortie en geotiff
gdal_translate drones.xml drones.tif -co COMPRESS=DEFLATE -co TILED=YES
@s-celles
s-celles / luxorminifb.jl
Created November 16, 2021 13:23 — forked from cormullion/luxorminifb.jl
Luxor -> MiniFB test
using Luxor, MiniFB, Colors
mutable struct Guilloche
f1::Float64
f2::Float64
f3::Float64
f4::Float64
# damping factors: increase to make the energy losses faster
xd1::Float64
xd2::Float64
#! /usr/bin/python
# coding=utf-8
import requests
# Track ids to download
tracks = [
'9319946',
'9319955',
...