Skip to content

Instantly share code, notes, and snippets.

View riccardoscalco's full-sized avatar
🐢
Thinking slowly

Riccardo Scalco riccardoscalco

🐢
Thinking slowly
View GitHub Profile
@riccardoscalco
riccardoscalco / Ruler and compass construction of a pentagon.markdown
Created June 8, 2015 14:55
Ruler and compass construction of a pentagon
@riccardoscalco
riccardoscalco / Multiple charts with flexbox.markdown
Last active August 29, 2015 14:22
Multiple charts with flexbox
@riccardoscalco
riccardoscalco / Outset of a d3 chart.markdown
Last active August 29, 2015 14:22
Outset of a d3 chart
@riccardoscalco
riccardoscalco / Edges of a network.markdown
Last active August 29, 2015 14:22
Edges of a network
@riccardoscalco
riccardoscalco / index.html
Created June 19, 2015 08:57
power distribution
<div id="box">
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://raw.githubusercontent.com/riccardoscalco/textures/master/textures.min.js"></script>
@riccardoscalco
riccardoscalco / file.md
Created July 15, 2015 06:44
Git: revert to an older commit. Get your index and work tree into the desired state, without changing HEAD. http://stackoverflow.com/questions/4114095/revert-to-a-previous-git-commit
$ git checkout 0d1d7fc32 .
$ git commit -m "revert to older commit"
$ git push origin master
@riccardoscalco
riccardoscalco / updates.md
Last active August 29, 2015 08:30
Updates archlinux, ruby, python and npm packages

update archlinux packages

sudo pacman -Syu
sudo yaourt -Syua

update npm packages

npm outdated
sudo npm update