Skip to content

Instantly share code, notes, and snippets.

View tomma5o's full-sized avatar

Tommaso Poletti tomma5o

View GitHub Profile
@tomma5o
tomma5o / superShell.bash
Last active January 2, 2023 03:32
This gist is for standard install of the zsh shell and oh-my-zsh configuration with spaceship theme
#!/bin/bash
# For use this script copy&paste this in your terminal:
# bash <(curl -s https://gist.githubusercontent.com/tomma5o/302be3dc6e2092743e6049570e102a09/raw/superShell.bash)
OPTIONS="OSX Debian"
SELECTED="null"
echo Where you want to activate zsh?
select opt in $OPTIONS; do
@tomma5o
tomma5o / initjs.sh
Created August 27, 2018 07:49
Bash Script for initzialize js project in the folder where the command is executed
# !usr/bin/bash
echo "inizializing js project in $(pwd)\n\n"
git init -q
npm init -y -s
mkdir dist
@tomma5o
tomma5o / tolc.sh
Created October 8, 2018 08:46
Simple command for converting the uppercase text in lower through command line (OSX)
echo "$1" | tr '[:upper:]' '[:lower:]' | pbcopy
@tomma5o
tomma5o / jsconfig.jsonc
Last active January 24, 2019 10:56
jsconfig Starter for simple React projects
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"moduleResolution": "classic",
"baseUrl": "./app/",
"paths": {
// here not allowed more than one *
// specify index.js when use folder names in imports
"components/*": ["./components/*/index.js"],
@tomma5o
tomma5o / FerraraDomicilio.json
Last active August 28, 2021 14:03
Negozi Che effettuano consegne a domicilio a Ferrara e provincia
{
"Salute":{
"icon":"👩‍⚕️",
"data":[
{
"name":"Ortopedia Sanitaria Sant'Anna",
"tel":[
"0532798230",
"3426570717"
],