I hereby claim:
- I am novalagung on github.
- I am novalagung (https://keybase.io/novalagung) on keybase.
- I have a public key whose fingerprint is 6B3B A7C9 6566 2EF0 FFBF 566D 90F4 405F F0FE 1DD5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.sam016.vsflatomation.service.ble; | |
import java.util.HashMap; | |
import java.util.UUID; | |
public class AllGattCharacteristics { | |
private static HashMap<String, String> attributes = new HashMap(); | |
static { | |
attributes.put("00002a00-0000-1000-8000-00805f9b34fb", "Device Name"); |
# install development dependencies | |
yum groupinstall -y 'Development Tools' | |
yum install -y curl git | |
# install go toolchain | |
export GOROOT_BOOTSTRAP=/usr/local/go1.4 | |
curl -O https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz | |
tar -zxf go1.4.3.linux-amd64.tar.gz && mv go ${GOROOT_BOOTSTRAP} | |
# obtain go source code |
package controllers | |
import ( | |
"github.com/eaciit/knot/knot.v1" | |
"github.com/eaciit/toolkit" | |
) | |
type WorldController struct { | |
} |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: my-app-deployment5 | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
name: my-app5 | |
template: |
CREATE DATABASE IF NOT EXISTS hello_world; | |
USE hello_world; | |
CREATE TABLE IF NOT EXISTS users ( | |
id int NOT NULL AUTO_INCREMENT, | |
first_name VARCHAR(255) NOT NULL, | |
last_name VARCHAR(255), | |
birth DATETIME, | |
PRIMARY KEY (id) | |
); |
#!/bin/bash | |
go test -coverprofile=coverage.out ./... | |
go tool cover -html=coverage.out |
transpile es6 into es5 using babel cli.
first install required packages globally.
npm install -g @babel/core @babel/node @babel/preset-env @babel/cli
then use command below to perform transpilation.
NOTE
You may not need local branches for all pull requests in a repo.
To fetch only the branch that you need, use Fetch and delete refs to GitHub pull request branches
If you do for some reason need all pull request branches locally, continue on.
# list stuff with it's security context | |
ls -lrtZ | |
# then adjust the security context using chcon | |
sudo chcon -v --user=system_u ride-dev | |
sudo chcon -R -v --type=httpd_sys_content_t ride-dev/* | |
semanage port -l | grep http | |
semanage port -a -t http_port_t -p tcp 8085 |