Skip to content

Instantly share code, notes, and snippets.

View cacaudev's full-sized avatar
👩‍💻
Programming

Claudia_AR cacaudev

👩‍💻
Programming
View GitHub Profile
@cacaudev
cacaudev / Template page half with flexbox.txt
Last active November 5, 2023 21:29
Template from page divided full screen by half with flexbox, and responsive width
* {
box-sizing: border-box;
}
body, html {
margin: 0;
padding: 0;
}
const moment = require("moment-timezone");
/**
* @desc Format timestamp accordingly with a timezone.
* Default timezone is "America/Sao_Paulo"
* @param {string} timestamp
* @param {string} timezone
*/
function isDateWithoutTime(rawMomentDate) {
const rawHour = rawMomentDate.format("HH");
@cacaudev
cacaudev / .gitconfig
Last active September 4, 2020 20:46
My Visual Studio Code Config
[user]
email = my_email
name = cacaudev
[push]
default = current
[pull]
default = current
@cacaudev
cacaudev / Free Useful Websites for development
Last active November 5, 2020 13:39
Free useful tools for devs that I already used or tested
- UX, Design, Prototyping
- Whimsical - (https://whimsical.com) - Online Board
- Figma - (https://www.figma.com) - Prototyping
- Carbon - (https://carbon.now.sh) - Screenshot Code
- DBDiagram.io
- CodeSandbox
- Debug and Error Notification
- Rollbar - (https://rollbar.com) - Error Tracking Software
@cacaudev
cacaudev / Vscode JS Common Snippets
Created May 25, 2020 12:36
Must have snippets for JS
"Print to console": {
"scope": "javascript,typescript",
"prefix": "cls",
"body": [
"console.log('$1',$1);"
],
"description": "Log output to console"
}
@cacaudev
cacaudev / Tips for Docker on Windows + Rails
Last active March 4, 2019 12:40
Tips for Docker on Windows + Rails
Simple Dockerized Rails App
Observations for future setup references:
- Used Docker-Toolbox and VirtualBox to setup Docker.
- Docker Compose is already installed with Docker-Toolbox.
- Windows 10 Home used, only have one network adapter.