Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |
@echo off | |
set /p domain="Enter Domain: " | |
set OPENSSL_CONF=../conf/openssl.cnf | |
if not exist .\%domain% mkdir .\%domain% | |
..\bin\openssl req -config cert.conf -new -sha256 -newkey rsa:2048 -nodes -keyout %domain%\server.key -x509 -days 3650 -out %domain%\server.crt | |
echo. | |
echo ----- |
[ req ] | |
default_bits = 2048 | |
default_keyfile = server-key.pem | |
distinguished_name = subject | |
req_extensions = req_ext | |
x509_extensions = x509_ext | |
string_mask = utf8only | |
[ subject ] |
# search (regex) | |
git grep "regex" | |
# list all branches | |
git branch -a | |
# list remote branches | |
git branch -r | |
# checkout an branch on remote |
#!/bin/bash | |
export TERM=xterm; | |
clear; | |
echo " "; | |
echo "---------------------------------------------"; | |
echo " START | "$(date +%m.%d.%Y-%H.%M.%S); | |
echo "---------------------------------------------"; | |
#create db dump for all databases |
Question: | |
I work on a WordPress site where the authors usually embed Google Maps using iFrames in most posts. | |
Is there a way to disable the zoom via mouse scroll wheel on all of them using Javascript? | |
Solution: | |
I was having the same problem: when scrolling the page then the pointer becomes over the map, | |
it starts to zoom in/out the map instead of continuing scrolling the page. :( |
class Main { | |
public static void main(String[] args) { | |
System.out.println("Francisco Cruz"); | |
System.out.println("This morning I came from North Bergen, NJ"); | |
System.out.println("I took a Bus to Porth Authority on 42nd Street, and then"); | |
System.out.println("I took the Seven Train to 33rd Street."); | |
System.out.println("I learned to code my first program in Java"); | |
System.out.println("I hope to learn to master Java everyday"); | |
} | |
} |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |