Skip to content

Instantly share code, notes, and snippets.

View Cpavrai's full-sized avatar
🐰
Bouncing…

Cpavrai

🐰
Bouncing…
  • DataScientest, CyberUniversity
  • Paris
View GitHub Profile
@Cpavrai
Cpavrai / download_last_release.sh
Created May 17, 2022 12:52
Download last release with specifying your GH token in standin
#!/usr/bin/env bash
#
# This script downloads an asset from latest or specific Github release of a
# private repo.
#
# PREREQUISITES
#
# curl, wget, jq
#
# USAGE
@Cpavrai
Cpavrai / curltime
Created May 9, 2022 12:53
Script for computing loading time depending on web URL
#!/bin/bash
# USAGE: curltime DOMAIN_NAME
curl -w @- -o /dev/null -s "$@" <<'EOF'
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
@Cpavrai
Cpavrai / Web Frameworks.md
Last active September 24, 2022 21:58
All web frameworks which can be interesting for later
@Cpavrai
Cpavrai / download_last_release.sh
Created August 17, 2021 10:08
Script for downloading a file provided by a private repo's last release
#!/usr/bin/env bash
#
# This script downloads an asset from latest or specific Github release of a
# private repo.
#
# PREREQUISITES
#
# curl, wget, jq
#
# USAGE