Skip to content

Instantly share code, notes, and snippets.

View kcubero27's full-sized avatar
🎮

Karen Cubero kcubero27

🎮
View GitHub Profile
@squarism
squarism / iterm2.md
Last active July 25, 2024 20:15
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@lalkmim
lalkmim / codility_solutions.txt
Last active April 25, 2024 21:47
Codility Solutions in JavaScript
Lesson 1 - Iterations
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/
Lesson 2 - Arrays
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/
Lesson 3 - Time Complexity
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/
@jaydenseric
jaydenseric / zeit-now-g-suite-setup.md
Created March 20, 2017 04:46
Zeit Now G Suite setup

Run each of the following lines, replacing yourdomain.com and codehere with your details:

now dns add yourdomain.com @ TXT google-site-verification=codehere
now dns add yourdomain.com @ MX ASPMX.L.GOOGLE.COM 1
now dns add yourdomain.com @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add yourdomain.com @ MX ALT4.ASPMX.L.GOOGLE.COM 10
@jacobtomlinson
jacobtomlinson / .gitignore_global
Created August 18, 2017 10:08
An example global gitignore file
# An example global gitignore file
#
# Place a copy if this at ~/.gitignore_global
# Run `git config --global core.excludesfile ~/.gitignore_global`
# Compiled source #
###################
*.com
*.class
*.dll
@jesugmz
jesugmz / initial-server-set-up-debian-8.md
Last active September 19, 2020 18:43
Initial server set up Debian 8, 9 and 10

Login as root

ssh root@<SERVER_IP>

Update packages

apt update && apt upgrade -y && apt install -y sudo

@gbraad
gbraad / README.md
Last active July 16, 2024 17:13
Buy Me a Coffee

Buy Me a Coffee

Using inlined HTML

Buy Me A Coffee

<a href="https://www.buymeacoffee.com/gbraad" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
@mort3za
mort3za / lighthouse.js
Created May 29, 2019 15:12
Run lighthouse programmatically for multiple pages
// yarn add --dev lighthouse cross-env
// in package.json:
// scripts: { "lighthouse-dev": "cross-env NODE_ENV=development node ./lighthouse.js",
// "lighthouse-prod": "cross-env NODE_ENV=production CHROME_FLAGS=--headless node ./lighthouse.js" }
const lighthouse = require('lighthouse')
const chromeLauncher = require('chrome-launcher')
const fs = require('fs')
const mode = process.env.NODE_ENV
const chromeFlags = '-headless'
@jesugmz
jesugmz / Deploy-Next.js-static-to-GitLab-pages.md
Last active April 9, 2024 14:33
Deploy Next.js static to GitLab pages

Deploy Next.js static to GitLab pages

Create a basic GitLab CI config:

$ cat .gitlab-ci.yml
image: node

before_script:
 - npm install
@tomtobac
tomtobac / jobs.txt
Last active June 11, 2024 14:56
resources I used for next job hunting
Job boards:
- Pallet (companies apply to you, request to join https://app.pallet.com/list/pragmatic-engineer/talent)
- https://weworkremotely.com/categories/remote-front-end-programming-jobs
- https://circular.io/c/baeb84/cabotvalloritomeu (nice offers)
- https://www.linkedin.com/jobs/
- https://app.otta.com/ (uk, europe startup jobs - highly recommended)
- https://remoteok.com/remote-front-end-jobs
- https://www.workatastartup.com/companies?demographic=any&expo=any&hasEquity=any&hasSalary=any&industry=any&interviewProcess=any&jobType=fulltime&layout=list-compact&remote=yes&role=eng&role_type=fe&sortBy=keyword&usVisaNotRequired=any (Ycombination job board, small companies and high salaries)
- https://angel.co/jobs
- https://www.getmanfred.com/portal (mostly spanish companies, salary is low but you can create your CV online which is quite nice)