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!
emacs --daemon to run in the background.
emacsclient.emacs24 <filename/dirname> to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/C-?M-c
2. Upper Case : M-uM-lNow I'm going to list how to publish an Android libray to jCenter and then syncronize it with Maven Central:
I use "Android Studio" and I have this simple android lib that I would like to be available on maven: CircularImageView
In the library folder(module) I have the lib code abovementioned. And applying in the build.gradle of this folder apply plugin: 'com.android.library' I got as output an .aar in the build/outputs/aar/ directory of the module's directory
| protected void setupParent(View view) { | |
| //Set up touch listener for non-text box views to hide keyboard. | |
| if(!(view instanceof EditText)) { | |
| view.setOnTouchListener(new View.OnTouchListener() { | |
| public boolean onTouch(View v, MotionEvent event) { | |
| hideSoftKeyboard(); | |
| return false; | |
| } | |
| }); | |
| } |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "net/http" | |
| ) | |
| type test_struct struct { | |
| Test string |
| LOGGING = { | |
| 'handlers': { | |
| 'logstash': { | |
| 'level': 'DEBUG', | |
| 'class': 'logstash.LogstashHandler', | |
| 'host': 'localhost', | |
| 'port': 5000, # Default port of logstash | |
| 'version': 1, # Version of logstash event schema. Default value: 0 (for backward compatibility of the library) | |
| 'message_type': 'logstash', # 'type' field in logstash message. Default value: 'logstash'. | |
| 'fqdn': False, # Fully qualified domain name. Default value: false. |
export DOCKER_REGISTRY_SERVER=https://index.docker.io/v1/
export DOCKER_USER=Type your dockerhub username, same as when you `docker login`
export DOCKER_EMAIL=Type your dockerhub email, same as when you `docker login`
export DOCKER_PASSWORD=Type your dockerhub pw, same as when you `docker login`
export SECRETNAME=acmeorg
| # see https://github.com/cmaessen/docker-php-sendmail for more information | |
| FROM php:fpm | |
| RUN apt-get update && apt-get install -q -y ssmtp mailutils && rm -rf /var/lib/apt/lists/* | |
| RUN docker-php-ext-install mysql mysqli | |
| RUN echo "hostname=localhost.localdomain" > /etc/ssmtp/ssmtp.conf | |
| RUN echo "root=root@example.com" >> /etc/ssmtp/ssmtp.conf |
| package main | |
| import ( | |
| "crypto/md5" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| "path/filepath" |