sudo apt-get install python-pkgconfig
to avoid https://bugs.chromium.org/p/v8/issues/detail?id=6638- Install depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
sudo nano ~/.bash_profile
- Add
export PATH=/path/to/depot_tools:"$PATH"
(it's important that depot_tools comes first here)
source ~/.bash_profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# sudo apt-get install id3v2 ffmpeg | |
# | |
# USAGE: | |
# cd /book title/ | |
# bash ~/this_script_path.sh | |
# rm *.m4b (you need to manually remove the original in case something goes wrong) | |
# | |
# |
I hereby claim:
- I am alessandro-aglietti on github.
- I am aqquadro (https://keybase.io/aqquadro) on keybase.
- I have a public key ASDBiYhvcrBxMcwquRyvYjmGAVR8eOuhqS1BhT5HtOhhcQo
To claim this, I am signing this object:
from a newbie to newbies
I believe that a development environment is one of the access key in learning new technologies. I didn't find on the internet a simple and common path to make the Ropsten network, the Ethereum public testnet, work.
So I'm writing down a couple of command lines and links that can be useful to achieve it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"result": { | |
"_timestamp": 1511723944, | |
"daterange": [ | |
1511723944, | |
1511724004 | |
], | |
"interval": 3600, | |
"actions": [], | |
"id": "39fb23c6f05af7f3cb86ab9f35093ad0a93db451864cdc8abbfcba5a5f8c99e6", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dns": ["172.17.0.1"] | |
} |
Just tried to put this in a more readable format: https://github.com/svanderbleek/haskellandchill.com/blob/master/a-conversation-about-oop-vs-fp-turns-constructive.md
Person | Time | Message |
---|---|---|
sagar | 10:47 | why is that, why is OOP trash |
katychuang | 10:48 | excellent question |
katychuang | 10:49 | I've been told FP and OOP are different paradigms |
katychuang | 10:52 | I'm going to butcher a quote from a talk by Evie so I'm going to paraphrase… She said something like when you work with OOP you create lots of objects and rules on how they should interact and yet somehow end up having to touch each other a lot and inappropriately |
katychuang | 10:53 | On the other hand FP (especially Haskell) is like working with shapes, like that baby shape fitting toy where you focus more on fitting the type parameters correctly |
katychuang | 10:56 | I think of programming as building a piping system. FP (especia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
html, body, #map-canvas { height: 100%; margin: 0; padding: 0;} | |
</style> | |
<script type="text/javascript" | |
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDUhR3AD_X-uR3XveT8O6BOme-W_uHz2Vs"> | |
</script> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../bower_components/polymer/polymer.html"> | |
<script src="../js/snap.svg-min.js"></script> | |
<script src="../js/jquery-1.11.2.min.js"></script> | |
<polymer-element name="proto-element"> | |
<template> | |
<div class="div2"> | |
Source:<input type="text" id="textsrc" value="SOURCE"><br> | |
Destination: <input type="text" id="textdest"><br> Flight:<input | |
type="text" id="textplane"><br> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package so; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import org.apache.commons.io.IOUtils; | |
import org.apache.http.client.ClientProtocolException; | |
import org.apache.http.client.methods.CloseableHttpResponse; |