Skip to content

Instantly share code, notes, and snippets.

View amenpunk's full-sized avatar
🌌

Edgar Rolando Cosajay Campos amenpunk

🌌
View GitHub Profile
id nombre
1 Alta Verapaz
2 Baja Verapaz
3 Chimaltenango
4 Chiquimula
5 El Progreso
6 Escuintla
7 Guatemala
8 Huehuetenango
9 Izabal
configure php xdebug on nvim
php.ini
zend_extension=xdebug
xdebug.mode = debug
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal
xdebug.client_port=9000
version: "2.1"
services:
busybox1:
image: busybox
command: ping 172.17.255.255 -s 65500
network_mode: bridge
busybox2:
image: busybox
command: ping 172.17.255.255 -s 65500
function loadJsonAsObjectfromFile() {
var fs = require('fs');
var jsonData = fs.readFileSync('data.json');
// var jsonData = fs.readFileSync('inter.json');
return JSON.parse(jsonData);
}
function writeJsonToFile(jsonData) {
var fs = require('fs');
fs.writeFileSync('out.json', JSON.stringify(jsonData, null, 2));