Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
https://github.com/ansible/awx |
Jenkinsfile VIM syntax highlighting | |
echo 'au BufNewFile,BufRead Jenkinsfile setf groovy' >> ~/.vimrc |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="┌─\[\e[1;32m\]\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] | |
└─🦄──>\\$ " | |
My perfect desktop - Debian 9 (Streach) | |
####################################### | |
Installation image: | |
------------------- | |
Download non-free version of debian ISO file from below link. Don't download version 9.0.0 as it contain bug which won't allow you to install on a disk. I choose to download LXDE desktop as it consumens less memory, responsive and perfectly OK for me. | |
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/ | |
Enable sudo and root user account and password: | |
----------------------------------------------- |
What worked for me (Ubuntu 16.04, mysql 5.7): | |
Stop MySQL | |
sudo service mysql stop | |
Make MySQL service directory. | |
sudo mkdir /var/run/mysqld | |
Give MySQL user permission to write to the service directory. |
#!/usr/env python | |
############################################################################################################### | |
## [Title]: pcilinuxhecker.py | |
## [Author]: Richardson Lima (hash1d) -- @zenedge | |
# Usage: ssh user@ip python -u - < ./cron-checker.py | |
# conditional import for older versions of python not compatible with subprocess | |
try: | |
import subprocess as sub |
version: '2' | |
services: | |
app: | |
image: richardsonlima/nginx:v1 | |
container_name: nginx-default | |
ports: | |
- 9000:80 | |
volumes: | |
- ./website:/usr/share/nginx/html | |
depends_on: |
<?php | |
//class docs: http://www.orderingdisorder.com/aws/ses/ | |
require_once('ses.php'); | |
//get credentials at http://aws.amazon.com My Account / Console > Security Credentials | |
$ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY'); | |
$m = new SimpleEmailServiceMessage(); |
wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/cuda_7.0.29_mac.pkg | |
sudo installer -pkg cuda_7.0.29_mac.pkg -target / | |
// once cpp-ethereum 0.9.23 is released on homebrew you do not need to build from source | |
brew update | |
brew tap ethereum/ethereum | |
brew reinstall cpp-ethereum --with-gpu-mining --devel --build-from-source | |
// or build from source: | |
// cd cpp-ethereum | |
// cmake -DETHASHCL=1 -DGUI=0 | |
// make -j8 |