Skip to content

Instantly share code, notes, and snippets.

wf34 / CMakeLists.txt
Created Sep 3, 2018
G2O 3D SLAM with calibration test
View CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
find_package(PCL 1.8 REQUIRED)
find_package(G2O REQUIRED)
find_package(Eigen3 REQUIRED)
wf34 / webscrape_with_puppeteer.js
Created May 12, 2018
Web Scraping with JS, Node and puppeteer
View webscrape_with_puppeteer.js
const puppeteer = require('puppeteer');
const cheerio = require('cheerio');
function get_browser() {
return puppeteer.launch();
function instantiate_page(browser) {
return browser.newPage();
class PageLoadError extends Error {
wf34 /
Last active May 12, 2018
Web-Scraping with Headless Chrome
#!/usr/bin/env python3
import sys
import os
import subprocess
import lxml.html as html
import lxml.etree as etree
def get_page(url):
HEADLESS_GOOGLE_CMD = '''google-chrome-stable --headless \
wf34 /
Last active May 12, 2018
Web Scraping Wikipedia
import requests
import lxml.html as html
def get_page(url):
return requests.get(url, timeout =1.).text
def parse_page(song_url):
page_source = get_page(song_url)
View tensorflow_n_keras_delayed_sin_echo_prediction.txt
import argparse
import sys
import gc
from typing import Optional, Tuple
import numpy as np
from keras.models import Sequential
from keras.layers import Dense, TimeDistributed
from keras.layers import LSTM