PHP klein config for a basic API routing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://askubuntu.com/questions/627899/nameserver-127-0-1-1-in-resolv-conf-wont-go-away | |
NetworkManager is the program which (via the resolvconf utility) inserts address 127.0.1.1 into resolv.conf. NM inserts that address if an only if it is configured to start an instance of the dnsmasq program to serve as a local forwarding nameserver. That dnsmasq instance listens for queries at address 127.0.1.1. | |
If you do not want to use a local forwarding nameserver then configure NetworkManager not to start a dnsmasq instance and not to insert that address. In /etc/NetworkManager/NetworkManager.conf comment out the line dns=dnsmasq | |
sudo nano /etc/NetworkManager/NetworkManager.conf | |
[main] | |
plugins=ifupdown,keyfile,ofono |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadataBlocks": { | |
"citation": { | |
"fields": [{ | |
"typeName": "title", | |
"multiple": false, | |
"value": "Manual para la evaluacion agronomica", | |
"typeClass": "primitive" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("Content-type: text/plain"); | |
require 'vendor/autoload.php'; | |
use PhpOffice\PhpSpreadsheet\Spreadsheet; | |
use PhpOffice\PhpSpreadsheet\IOFactory; | |
use Monolog\Logger; | |
use Monolog\Handler\StreamHandler; |
- Rentkit - Directory & Listing Bootstrap 5 Theme - Sito - Demo
- Cuba- Bootstrap 4 & 5 HTML, React, Angular 11, VueJS & Laravel Admin Dashboard Template - Sito - Demo
- Porto - Responsive HTML5 Template - Sito - Demo
- Pages - Admin Dashboard Template - Sito - [Demo](https://themeforest.net/item/pages-admin-dashboard-template-w
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
is_alive_ping() | |
{ | |
ping -b -c 1 $1 > /dev/null | |
[ $? -eq 0 ] && echo Node with IP: $i is up. | |
} | |
for i in 192.168.{1..255}.{1..255} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# One liner | |
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
# Explained | |
wget \ | |
--recursive \ # Download the whole site. | |
--page-requisites \ # Get all assets/elements (CSS/JS/images). | |
--adjust-extension \ # Save files with .html on the end. | |
--span-hosts \ # Include necessary assets from offsite as well. | |
--convert-links \ # Update links to still work in the static version. |
Please check-out this sample and grant us a Ninux map update... 🙏🙏🙏
We are ninuxers that want to use the map on http://map.ninux.org/ but we dislike the authority control
This is a base working FOSS HTML > Leaflet + .geojson
map.
Use this for all your projects, but please update the Ninux Map
@see https://gis.stackexchange.com/questions/68489/loading-external-geojson-file-into-leaflet-map
OlderNewer