Skip to content

Instantly share code, notes, and snippets.

View sbouaked's full-sized avatar
🔥
Explore your database => https://azimutt.app

Samir Bouaked sbouaked

🔥
Explore your database => https://azimutt.app
View GitHub Profile
@MatthieuSegret
MatthieuSegret / gist:6390339
Last active January 25, 2017 14:34
Exemple de programme de formation

Formation : Ruby on Rails

Baseline : Apprenez à développer des applications Ruby on Rails de qualité rapidement !

Durée : 4 jours

Public visé

Cette formation s’adresse aux développeurs d’applications web souhaitant acquérir des connaissances sur la technologie Ruby on Rails.

@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active May 26, 2024 17:26
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@rubencaro
rubencaro / install_elixir.md
Last active September 30, 2023 03:58
Elixir installation guide

Elixir installation guide

Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.

The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir and you are good to go.

Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to a specific version, you will need to compile it yourself. Then asdf is your best friend.

@CorneliusJack
CorneliusJack / PS-GetLatestReleaseZip.ps1
Created November 15, 2017 16:46
PowerShell script used to download and extract the latest release zip file of a private project from the GitHub API
## PowerShell script used to download and extract the latest release zip file of a private project from the GitHub API ##
# Parameters
$orga = "[YOUR_ORGANIZATION]"
$repo = "[YOUR_PROJECT]"
$apiUrl = "https://api.github.com/repos/$orga/$repo/releases/latest"
$token = "[YOUR_TOKEN]"
$folder = "C:\[YOUR_PATH]"
$date = Get-Date -format "yyyy-MM-dd"
$zip = "$folder\$repo-$date.zip"
@cblavier
cblavier / application.ex
Last active April 30, 2023 08:33
Cowboy 2.5 proxy, used to bind a single port (on Heroku) for umbrella Phoenix applications. It supports HTTPS and websockets properly.
defmodule MasterProxy.Application do
alias MyApp.Endpoint, as: MyAppEndpoint
alias MyApp.UserSocket, as: MyAppUserSocket
alias MyOtherApp.Endpoint, as: MyOtherAppEndpoint
alias MyOtherApp.UserSocket, as: MyOtherAppUserSocket
alias Phoenix.LiveReloader.Socket, as: LiveReloadSocket
alias Plug.Cowboy