See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
package main | |
import ( | |
"fmt" | |
syscall "golang.org/x/sys/unix" | |
) | |
type DiskStatus struct { | |
All uint64 `json:"all"` | |
Used uint64 `json:"used"` |
# docker build -t ruby-1.8.7 . | |
# docker run -it --rm ruby-1.8.7 | |
FROM ubuntu:16.04 | |
WORKDIR /root | |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y ruby-build autoconf subversion bison | |
RUN apt install -y mecab mecab-ipadic-utf8 wget |
/***************************************** | |
/* DOM touch support module | |
/*****************************************/ | |
if (!window.CustomEvent) { | |
window.CustomEvent = function (event, params) { | |
params = params || { bubbles: false, cancelable: false, detail: undefined }; | |
var evt = document.createEvent('CustomEvent'); | |
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); | |
return evt; | |
}; |
#include <stdio.h> | |
#include <sys/statvfs.h> | |
int main(int argc, const char *argv[]) | |
{ | |
const unsigned int GB = (1024 * 1024) * 1024; | |
struct statvfs buffer; | |
int ret = statvfs(argv[1], &buffer); |