Skip to content

Instantly share code, notes, and snippets.

View alexduros's full-sized avatar
🏀
Back in the hoops

Alexandre Duros alexduros

🏀
Back in the hoops
View GitHub Profile
@Intyre
Intyre / Wahoo_Elemnt.md
Last active June 25, 2024 14:44
Wahoo Elemnt - Tips, tricks and custom images
@martinwicke
martinwicke / automobile.ipynb
Last active January 9, 2022 08:14
Estimator demo using Automobile dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@innyso
innyso / docker_cooperate_proxy.md
Last active April 12, 2020 11:16
#docker #macos #proxy

using docker for mac behind cooperate proxy

Assuming that you are behind a cooperate proxy and running cntlm or squid to proxy all your outgoing traffic to the interweb.

When using docker for Mac, becuase docker for mac provision a xhyve VM under the hood, so having set the docker preference proxy setting to http[s]://localhost:3128 is not going to help as localhost == xhyve VM not the Mac.

Logging into the xhyve VM

@jaydenseric
jaydenseric / ffmpeg-web-video-guide.md
Last active July 3, 2024 19:58
A quick guide to using FFmpeg to create cross-device web videos.

Video conversion with FFmpeg

Install

On mac:

  1. Download the latest release.
  2. Extract the binary and place it in /usr/local/bin.

Command basics

@cdown
cdown / gist:1163649
Last active July 1, 2024 03:35
Bash urlencode and urldecode
urlencode() {
# urlencode <string>
old_lc_collate=$LC_COLLATE
LC_COLLATE=C
local length="${#1}"
for (( i = 0; i < length; i++ )); do
local c="${1:$i:1}"
case $c in