Skip to content

Instantly share code, notes, and snippets.

View arianpasquali's full-sized avatar

Arian Pasquali arianpasquali

  • Brussels, Belgium
View GitHub Profile
{
"embeddings": [
{
"tensorName": "Beroep vrij veld Embeddings",
"tensorShape": [
6031,
1536
],
"tensorPath": "https://raw.githubusercontent.com/.../tensors.tsv",
"metadataPath": "https://raw.githubusercontent.com/.../optional.metadata.tsv"
{
"embeddings": [
{
"tensorName": "Project Summary Bermudas : Project Ideas Vector representations",
"tensorShape": [
9593,
289
],
"tensorPath": "https://gist.githubusercontent.com/arianpasquali/9b305d935b1e2760baca6ed7b6208d25/raw/f92574e97e231c9106119c8ef721cbab1b7a2a6a/embeddings.tsv",
"metadataPath": "https://gist.githubusercontent.com/arianpasquali/b355cc96c63dd5bf39ec4334008860f6/raw/484954dbcae097a1278b1784388fb9009d27fd72/metadata.tsv"
We can't make this file beautiful and searchable because it's too large.
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00
idea_id cluster_id title description
b0df174a-b875-46ff-b81a-2cb23d19a702 0 Bermuda Impact Fund Every country in the world is grappling with the same issue – how do we recover from what many commentators are forecasting to be the sharpest recession ever recorded. Governments around the world are taking unprecedented action to support businesses and individuals by spending unparalleled amounts of public funds. But government funds are limited - government borrowing can't be infinite and it can't pay for everything. There is an unprecedented opportunity facing us all, which we should grasp with both hands. Rebuilding an economy requires investment, not just subsidy. Investing with impact is the best way to ensure that economies are built back better: fairer, stronger, more resilient, with greater economic participation and with better outcomes for citizens. After the crisis of 2008, UK government set up 2 new impact funds to stimulate the economy. The Green Investment Bank focussed on supporting environmenta
# Run the last command as root
sudo !!
# Serve current directory tree at http://$HOSTNAME:8000/
python -m SimpleHTTPServer
# Save a file you edited in vim without the needed permissions
:w !sudo tee %
# change to the previous working directory
cd -
# Runs previous command but replacing
^foo^bar
@arianpasquali
arianpasquali / yake_rest_api.py
Last active January 29, 2019 17:38
YAKE as a REST service
"""
The simple example serving YAKE as a rest api.
instructions:
pip install flasgger
pip install git+https://github.com/LIAAD/yake
python yake_rest_api.py
# requirements:
# pip install pysolr
#
# usage:
# python index_into_solr.py /home/ubuntu/workspace/semantic_scholar_dataset/s2-corpus-00.gz
import json
import pysolr
import os
@arianpasquali
arianpasquali / elementaryOS-docker-setup.sh
Created April 10, 2018 16:57
elementaryOS docker setup
#INSTALL DOCKER CE ON elementaryOS
#Uninstall old versions
sudo apt-get remove docker docker-engine docker.io
#Set up the repository
sudo apt-get update
sudo apt-get install -y \
@arianpasquali
arianpasquali / count_messages.py
Created March 6, 2018 19:40 — forked from yi-jiayu/count_messages.py
Using Telethon and the Telegram API to count the number of messages in each of your recent conversations
from telethon import TelegramClient
from telethon.errors.rpc_errors_401 import SessionPasswordNeededError
# (1) Use your own values here
api_id = 17349
api_hash = '344583e45741c457fe1862106095a5eb'
phone = 'YOUR_NUMBER_HERE'
username = 'username'
@arianpasquali
arianpasquali / elementaryos-postinstall
Last active April 12, 2018 16:08 — forked from gustavohenrique/elementaryos-postinstall
Post installation of Elementary OS
## Important tools and specific notes to setup elmentary os on my thinkpad
## First update:
sudo apt-get update && sudo apt-get upgrade
## Kernel updates:
sudo apt-get install linux-generic-lts-raring
## Essentials:
sudo apt-get install htop vim build-essential openjdk-8-jdk python-pip tmux msttcorefonts fonts-powerline apt-transport-https