Skip to content

Instantly share code, notes, and snippets.

View albertogalan's full-sized avatar

Alberto F Galan albertogalan

  • Madrid
View GitHub Profile
Verifying my Blockstack ID is secured with the address 1LjnBZUhjHMmdTEhE9iyrjchZSqE9ZSfuN https://explorer.blockstack.org/address/1LjnBZUhjHMmdTEhE9iyrjchZSqE9ZSfuN
<html>
<head>
<title><+TITLE+></title>
<meta name="generator" content="<+GENERATOR+>" />
<meta name="author" content="<+AUTHOR+>"/>
</head>
<body>
This is a change in the snipset
<h1>Title<h1>
#!/bin/bash
# create a new issue if not found (requires hub cli client)
# checks brew and cargo for homepage + description
function tld {
tldr $* 2>/dev/null && return
local repo=~/code/tldr # replace with location to tldr repo
local info=("${(@f)$(brew info --json=v1 $1 2>/dev/null | jq -r '.[].homepage,.[].desc')}")
test $#info -gt 1 || info=("${(@f)$(cargo show $1 2>/dev/null | awk '/^homepage|description/ { $1=""; print }')}")
@albertogalan
albertogalan / linkedin_scraper.py
Created April 9, 2019 07:57 — forked from scrapehero/linkedin_scraper.py
Python script to scrape a company details from a public company page on LinkedIn.com. Written as part of How to Scrape educational post - https://www.scrapehero.com/tutorial-scraping-linkedin-for-public-company-data/
from lxml import html
import csv, os, json
import requests
from exceptions import ValueError
from time import sleep
def linkedin_companies_parser(url):
for i in range(5):
try:
@albertogalan
albertogalan / linkedin_extract.py
Created April 9, 2019 08:00 — forked from lobstrio/linkedin_extract.py
Scraping Linkedin profiles information through Selenium Python
# python package
import csv
import time
import random
import sys
import os
# selenium package
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

#!/bin/bash
if [[ $# -eq 0 ]]; then
echo "$red This command $reset"
echo "Usage: ${FUNCNAME[0]} $green {word} $reset"
exit 0
fi
word="$1"