This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Order #{{ $order->id }} Receipt</title> | |
</head> | |
<body style="font-family: 'Trebuchet MS', sans-serif; padding: 5px 0px;"> | |
<center> | |
<table border="0" cellpadding="0" cellspacing="0" class="section" style="margin: 20px 0px;" width="600"> | |
<tbody> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Parcel Sandbox</title> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<div id="app"> | |
<form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ACCESS_KEY = "3bfb07e6733e3b3f8a5bfcaec62438db"; | |
const PROFILE_ID = "838CBBDE-0461-4FCD-99AA-09D37E031010"; | |
const form = document.querySelector("#payment-form"); | |
const params = { | |
access_key: ACCESS_KEY, | |
profile_id: PROFILE_ID, | |
// transaction_uuid: uuidv4(), | |
transaction_uuid: "6401be2b09c0e", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import crypto from 'crypto'; | |
import { v4 as uuidv4 } from 'uuid'; | |
import axios from 'axios'; | |
const SECRET_KEY = ""; | |
const ACCESS_KEY = ""; | |
const PROFILE_ID = ""; | |
const sign = (data: string) => crypto.createHmac('sha256', SECRET_KEY).update(data).digest('base64'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill process on port - sudo kill -9 $(lsof -t -i:4200 -sTCP:LISTEN) | |
fix partition - ntfsfix /dev/sda8 | |
mount partition - sudo mount -t ntfs-3g -o rw /dev/sda8 /media/kevin | |
shorten cmd path - PROMPT_DIRTRIM=1 | |
docker system df | |
docker system prune --volumes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create bash file and input: | |
#!/bin/bash | |
echo "welcome" | |
ls | |
echo "this is the whole list of dir" | |
Read- read permission is assigned to 4 | |
Write- write permission is assigned to 2 | |
Execute- execute permission is assigned to 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://pm2.keymetrics.io/docs/tutorials/pm2-nginx-production-setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name example.com; | |
root /var/www/html/example.com/html; | |
index index.html index.htm; | |
client_max_body_size 10G; | |
location / { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.card-container .card:not(.highlight-card):hover { | |
transform: translateY(-3px); | |
box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35); | |
} | |
.card-container .card:not(.highlight-card):hover .material-icons path { | |
fill: rgb(105, 103, 103); | |
} |
NewerOlder