Skip to content

Instantly share code, notes, and snippets.

View alexfuser's full-sized avatar

Alejandro Gómez alexfuser

View GitHub Profile
@jqn
jqn / basic_flask.md
Created March 1, 2020 07:27
Basic Flask start

Getting started with Flask

Prerequisites

  • Install Python Mac OS comes with python 2 installed but this tutorial uses python 3. Install it with homebrew

  • $ brew install python3

  • Create a directory for your app

    • $ mkdir micro_services
  • Install virtualenv

@Klerith
Klerith / plugins.md
Last active June 28, 2024 16:42
Flutter: Curso de Flutter - Instalaciones recomendadas

Programas

git config --global user.name "Tu nombre"
git config --global user.email "Tu correo"
title minutes views
React State Management (P5D58) - Live Coding with Jesse 8 826
React Infinite Scroll (P5D57) - Live Coding with Jesse 23 1166
Working with React Components Part 2 (P5D56) - Live Coding with Jesse 19 726
Coding for a Swedish Startup - a day in the life of Amber Wilkie 9 2744
Working with React Components (P5D55) - Live Coding with Jesse 2 1162
Basic CSS Styling Part 2 (P5D54) - Live Coding with Jesse 45 1704
Writing Secure JavaScript 24 3265
Learn HTML5 - full course with code samples 52 11540
Basic CSS Styling (P5D53) - Live Coding with Jesse 39 2522
@giansalex
giansalex / docker-php-ext-install.md
Last active June 18, 2024 08:44
docker-php-ext-install Reference
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ 
@AdaRoseCannon
AdaRoseCannon / HTMLElementPlus.js
Last active March 3, 2023 11:33
HTML Element Plus for Web Components
'use strict';
class HTMLElementPlus extends HTMLElement {
static defaultAttributeValue() {
/* the name of the attribute is parsed in as a parameter */
return;
}
static parseAttributeValue(name, value) {
Firefox Developer Edition
Google Chrome
Xcode
Fabric
Android Studio
Genymotion
Expo
Visual Studio Code
Evernote
@ramiroaznar
ramiroaznar / README.md
Last active August 16, 2021 17:38
Create layer, add two sublayers and get sublayers

How to use createLayer, add two sublayers and get them as variables for future uses. Click on "Open" and open the Developers Tools Console. It should display two objects for the two layers or CartoDBSubLayers. Based on Oriol's sublayers order cartodb createLayer block.

@d3noob
d3noob / 2013-earthquake.js
Last active August 17, 2021 20:51
Leaflet.heat plugin for leaflet.js
// This earthquake data is sourced from New Zealand’s Geonet
// site over a date range that covers a period of reasonable
// activity in July/August 2013.
var quakePoints = [
[-41.5396,174.1242,1.7345],
[-38.8725,175.9561,2.6901],
[-41.8992,174.3117,4.6968],
[-41.7495,174.02,1.8642],
[-41.7008,174.0876,2.1629],
[-41.7371,174.0682,2.0408],
@kerimdzhanov
kerimdzhanov / random.js
Last active June 25, 2024 19:41
JavaScript: get a random number from a specific range
/**
* Get a random floating point number between `min` and `max`.
*
* @param {number} min - min number
* @param {number} max - max number
* @return {number} a random floating point number
*/
function getRandomFloat(min, max) {
return Math.random() * (max - min) + min;
}
@aaizemberg
aaizemberg / d3.js para principiantes
Last active March 22, 2023 19:49
d3.js para principiantes
Ariel Aizemberg
@aaizemberg ( https://twitter.com/aaizemberg )
http://www.linkedin.com/in/arielaizemberg
Introducción
Que es D3
Quién creó esta librería
Mirar algunos ejemplos de la galería
https://github.com/mbostock/d3/wiki/Gallery