Skip to content

Instantly share code, notes, and snippets.

View acfatah's full-sized avatar
🎯
Focusing

Achmad F. Ibrahim acfatah

🎯
Focusing
View GitHub Profile
@acfatah
acfatah / node-sample.js
Created May 13, 2022 00:36 — forked from gus3inov/node-sample.js
get battery info with node.js
const http = require('http');
const PORT = Number(process.argv[2]) || 8080;
const child_process = require('child_process');
const Routes = {
BATTERY: /\/battery\/?/
};
const Status = {
NOT_FOUND: 404,
@acfatah
acfatah / vim-shortcuts.md
Created June 17, 2021 09:16 — forked from tuxfight3r/vim-shortcuts.md
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@acfatah
acfatah / github markdown syntax.md
Last active September 23, 2020 00:35 — forked from MinhasKamal/github markdown syntax.md
Markdown Syntax for GitHub.

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this->anything()