Note Please make sure the eks kubernetes version you are using is 1.23 I had issues with the latest one(1.27)
brew install awscli
// ==UserScript== | |
// @name Prevent Youtube Scroll When Clicking Play Bar | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-12-10 | |
// @description try to take over the world! | |
// @author You | |
// @match https://*.youtube.com/watch* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== |
[class^="expandedFolderIconWrapper"]{ | |
box-sizing: border-box; | |
border: 1.5px dashed red; | |
background-color: aliceblue; | |
border-top-left-radius: 6px !important; | |
border-top-right-radius: 6px !important; | |
} | |
[class^="wrapper"][role="treeitem"], [class^="closedFolderIconWrapper"]{ | |
filter: grayscale(0.75) brightness(0.65) contrast(1.2) opacity(0.5); |
App is listening on http://localhost:5500 | |
Fetching stock data... | |
[2024-02-04T02:34:28.059Z] Warning: Error from HTTP request. AggregateError | |
[2024-02-04T02:34:28.059Z] Error: Failed to complete negotiation with the server: AggregateError | |
[2024-02-04T02:34:28.059Z] Error: Failed to start the connection: AggregateError | |
Connection error: AggregateError | |
at internalConnectMultiple (node:net:1114:18) | |
at afterConnectMultiple (node:net:1667:5) { | |
code: 'ECONNREFUSED', | |
[errors]: [ |
# Variables | |
filename='.env-list.txt' | |
backupdir='~/Documents/backups__/envfiles' | |
rm -rf $filename | |
find . -name '*.env' >> $filename | |
while IFS="" read -r p || [ -n "$p" ] | |
do | |
if [[ "._" == *"$p"* ]]; then |
import { HttpErrorResponse } from '@angular/common/http'; | |
import { throwError } from 'rxjs/internal/observable/throwError'; | |
export function errorHandler(error: HttpErrorResponse) { | |
return throwError(error); | |
} |
// module dependencies | |
var http = require('http'), | |
url = require('url'); | |
/** | |
* UrlReq - Wraps the http.request function making it nice for unit testing APIs. | |
* | |
* @param {string} reqUrl The required url in any form | |
* @param {object} options An options object (this is optional) |
sudo amazon-linux-extras install -y docker && sudo service docker start && \
sudo usermod -a -G docker ec2-user && \
sudo chkconfig docker on && \
sudo yum install -y git && \
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) \
-o /usr/local/bin/docker-compose && \
sudo chmod +x /usr/local/bin/docker-compose && \
docker-compose version && \
sudo reboot
import { ReactNode, useRef } from 'react' | |
import { Button, FormControl, FormErrorMessage, FormLabel, Icon, InputGroup } from '@chakra-ui/react' | |
import { useForm, UseFormRegisterReturn } from 'react-hook-form' | |
import { FiFile } from 'react-icons/fi' | |
type FileUploadProps = { | |
register: UseFormRegisterReturn | |
accept?: string | |
multiple?: boolean | |
children?: ReactNode |
#!/bin/bash | |
# | |
# NVM lazy loading script | |
# | |
# NVM takes on average half of a second to load, which is more than whole prezto takes to load. | |
# This can be noticed when you open a new shell. | |
# To avoid this, we are creating placeholder function | |
# for nvm, node, and all the node packages previously installed in the system | |
# to only load nvm when it is needed. |