Skip to content

Instantly share code, notes, and snippets.

💭
😘

Giulio Ungaretti giulioungaretti

💭
😘
Block or report user

Report or block giulioungaretti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@giulioungaretti
giulioungaretti / spec.yaml
Last active May 2, 2020
OpenAPI3 polymorphic data
View spec.yaml
openapi: 3.0.0
info:
version: 1.0.0
title: Sample API
description: A sample API
paths:
/value:
get:
operationId: getValue
description: Returns a list of values
View windowsterminal setttings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals": {
"alwaysShowTabs": false,
"defaultProfile": "{fb39ce23-a468-4ee2-bc56-7a940f799513}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
{
"command": "newTabProfile0",
View windowsterminal setttings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals": {
"alwaysShowTabs": false,
"defaultProfile": "{fb39ce23-a468-4ee2-bc56-7a940f799513}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
{
"command": "newTabProfile0",
View windowsterminal setttings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals": {
"alwaysShowTabs": false,
"defaultProfile": "{fb39ce23-a468-4ee2-bc56-7a940f799513}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
{
"command": "newTabProfile0",
@giulioungaretti
giulioungaretti / Windows Defender Exclusions VS 2017.ps1
Created Apr 25, 2019 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
Adds Windows Defender exclusions for Visual Studio 2017
View Windows Defender Exclusions VS 2017.ps1
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null
View hyper.json
{
"title": "Hyper",
"rules": [{
"description": "Change caps_lock to command+control+option+shift.",
"from": {
"key_code": "fn",
"modifiers": {
"optional": [
"any"
]
@giulioungaretti
giulioungaretti / cloudSettings
Last active May 25, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-05-25T10:00:16.730Z","extensionVersion":"v3.2.9"}
@giulioungaretti
giulioungaretti / ta.zsh
Created Jan 27, 2018
tmux session attach
View ta.zsh
function ta (){
local NEW_SESSION=$(uuidgen)
tmux new-session -t $1 -s $NEW_SESSION ; tmux kill-session -t $NEW_SESSION
}
@giulioungaretti
giulioungaretti / color.js
Last active Jan 21, 2018
acme-ish chrome secure shell theme
View color.js
t.prefs_.set('color-palette-overrides', ['#424242','#b85c57','#57864e','#8f7734','#2a8dc5','#8888c7','#6aa7a8','#999957','#eeeea7','#f2acaa','#98ce8f','#b7b19c','#a6dcf8','#d0d1f7','#b0eced','#ffffec']);
t.prefs_.set('foreground-color', '#424242');
t.prefs_.set('background-color', '#ffffd7');
t.prefs_.set('cursor-color', '#424242');
You can’t perform that action at this time.