Skip to content

Instantly share code, notes, and snippets.

Avatar

Rafael R rafaelrinaldi

View GitHub Profile
View stations.json
{
"estacao-jabaquara": {
"lines": [
"linha-1-azul"
],
"location": {
"address": "Term. Jabaquara, São Paulo, Brazil",
"latitude": -23.647066,
"longitude": -46.63954
},
@rafaelrinaldi
rafaelrinaldi / netshoes.md
Last active Mar 2, 2021
Vaga desenvolvedor front-end Netshoes
View netshoes.md

Desenvolvedor front-end Netshoes

  • Regime: CLT
  • Requisitos
    • Estar apto a descrever o que acontece do request até o render de uma página
    • Ferramentas de controle de versão, em especial o Git
    • HTML, CSS e JavaScript
      • Gerenciamento de pacotes
      • Conhecer ferramentas de build, em especial o Grunt
      • Conhecer pré-processadores, em especial o Sass
@rafaelrinaldi
rafaelrinaldi / README.md
Last active Jan 22, 2021
`.mov` to `.gif` using QuickTime and Photoshop
View README.md

.mov to .gif using QuickTime and Photoshop

This is my prefered way to create GIF animations for demos and whatnot.

Steps

  1. QuickTime » File » New Screen Recording
  2. Select area to record » Start recording your thing
  3. File » Export » Select max resolution available » Save
  4. Photoshop » Import » Video Frames to Layers (no need to follow step 2 if not on retina screen)
@rafaelrinaldi
rafaelrinaldi / filterArray.as
Created Jun 25, 2009
Search something inside an array, using filters similars to "LIKE" filters from Oracle.
View filterArray.as
package rinaldi.array
{
import rinaldi.string.isInString;
/**
*
* Search something inside an array, using filters similars to "LIKE" filters from Oracle.
* The search is case sensitive!
*
* @param p_arr Data provider.
View test.md
Number of users impacted
Number of users impacted Tenant
1530 Better
155 Ally
View file.md

Make sure you add the design-systems label to your pull request

View log
~/work/mortgage master
❯ make db-nuke db-start
cd /Users/rrinaldi/work/mortgage/mortgage && /Library/Developer/CommandLineTools/usr/bin/make mono-db-nuke
Makefile:33: warning: overriding commands for target `secrets-prod'
../Makefile:462: warning: ignoring old commands for target `secrets-prod'
docker-compose down --rmi local --volumes --remove-orphans
WARNING: The DB_SCHEMA_USER_PASSWORD variable is not set. Defaulting to a blank string.
Removing network mortgage_default
Removing image mortgage_postgres
rm -rf ~/data/postgres_data
View Theme.tsx
import * as React from 'react';
import cssVars from 'css-vars-ponyfill';
import Color from 'color';
import {CMSThemeMap} from 'thing/src/models/cms/Theme';
import {deriveSchemeFromBackground} from 'thing/src/utils/ColorUtils';
import {getPrimaryColorsFromCMSTheme} from 'thing/src/utils/ThemeProductPageUtils';
interface AccentColors {
customAccentColor?: string;
customAccentHover?: string;
View bootstrap
#!/bin/sh
# vim ft=sh
echo "Bootstrap has started"
echo "Set proper NVM version"
source $(brew --prefix nvm)/nvm.sh --no-use
nvm use v10.15.0
echo "Halt active containers"