- Go to: 'System Preferences' >> 'MySQL' and stop MySQL
OR,
- sudo /usr/local/mysql/support-files/mysql.server start
- sudo /usr/local/mysql/support-files/mysql.server stop
def jobName = "copy_folder" | |
def job = Jenkins.instance.getItem(jobName) | |
job.getBuilds().each { it.delete() } | |
job.nextBuildNumber = 1 | |
job.save() |
import psutil | |
# main function | |
def sysStats(): | |
agg = {} | |
agg['posix_processes'] = _posixProcesses() | |
agg['windows_processes'] = _windowsProcesses() | |
agg['battery_info'] = _batteryInfo() | |
agg['cpu_info'] = _cpuInfo() | |
agg['mem_info'] = _memInfo() |
FROM ubuntu:focal | |
RUN apt -y update && \ | |
apt -y upgrade && \ | |
apt-get -y install git build-essential bison && \ | |
git clone https://github.com/nimble-code/Cobra.git && \ | |
cd Cobra/src && \ | |
make install_linux && \ | |
cd .. && \ | |
d=$(pwd) && \ |
# r2-ghidra-docker | |
# ================ | |
# | |
# Requires 2.5GB of free disk space | |
# | |
# Using debian 9 as base image. | |
FROM debian:9 | |
# Label base |
from pathlib import Path | |
import os | |
x = { | |
'main': { | |
'header': None, | |
'splash': None, | |
'staticlayout': None, | |
'boardslayour': None, | |
'search': None, |
curl -T my-local-file.txt ftp://ftp.example.com --user user:secret |
Install HAProxy from Homebre: | |
`brew install haproxy` | |
For full reference: | |
https://serversforhackers.com/load-balancing-with-haproxy |
package singleton | |
import ( | |
"sync" | |
) | |
type singleton struct { | |
} | |
var instance *singleton |
atherton, california | |
scarsdale, new york | |
cherry hills village, colorado | |
los altos hills, california | |
hillsborough, california | |
short hills, new jersey | |
highland park, texas | |
darien, connecticut | |
bronxville, new york | |
glencoe, illinois |