Skip to content

Instantly share code, notes, and snippets.

View shelooks16's full-sized avatar
🍌
Focusing

AndrewB shelooks16

🍌
Focusing
View GitHub Profile
@shelooks16
shelooks16 / .eslintrc
Last active March 8, 2024 05:15
BoxOffice React
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier"
],
"plugins": ["react-hooks"],
"env": {
"browser": true
@shelooks16
shelooks16 / .eslintrc
Last active February 21, 2024 15:33
TicTacToe React
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier"
],
"env": {
"browser": true
},
@shelooks16
shelooks16 / .eslintrc
Last active March 27, 2023 17:50
Tic Tac Toe
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier"
],
"env": {
"browser": true
},
@shelooks16
shelooks16 / .prettierrc
Created September 10, 2021 22:40
Prettier
{
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "always"
}
@shelooks16
shelooks16 / settings.json
Created September 7, 2021 20:56
Vscode configuration
{
// security trust window, open = not shown
"security.workspace.trust.untrustedFiles": "open",
// configure git-bash (windows-only for git-bash users)
"terminal.integrated.profiles.windows": {
"Git Bash": {
"path": "C:\\Program Files\\Git\\bin\\bash.exe",
"args": ["-l", "-i"]
}
@shelooks16
shelooks16 / file
Last active August 14, 2021 21:01
Setup windows environment for React-Native/Flutter development WITHOUT installing Android Studio
-------HYPER-V----------
Make sure HYPER-V is enabled.
1. Go to Control Panel\Programs\Programs and Features -> Turn Windows features on or off
2. Check Windows Hypervisor Platform
3. Launch BIOS
4. Enable Virtualization Technology in BIOS and Hardware Enforced Data Execution Prevention
5. Restart PC
-----JDK-----
@shelooks16
shelooks16 / ssh_agent.sh
Created July 21, 2019 10:52
SSH agent management for windows
function addkey() {
# path to agent file with env vars
env=~/.ssh/agent.env
# path to RSA private key
key=~/id_rsa
agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; }
agent_start () { (umask 077; ssh-agent >| "$env") && . "$env" >| /dev/null ; }
# ssh-add return value: 0=running w/ key; 1=running w/o key; 2=not running
@shelooks16
shelooks16 / Media Queries
Created June 21, 2018 22:14
breakponts all types for media queries
/* smartphones, iPhone, portrait 480x320 phones */
/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
/* tablet, landscape iPad, lo-res laptops ands desktops */
/* big landscape tablets, laptops, and desktops */
/* hi-res laptops and desktops */
@media (min-width:320px) {}
@media (min-width:481px) {}
@media (min-width:641px) {}
@media (min-width:961px) {}