Skip to content

Instantly share code, notes, and snippets.

Lambda Lambda Lambda!

Giovanni Bassi giggio

Lambda Lambda Lambda!
View GitHub Profile
giggio / overflow.cs
Created Nov 23, 2020
Checking various overflow conditions in .NET
View overflow.cs
using System;
using static System.Console;
var m = int.MaxValue;
// possible solutions:
WriteLine("n is an IntPtr");
var n = IntPtr.MaxValue;
giggio / docker-compose.yml
Last active Oct 23, 2020
Mirror Docker hub with Docker-compose
View docker-compose.yml
version: '3.7'
container_name: docker-registry-mirror
image: registry:2
- "443:443"
- ./data/docker/var/lib/registry:/var/lib/registry
- ./data/certs:/certs
giggio /
Last active Oct 29, 2020
Links da palestra sobre Deno
giggio / .wslconfig
Created Apr 30, 2020
My WSL config file.
View .wslconfig
giggio /
Last active Aug 26, 2020
Links palestra "Usando um ambiente Linux completo no Windows com WSL e VSCode"
giggio / activity-box
Last active Nov 27, 2020
Latest activity
View activity-box
🗣 Commented on #887 in MicrosoftDocs/Virtualization-Documen...
🗣 Commented on #289 in giggio/node-chromedriver
🗣 Commented on #289 in giggio/node-chromedriver
🗣 Commented on #4556 in microsoft/WSL
💪 Opened PR #660 in dotnet-foundation/website
View @giovannibassi - 2 days ago | ❤ 48 | 🔁 0
Ontem e hoje foi dia de migrar de uma VPN L2TP/IPSec pra
IPSec IKEv2. Algo parou a VPN e foi hora de migrar. Apanhe…
giggio / settings.json5
Last active Nov 5, 2020
Giovanni Bassi's Windows terminal config
View settings.json5
// For documentation on these settings, see:
"$schema": "",
"defaultProfile": "{2606165a-a7a0-4ac4-8e8c-36dd487fc9cb}",
"copyOnSelect": false,
"launchMode": "maximized",
"showTerminalTitleInTitlebar": false,
"tabWidthMode": "equal",
"profiles": {
"defaults": {
giggio / feedly.opml
Created Feb 15, 2019
My blogs opml file
View feedly.opml
<?xml version="2.0" encoding="UTF-8"?>
<opml version="1.0">
<title>Giovanni subscriptions in feedly Cloud</title>
<outline text="Tiras" title="Tiras">
<outline type="rss" text="Um Sábado Qualquer" title="Um Sábado Qualquer" xmlUrl="" htmlUrl=""/>
<outline type="rss" text="Dilbert Daily Strip" title="Dilbert Daily Strip" xmlUrl="" htmlUrl=""/>
giggio /
Created Oct 2, 2018
Copy a commit from any repo to any other repo
git --no-pager --git-dir=<original_dir>/.git format-patch -k -1 --no-color --stdout <commit_sha> | git am -3 -k --ignore-whitespace
You can’t perform that action at this time.