Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Developing cool stuff

Sergio Peris sertxudev

💻
Developing cool stuff
View GitHub Profile
@sertxudev
sertxudev / config.json
Created Apr 13, 2021
Tileserver GL - Configuration file
View config.json
{
"options": {
"paths": {
"root": "",
"fonts": "fonts",
"sprites": "sprites",
"styles": "styles",
"mbtiles": ""
},
"domains": [
@sertxudev
sertxudev / basic.json
Last active Apr 13, 2021
Tileserver GL - Basic style
View basic.json
{
"version": 8,
"id":"basic",
"name":"Basic",
"metadata":{
"openmaptiles:version":"3.x"
},
"sources":{
"openmaptiles": {
"type": "vector",
@sertxudev
sertxudev / countries.json
Last active Mar 17, 2020
Countries and States JSONs
View countries.json
[
{
"value": "AF",
"label": "Afghanistan",
"name": "Afghanistan"
},
{
"value": "AX",
"label": "Aland Islands",
"name": "Åland Islands"
@sertxudev
sertxudev / smb.conf
Created Dec 19, 2019
Fichero de configuración de Samba para un equipo miembro de un grupo Active Directory
View smb.conf
[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 Oct 17, 2019
Servicio servHoraMult
View servHoraMult.c
#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>
View binary-entry.css
.loader {
width: 350px;
height: 170px;
position: relative;
}
.loader::before, .loader::after {
content: "";
width: 0;
height: 0;