Skip to content

Instantly share code, notes, and snippets.

View lra's full-sized avatar

Laurent Raufaste lra

View GitHub Profile
@lra
lra / keybase.md
Last active November 3, 2021 09:18

Keybase proof

I hereby claim:

  • I am lra on github.
  • I am lr (https://keybase.io/lr) on keybase.
  • I have a public key ASCgL5JkIrlvw9wkIGlaka4RCAnloMcU2vIzePd2S-1fQgo

To claim this, I am signing this object:

@lra
lra / reply-to-sales-spam-email-template.txt
Created February 7, 2017 18:51
Reply To Sales Spam Email Template
Hi,
When I'm looking for a solution, I'm actively looking at the market myself.
By sending an unsolicited email, you can be sure that you will not be in sync with our needs.
Just make sure your website is ready with clear product description and pricing for the day we'll look for a solution.
You'll understand that I'd better spend my time building our product and solving our problems instead of being on the phone listening to solutions for problems we don't have yet.
TLDR; I'm not interested.
Verifying that +lolotte is my blockchain ID. https://onename.com/lolotte
@lra
lra / install-java-7.sh
Last active January 3, 2016 12:49
Install Java 7 on Ubuntu
add-apt-repository --yes ppa:webupd8team/java
apt-get update
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true > some_file
debconf-set-selections some_file
apt-get install --yes oracle-java7-installer oracle-java7-set-default
lolo:~ laurent$ brew install -v node 2>&1
==> Downloading http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz
Already downloaded: /Library/Caches/Homebrew/node-0.10.23.tar.gz
==> Verifying node-0.10.23.tar.gz checksum
tar xf /Library/Caches/Homebrew/node-0.10.23.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file tools/gyp/pylib/gyp/xcode_emulation.py
==> ./configure --prefix=/usr/local/Cellar/node/0.10.23
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Without allclasses

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 66.36   10.982694       30423       361           wait4
  8.24    1.363919        3747       364           clone
  7.35    1.216940       10491       116        69 futex
  2.70    0.447536          24     19034       143 read
  2.35    0.389080           6     61953      1524 lstat
traceroute google.com
traceroute: Warning: google.com has multiple addresses; using 173.194.43.2
traceroute to google.com (173.194.43.2), 64 hops max, 52 byte packets
1 cpe-72-225-244-1.nyc.res.rr.com (72.225.244.1) 36.098 ms 30.058 ms 19.903 ms
2 gig-0-3-0-12-nycmnya-rtr2.nyc.rr.com (24.29.139.66) 16.442 ms 15.358 ms 14.407 ms
3 bun101.nycmnytg-rtr001.nyc.rr.com (184.152.112.107) 16.232 ms 15.919 ms 23.933 ms
4 bun6-nycmnytg-rtr002.nyc.rr.com (24.29.148.250) 59.486 ms 14.597 ms 24.156 ms
5 107.14.19.24 (107.14.19.24) 16.026 ms 14.487 ms 16.060 ms
6 ae-1-0.pr0.nyc30.tbone.rr.com (66.109.6.161) 15.861 ms
107.14.19.153 (107.14.19.153) 22.883 ms 12.678 ms
traceroute 173.194.75.104
traceroute to 173.194.75.104 (173.194.75.104), 64 hops max, 40 byte packets
1 10.35.224.1 (10.35.224.1) 216.499 ms 2934.452 ms 29.869 ms
2 gig-0-3-0-23-nycmnyd-rtr02.nyc.rr.com (24.29.98.62) 9.513 ms 8.943 ms 6.532 ms
3 bun104.nyquny91-rtr001.nyc.rr.com (184.152.112.91) 13.486 ms 10.381 ms 25.899 ms
4 bun6-nyquny91-rtr002.nyc.rr.com (24.29.148.254) 25.519 ms * 11.844 ms
5 ae-3-0.cr0.nyc20.tbone.rr.com (66.109.6.76) 16.681 ms 22.782 ms *
6 ae-0-0.cr0.nyc30.tbone.rr.com (66.109.6.26) 447.411 ms
107.14.17.172 (107.14.17.172) 22.048 ms 28.376 ms
7 * 66.109.9.30 (66.109.9.30) 644.325 ms
traceroute www.google.com
traceroute: Warning: www.google.com has multiple addresses; using 74.125.26.147
traceroute to www.google.com (74.125.26.147), 64 hops max, 40 byte packets
1 10.35.224.1 (10.35.224.1) 35.894 ms 18.973 ms 51.759 ms
2 gig-0-3-0-23-nycmnyd-rtr02.nyc.rr.com (24.29.98.62) 10.602 ms 11.693 ms 9.742 ms
3 bun104.nyquny91-rtr001.nyc.rr.com (184.152.112.91) 12.883 ms 14.554 ms 16.978 ms
4 bun6-nyquny91-rtr002.nyc.rr.com (24.29.148.254) 12.171 ms 14.867 ms 16.031 ms
5 107.14.19.22 (107.14.19.22) 18.878 ms 31.250 ms 32.166 ms
6 ae-0-0.cr0.nyc30.tbone.rr.com (66.109.6.26) 16.229 ms 24.787 ms 18.972 ms
7 ae-4-0.cr0.dca20.tbone.rr.com (66.109.6.28) 20.177 ms
@lra
lra / gist:3714923
Created September 13, 2012 15:04
Trying to install node
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install node
==> Downloading http://nodejs.org/dist/v0.8.8/node-v0.8.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/node-0.8.8.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/node-0.8.8.tar.gz
==> ./configure --prefix=/usr/local/Cellar/node/0.8.8
./configure --prefix=/usr/local/Cellar/node/0.8.8
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],