By adding the lines below to your ~/.zshrc or ~/.bashrc you can use quick aliases to perform some firebase and aws commands.
# Undo last commit (If you haven't pushed)
alias gitz="git reset --soft HEAD~"| [ | |
| { "country": "Austria", "code": "AT" }, | |
| { "country": "Belgium", "code": "BE" }, | |
| { "country": "Bulgaria", "code": "BG" }, | |
| { "country": "Croatia", "code": "HR" }, | |
| { "country": "Cyprus", "code": "CY" }, | |
| { "country": "Czech Republic", "code": "CZ" }, | |
| { "country": "Denmark", "code": "DK" }, | |
| { "country": "Estonia", "code": "EE" }, | |
| { "country": "Finland", "code": "FI" }, |
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua and Barbuda | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
| // ==UserScript== | |
| // @name Remember to eat your food while watching Netflix | |
| // @namespace https://www.tarikguney.com | |
| // @version 0.1 | |
| // @description Kids watching cartoons on Netflix often forget to eat and chew their food, which drives parents crazy. You need to sit down with them and pause the video and remind them to eat their food. This script will automate that. | |
| // @author Tarik Guney | |
| // @match https://www.netflix.com/watch/* | |
| // @icon https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Netflix_icon.svg/1200px-Netflix_icon.svg.png | |
| // @grant none | |
| // ==/UserScript== |
Docker Caddy Wordpress
docker run --name <your_container_name> alpine/git <git_command>docker run -it --name <your_container_name> alpine/git <git_command>: Run with tty interactivedocker run -d --name couch -p 8091-8094:8091-8094 -p 11210:11210 couchbase: Run (e.g. a server) unattacheddocker cp container_name:/git/getting-started .: Copy files/folders between a container and the local filesystemdocker start <your_container_name>: Start a stopped containerdocker attach <your_container_name>: Attach to running containerExtract the downloaded drivers
sudo tar -xvjf r8152.53.56-2.15.0.tar.bz2 -C /usr/src/Create a DKMS.conf file
| use { useState } from 'react'; | |
| const Test = () => { | |
| const [tipAmount, setTipAmount] = useState(''); | |
| const handleKeypress = (e) => { | |
| if(!((e.keyCode > 95 && e.keyCode < 106) | |
| || (e.keyCode > 47 && e.keyCode < 58) | |
| || e.keyCode == 8)) { | |
| e.preventDefault(); // Let's stop this event. |
| #!/bin/bash | |
| # From https://github.com/LIAAD/yake#installing-docker | |
| # Install dependencies | |
| sudo apt-get update | |
| sudo apt-get install \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| software-properties-common |
| [ | |
| { | |
| "label": "Afghanistan", | |
| "value": "AF" | |
| }, | |
| { | |
| "label": "ร land Islands", | |
| "value": "AX" | |
| }, | |
| { |