Skip to content

Instantly share code, notes, and snippets.

View danielquisbert's full-sized avatar
😁
available

DaNi danielquisbert

😁
available
View GitHub Profile
@danielquisbert
danielquisbert / Key_starUML.md
Last active October 9, 2025 16:00
Key para starUML
@danielquisbert
danielquisbert / basemaps_ggl.md
Created October 6, 2017 16:24
basemaps using tiles

You don't need a plugin or the Google API, you can add it as a XYZ tile layer.

Streets

googleStreets = L.tileLayer('http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}',{ maxZoom: 20, subdomains:['mt0','mt1','mt2','mt3'] });

@danielquisbert
danielquisbert / configurar_2_monitores.md
Created January 11, 2018 16:06
problema para reconocer dos monitores y resoluciones

problema:

al reinstalar el equpo (debian 9) paso que no reconoce el segundo monitor sólo como uno, para solucionar se instalo:

pt-get install xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-modesetting firmware-linux-nonfree

y luego reiniciar

@danielquisbert
danielquisbert / configure-proxy-for-git.md
Last active March 20, 2018 15:14
Solution to error proxy git

example error:

$ git push origin master

fatal: unable to access 'https://urlgit/repo.git/': Failed to connect to gitlab.com port 443: Conexión rehusada

Solution:

@danielquisbert
danielquisbert / imageFromBase64.dart
Last active November 12, 2022 03:15
Hack para guardar o convertir imagen en base 64
FutureBuilder(
future: getImageBase64(),
initialData: ObjectClass, // puede ser String
builder: (BuildContext context, AsyncSnapshot<GeneraQRModel> snapshot) {
if (snapshot.hasData) {
final data = snapshot.data!;
if (snapshot.connectionState == ConnectionState.done) {
String uri = 'data:image/png;base64,${data!['imageBase64']}';