This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
import { people01, people02, people03, facebook, instagram, linkedin, twitter, airbnb, binance, coinbase, dropbox, send, shield, star } from "../assets"; | |
export const navLinks = [ | |
{ | |
id: "home", | |
title: "Home", | |
}, | |
{ | |
id: "features", | |
title: "Features", |
# ------------------- Dashboard Secret ------------------- # | |
# ------------------- Dashboard Secret ------------------- # | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
labels: | |
k8s-app: kubernetes-dashboard | |
name: kubernetes-dashboard-certs |
Hi All! | |
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly whatβs happening and learn from it. | |
Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
App Description: | |
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
# Source: https://stackoverflow.com/questions/8199231/how-to-setup-mass-dynamic-virtual-hosts-in-nginx | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
# Match any server name with the format [subdomain.[.subdomain...]].domain.tld.dev | |
server_name ~^(?<subdomain>([\w-]+\.)*)?(?<domain>[\w-]+\.[\w-]+)\.dev$; | |
# Map by default to (projects_root_path)/(domain.tld)/www; |
import sys | |
import requests | |
from bs4 import BeautifulSoup, SoupStrainer | |
home_url = 'https://parivahan.gov.in/rcdlstatus/' | |
post_url = 'https://parivahan.gov.in/rcdlstatus/vahan/rcDlHome.xhtml' | |
# Everything before the last four digits: MH02CL | |
first = sys.argv[1] | |
# The last four digits: 0555 | |
second = sys.argv[2] |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Paste image from clipboard in Chrome</title> | |
<script src="http://code.jquery.com/jquery-1.8.3.js"></script> | |
<script> | |
//plugin for pasting from https://gist.github.com/STRd6/5286415 | |
(function($) { | |
// plugin by STRd6 |