Skip to content

Instantly share code, notes, and snippets.

View peterlozano's full-sized avatar

Pedro Lozano peterlozano

View GitHub Profile

Keybase proof

I hereby claim:

  • I am peterlozano on github.
  • I am peterlozano (https://keybase.io/peterlozano) on keybase.
  • I have a public key whose fingerprint is 36F0 13D0 FF2B A37F F269 CB29 29B9 A9F6 5110 D287

To claim this, I am signing this object:

#!/bin/sh
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80
export PATH := ./node_modules/.bin:$(PATH)
build: prebuild scripts styles markup
clean:
rimraf dist/*
prebuild: clean
scripts:
### Keybase proof
I hereby claim:
* I am peterlozano on github.
* I am peterlozano (https://keybase.io/peterlozano) on keybase.
* I have a public key whose fingerprint is A6E0 5BEA C349 D8CA E822 35E9 D10C 6EF3 BEA1 7A70
To claim this, I am signing this object:
@peterlozano
peterlozano / index.html
Created October 1, 2014 09:13
Drupalcon Amsterdam 2014 Video list
<html>
<head>
<meta charset="UTF-8">
<title>DC Amsterdam Videos</title>
<script src="//underscorejs.org/underscore-min.js"></script>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
</head>
<body>
<script id="tmpl-videos" type="text/template">
@peterlozano
peterlozano / clearvarnish.sh
Created August 21, 2014 22:00
Clear the varnish cache in Azure.
#!/bin/sh
# Set this to the ssh key that you use with azure.
ssh-add ~/.ssh/bsp_rsa
# "azure" is a .ssh/config alias with all the host data.
ssh azure "sudo varnishadm 'ban.url .*'"
@peterlozano
peterlozano / Readme.md
Last active August 29, 2015 14:05
D3.js + Angular.js Demo.

Demo of how to create an Angular.js directive which provides a d3.js visualization.

The data used by the visualisation is provided by a controller and is synced by Angular.

@peterlozano
peterlozano / Makefile
Last active November 3, 2020 00:46
Los Angeles Neighborhoods Map.
all: la.json
# Compose general json
la.json: la_county_neighborhoods_current.geojson
topojson \
-o la.json \
--id-property external_id \
--properties name=external_id \
-- \
la_county_neighborhoods_current.geojson
@peterlozano
peterlozano / index.html
Last active August 29, 2015 14:04
Logo animation
<!DOCTYPE html>
<html>
<head>
<title>Logo animation</title>
<script src="//d3js.org/d3.v3.min.js"></script>
<meta charset="utf-8">
</head>
<body>
</body>
<script src="index.js"></script>
@peterlozano
peterlozano / Makefile
Last active August 29, 2015 14:04
Leaflet + d3.js. Cádiz Map.
all: cadiz.json
cadiz.json: ca_manzanas.json
topojson \
-o cadiz.json \
--id-property ID_MANZ \
--properties muni=INE_MUN \
-- \
ca_manzanas.json