Easy Hike to Mer de Glace (1913m) with an adventurous option
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
# requirements: python, virtualenv, pip | |
# | |
# create a virtualenv -- I keep all my virtualenvs in ~/virtualenv | |
virtualenv --distribute ~/virtualenv/coursera | |
# activate virtualenv | |
. ~/virtualenv/coursera/bin/activate | |
# get the coursera downloader tool and install requirements |
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
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
void crc8PushByte(uint8_t *crc, uint8_t ch) { | |
uint8_t i; | |
*crc = *crc ^ ch; | |
for (i=0; i<8; i++) { |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDK5drsxKGiD67bi3ZyiwnsXjuQ7/JzsQk+0yBxeSysoRU6lOSx9HV3Fnub1WBeLDZzJJkiVXk6+oUvcJwS/24EdlbMS4YVO0sHBqh/gp7MjMnwIH454V8ethYRVfgl8YpNbMb2NmTVNXmRX3yxPgQ6AP3Q7lWR9NqEebzc7ojdEK0hlRZG54DIupPiTgle8Vj9YpTKko9A5BLudEZ0aJPv/txWwFGjsOWNZ4BgnphQsk3rWHdAX/CJT4nV/YGjr16gM/rb0afgYO9xzQtqsYOl/10Lk/e4HoAOXFx4XZWuJHoZ/496c+9HOhBr8sYaLs/pIwKHf0cxkTiTjXOWdf+3 janos@kraken |
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
projectname = 'bashoneliners' | |
virtualenv_root = '/path/to/virtualenv/' + projectname | |
import sys | |
import os | |
INTERP = os.path.join(virtualenv_root, 'bin', 'python') | |
if sys.executable != INTERP: | |
os.execl(INTERP, INTERP, *sys.argv) |
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
try (FileInputStream fis = new FileInputStream(path); | |
ObjectInputStream ois = new ObjectInputStream(fis)) { | |
Contact[] loaded = (Contact[]) ois.readObject(); | |
System.out.println(Arrays.toString(loaded)); | |
} |
We can't make this file beautiful and searchable because it's too large.
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
DOCUMENT ID,CRFN,COLLATERAL,# of PAGES,REEL-PAGE,EXPIRATION DATE,DOC TYPE,FILE NUMBER,ASSESSMENT DATE,DOC DATE,RECORDED/FILED,SLID#,DOC AMOUNT,BOROUGH,% TRANSFERRED,RPTT#,MAP SEQUENCE#,MESSAGE,PARTY1-NAME,PARTY1-ADDRESS1,PARTY1-ADDRESS2,PARTY1-CITY,PARTY1-STATE,PARTY1-ZIP,PARTY1-COUNTRY,PARTY2-NAME,PARTY2-ADDRESS1,PARTY2-ADDRESS2,PARTY2-CITY,PARTY2-STATE,PARTY2-ZIP,PARTY2-COUNTRY,PARTY3-NAME,PARTY3-ADDRESS1,PARTY3-ADDRESS2,PARTY3-CITY,PARTY3-STATE,PARTY3-ZIP,PARTY3-COUNTRY,PARCELS-BOROUGH,PARCELS-BLOCK,PARCELS-LOT,PARCELS-PARTIAL,PARCELS-PROPERTY TYPE,PARCELS-EASEMENT,PARCELS-AIR RIGHTS,PARCELS-SUBTERRANEAN RIGHTS,PARCELS-PROPERTY ADDRESS,PARCELS-UNIT,PARCELS-REMARKS,REFERENCES-CRFN,REFERENCES-DOCUMENT ID,REFERENCES-BOROUGH,REFERENCES-YEAR,REFERENCES-REEL,REFERENCES-PAGE,REFERENCES-FILE NBR | |
2018021300661001,2020000093530,N/A,4,N/A-N/A,N/A,DEED,N/A,N/A,2/14/2018,3/12/2020 11:38:26 AM,N/A,$0.00,MANHATTAN,50%,N/A,N/A,N/A,404 NY LLC,C/O:ARGYROPOULOS & ASSOCIATES,"3108 BROADWAY,STE 202",LONG ISLAND CITY,NY,11106-2 |
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
import java.util.ArrayList; | |
import java.util.List; | |
public class MergeSort { | |
public static <T extends Comparable<T>> void sort(List<T> list) { | |
sort(list, 0, list.size()); | |
} | |
private static <T extends Comparable<T>> void sort(List<T> list, int start, int end) { | |
if (end - start < 2) return; |
NewerOlder