Skip to content

Instantly share code, notes, and snippets.

View xjeeh's full-sized avatar

Jefferson Santos xjeeh

View GitHub Profile
@xjeeh
xjeeh / .gitignore
Created August 7, 2023 03:37
Gitignore
**/node_modules
**/package-lock.json
**/build
/.pnp
.pnp.js
# testing
/coverage
@xjeeh
xjeeh / .gitconfig
Last active June 15, 2023 18:51
Git aliases
[user]
email = xjeehz@gmail.com
name = Jefferson Santos
[alias]
lazy = "!f() { git add .; git commit --amend --no-edit; git push -f origin HEAD; }; f"
delete-all = "!f() { git branch | grep -v 'develop' | grep -v 'master' | xargs git branch -D; }; f"
[init]
defaultBranch = main
@xjeeh
xjeeh / a.md
Last active June 15, 2023 16:46
Toggle Ornn Items visibility at lolshop.gg

Instructions

  • Install the User JavaScript and CSS chrome extension (or something similar in your favorite browser)

  • Add the following snippets into the extension.

  • If everthing works as expected you will see an Ornn icon in the tabs:

@xjeeh
xjeeh / styledComponent disableVendorPrefixes in Dev
Created March 13, 2023 03:51
styledComponent disableVendorPrefixes in Dev
// App.tsx
const isDev = process.env.NODE_ENV === "development";
<StyleSheetManager disableVendorPrefixes={isDev}>
<App/>
<StyleSheetManager />
@xjeeh
xjeeh / file.js
Last active March 7, 2023 04:01
Styled Component Media Query
import styled from "styled-components";
import media from "./media";
export const TitleContainer = styled.div`
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 3rem;
${media.desktop`
height: 245px;
@xjeeh
xjeeh / ssh keygen.txt
Last active May 9, 2022 00:13
SSH Keys Generate
ssh-keygen
cat ~/.ssh/id_rsa.pub | clip // Powershell
cd ~/.ssh
ssh-add id_rsa
PowerShell
Set-ExecutionPolicy RemoteSigned
externo
git-posh
https://github.com/dahlbyk/posh-git
PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
Import-Module posh-git
Add-PoshGitToProfile