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
from pyelasticsearch import ElasticSearch | |
import pandas as pd | |
from time import time | |
root_path="/home/clemsos/Dev/mitras/" | |
raw_data_path=root_path+"data/" | |
csv_filename="week10.csv" | |
t0=time() |
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
# #!/bin/bash | |
GITBOOK_REP=$1 | |
SUMMARY_FILE="SUMMARY.md" | |
echo $OUTPUT_FILE | |
if [ -d "$GITBOOK_REP" ]; then | |
echo "Entering directory '$GITBOOK_REP'..." | |
cd $GITBOOK_REP |
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
const contracts = require('@unlock-protocol/contracts') | |
const { ethers } = require('hardhat') | |
const md = (sigs) => { | |
// show markdown array on screen | |
console.log('| Type | Name | SigHash |') | |
console.log('|---|---|---|') | |
sigs.forEach(([type, name, sighash]) => | |
console.log(`| ${type} | ${name} | ${sighash} |`) |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
This script just show the basic workflow to compute TF-IDF similarity matrix with Gensim | |
OUTPUT : |
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 requests | |
import re | |
import json | |
# set headers for lavarel | |
headers = { "Accept": "application/json" } | |
# session to store cookies | |
sess = requests.Session() |
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
<!-- | |
* Basic Genetic algorithm | |
* JS/ES6 | |
* | |
* by @clemsos, with the help of Nature of Code | |
--> | |
<button onclick="start()">START</button> | |
<button onclick="stop()">STOP</button> | |
<button onclick="init()">INIT</button> |
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
license: mit |
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
{"url":"https://link.medium.com/ZSCiKq63NU","postedBy":"clemsos","metadata":{},"context":null,"upvotes":[],"_id":"6he0NMOaIDsFIqL9"} | |
{"url":"https://m.isaca.org/About-ISACA/History/Documents/ISACA-Glossary-English-Chinese-Simplified_mis_Chi_0615.pdf","postedBy":"clemsos","metadata":{},"context":null,"upvotes":[],"_id":"7bMe8ECX6Aav93xc"} | |
{"metadata":{},"context":null,"upvotes":[],"_id":"CpmoIrxrL6WJz9D9"} | |
{"url":"https://docs.google.com/presentation/d/1YdrJPGRLTK2FQLy9zS-8DRHFtPbVBwX1EhrDzXnULTY/mobilepresent?slide=id.p","postedBy":"kidproto","metadata":{"name":"Google Docs","title":"EthCC 2019","description":"Ethereum 2.0 phase 0 Deep dive into the key objects","thumbnail":"https://lh4.googleusercontent.com/g21t-NmkFDCR_ju2YPmuplPyEIqQFGnqKSfLMSbLJt1S052-PJPhV4jN3Cout2bhZr7PlQ=w1200-h630-p"},"context":null,"upvotes":[],"_id":"F9kxCW7OO2cmVIej"} | |
{"url":"https://itnext.io/part-1-building-a-bookmark-manager-telegram-bot-node-js-vue-js-972bb7198def","postedBy":"clemsos","metadata":{"name":"ITNEXT","title":"[Part |
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
[ | |
{ | |
"coords": [ | |
91.75766071072317, | |
20.540037858066356 | |
], | |
"count": 8020 | |
}, | |
{ | |
"coords": [ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder