Skip to content

Instantly share code, notes, and snippets.

View sertxudev's full-sized avatar
💻
Developing cool stuff

Sergio Peris sertxudev

💻
Developing cool stuff
View GitHub Profile
@sertxudev
sertxudev / config.json
Created April 13, 2021 22:59
Tileserver GL - Configuration file
{
"options": {
"paths": {
"root": "",
"fonts": "fonts",
"sprites": "sprites",
"styles": "styles",
"mbtiles": ""
},
"domains": [
@sertxudev
sertxudev / basic.json
Last active April 13, 2021 22:53
Tileserver GL - Basic style
{
"version": 8,
"id":"basic",
"name":"Basic",
"metadata":{
"openmaptiles:version":"3.x"
},
"sources":{
"openmaptiles": {
"type": "vector",
@sertxudev
sertxudev / countries.json
Last active December 16, 2021 10:15
Countries and States JSONs
[
{
"value": "AF",
"label": "Afghanistan",
"name": "Afghanistan"
},
{
"value": "AX",
"label": "Aland Islands",
"name": "Åland Islands"
@sertxudev
sertxudev / smb.conf
Created December 19, 2019 09:27
Fichero de configuración de Samba para un equipo miembro de un grupo Active Directory
[global]
security = ads
realm = DOMINIO.CLASE.ASO
server string = memberserver
password server = 10.0.0.1
workgroup = DOMINIO
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
@sertxudev
sertxudev / servHoraMult.c
Last active October 17, 2019 07:37
Servicio servHoraMult
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
.loader {
width: 350px;
height: 170px;
position: relative;
}
.loader::before, .loader::after {
content: "";
width: 0;
height: 0;