Skip to content

Instantly share code, notes, and snippets.

View adg29's full-sized avatar
📱

Alan Garcia adg29

📱
View GitHub Profile
@nbremer
nbremer / .block
Last active January 30, 2018 13:15
Animated gradient - Simple rectangle
height: 140
@piensaenpixel
piensaenpixel / readme.md
Last active January 2, 2017 18:09
Design Webinar Part 1: Airport Traffic

Create a Basemap

First, we will create a simple basemap that we can use to display the airport traffic information on top of

Add the data

  • From your Maps dashboard, click on NEW MAP
  • In the Add datasets dialogue, search for world borders to find the World Borders (High Definition) dataset available in the CartoDB Library
  • Once located, click to highlight, and then click CREATE MAP which will sync the layer to your account from the CartoDB Library and also add it to our map

Style the Background

The default basemap is Positron to change that, let's change the background color of the map

@ggirtsou
ggirtsou / command
Created March 12, 2016 07:40
Use ffmpeg to fix mp4 files with no sound on mobile device
# 1. cd to your directory containing mp4 files first
# 2. will scan for mp4 files in that directory
# 3. will output new .mp4 file in parent directory with same name as original
for i in *.mp4; do ffmpeg -i "$i" -c:v copy -c:a libfdk_aac -b:a 384k ../"$i"; done;
@wboykinm
wboykinm / index.html
Created June 22, 2015 17:56
Map Labels above a CartoDB torque layer
<!DOCTYPE html>
<html>
<head>
<title>Sale Date</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<style>
html, body, #map {
height: 100%;
padding: 0;
webdriverReattach = require './webdriverReattach'
webdriverReattach.captureBrowser()
exports.config =
seleniumAddress: 'http://localhost:4444/wd/hub'
@glen-cheney
glen-cheney / encoding-video.md
Last active November 24, 2024 10:09
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@bsmithgall
bsmithgall / open-vis.md
Last active August 29, 2015 14:19
Open Vis Notes
@benshimmin
benshimmin / pathformer.js
Last active January 24, 2024 06:54
Turn Vivus' pathformer into a tiny CLI utility

You need Node, obviously, and JSDom. Then use it like this:

$ ./pathformer.js test.svg > test.out.svg

@amrit
amrit / README.md
Last active August 29, 2015 14:13
US State Emissions Choropleth

US State Emissions Choropleth

@kiwanami
kiwanami / calfw-git.el
Last active August 14, 2023 16:27
Calendar view for git-log
;;; calfw-git.el --- calendar view for git-log
;; Copyright (C) 2014 SAKURAI Masashi
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net>
;; Keywords: calendar
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or