Skip to content

Instantly share code, notes, and snippets.

View gil00pita's full-sized avatar
💭
I may be slow to respond.

Gil Álvaro gil00pita

💭
I may be slow to respond.
View GitHub Profile
@shilman
shilman / storybook-docs-typescript-walkthrough.md
Last active February 20, 2024 11:37
Storybook Docs Typescript Walkthrough

Storybook Docs w/ CRA & TypeScript

This is a quick-and-dirty walkthrough to set up a fresh project with Storybook Docs, Create React App, and TypeScript. If you're looking for a tutorial, please see Design Systems for Developers, which goes into much more depth but does not use Typescript.

The purpose of this walkthrough is a streamlined Typescript / Docs setup that works out of the box, since there are countless permutations and variables which can influence docs features, such as source code display, docgen, and props tables.

Step 1: Initialize CRA w/ TS

npx create-react-app cra-ts --template typescript
@jc-torresp
jc-torresp / access-pi-anywhere.md
Created September 21, 2019 05:12
Configuration to access Raspberry Pi from anywhere with UPnP port forwarding

Access Raspberry Pi from anywhere

Dynamic DNS

We need to use so called Dynamic DNS (DDNS) to create and dynamically update a mapping between a chosen domain name and an “external” IP address of our Raspberry Pi (i.e. router IP address).

  • Look for a DDNS provider.
  • Register a new user account.
  • Choose a desire domain name.
  • Configure it on router.
@gil00pita
gil00pita / Install.Core.Apps.txt
Last active October 27, 2021 22:01
Automation Installer for Windows, Chocolatey.https://chocolatey.org/
##############################################################
# Description: Boxstarter Script
# Author: Gil Alvaro
# Last Updated: 2020-01-08
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
@bradtraversy
bradtraversy / docker-help.md
Last active May 4, 2024 14:32
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@angristan
angristan / install_docker.sh
Last active October 11, 2023 14:52
Script to install Docker and Docker-Compose on Debian
#!/bin/bash
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common sudo
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
apt-get update
@gil00pita
gil00pita / brew-install-script.sh
Last active August 13, 2021 08:02 — forked from CliffordAnderson/brew-install-script.sh
Brew install script for OSX
#!/bin/sh
# Homebrew Script for OSX
# To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh`
echo "Installing brew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Installing brew cask..."
brew tap homebrew/cask
@kpietralik
kpietralik / Boxstarter.txt
Last active January 7, 2020 22:09
Boxstarter and Chocolatey Script
#### Boxstarter and Chocolatey
## Restore AppData before running
## RUN AS ADMIN!
## choco install - install
## choco upgrade - install or upgrade
## cinst - install
## cinstm - install or upgrade
## Cmd run with reboot START http://boxstarter.org/package/url?C:\boxstarter.txt
## Cmd run without reboot START http://boxstarter.org/package/nr/url?C:\boxstarter.txt
## START http://boxstarter.org/package/url?https://gist.githubusercontent.com/Quass1m/8e690015146a064cac47578f0e0ef835/raw/084d6e12c1c908d125e7459e3188c080ac7cf83f/Boxstarter.txt
@gil00pita
gil00pita / _functions.scss
Created August 23, 2016 13:30
Sass Toolbox
/* ==========================================================================
A collection of functions for color adjustments
Usage: adjust-lightness(#000, 20%) { }
========================================================================== */
// a genericized version of lighten/darken so that negative values can be used.
@function adjust-lightness($color, $amount) {
//@debug $color; @debug $amount;
@return adjust-color($color, $lightness: $amount);
}
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 7, 2024 09:29
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 7, 2024 01:27
A badass list of frontend development resources I collected over time.