Package | Tipo |
---|---|
Typescript | Linguagem |
React + React DOM | Componentes |
React Router | Roteamento |
Storybook | Design System |
Material-UI | Design System |
Testing Library + Jest | Testes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# VARIABLES | |
CMD=$1 | |
PROJECT="<PROJECT-NAME-HERE>" | |
S3_DEPLOY_BUCKET="<S3-BUCKET-NAME-HERE>" | |
PACKAGE_FILE_NAME="packaged.yaml" | |
EVENTS_FOLDER="events/" | |
ENVIRONMENT_FILE="env.json" | |
ANY_CLOUD_FORMATION_PARAMETER="<ANY-CLOUD-FORMATION-PARAMETER-VALUE>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot "files\path\here" | |
ServerName url.here.com | |
ServerAlias www.url.here.com | |
<Directory "files\path\here"> | |
Require all granted | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import random | |
import string | |
import sys | |
def gen_secret(secret_size): | |
secret = "" | |
invalid_chars = [' ','\n','\t','\r','\x0b','\x0c','"','\'','`','\\'] | |
for i in range(0, secret_size): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Confirm to every questions. | |
# Update pacman. | |
pacman -Syu | |
# Close the console when it ask to. | |
# After reinitialize the console: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace Cycles | |
{ | |
/// <summary> | |
/// A abstract class to implement a cycle. | |
/// A cycle is a finite state machine with a data input and output of the same type to every state event. | |
/// </summary> | |
/// <typeparam name="TState">The type of the state. Example: Enum, string or int.</typeparam> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Before add this to the your "index.html" file: | |
- Remove any style="..." attribute. | |
- Remove any <style> tag. | |
- Remove any <link rel="stylesheet"...> tag. | |
--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
net stop was /y | |
echo Opening browser... | |
start "" http://localhost/ | |
echo Starting Python 3.7.0 simple http server... | |
python -m http.server 80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------------- # | |
# ----------------------------- BRANCH NAME IN BASH ----------------------------- # | |
# ------------------------------------------------------------------------------- # | |
# Add those snippet to the bash config file. | |
# Get git branch function. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} |
NewerOlder