- act2vec, trace2vec, log2vec, model2vec https://link.springer.com/chapter/10.1007/978-3-319-98648-7_18
- apk2vec https://arxiv.org/abs/1809.05693
- app2vec http://paul.rutgers.edu/~qma/research/ma_app2vec.pdf
- ast2vec https://arxiv.org/abs/2103.11614
- attribute2vec https://arxiv.org/abs/2004.01375
- author2vec http://dl.acm.org/citation.cfm?id=2889382
- baller2vec https://arxiv.org/abs/2102.03291
- bb2vec https://arxiv.org/abs/1809.09621
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
// Created by Anderson Mancini 2023 | |
// React Three Fiber AutoFocus Component to be used | |
// as an extension for default Depth Of Field from react-three/postprocessing | |
// HOW TO USE? | |
// import AutoFocusDOF from './AutoFocusDOF' | |
// | |
// And add this component inside the EffectsComposer... | |
//... | |
// <EffectComposer> |
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
# extraction pattern: ngram TAB year TAB match_count TAB volume_count NEWLINE | |
# out: unique_ngram TAB sum(match_count) NEWLINE | |
import re | |
import os, sys, mmap | |
from pathlib import Path | |
from tqdm import tqdm | |
from concurrent.futures import ThreadPoolExecutor | |
abv = re.compile(r'^(([A-Z]\.){1,})(_|[^\w])') # A.B.C. |
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 | |
from bs4 import BeautifulSoup | |
import pandas as pd | |
import time | |
baseurl = 'http://publicreporting.ltchomes.net/en-ca/' | |
url = baseurl + 'Search_Selection.aspx' | |
response = requests.get(url) | |
soup = BeautifulSoup(response.text, "html.parser") |
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
""" | |
The script contains example of the paramiko usage for large file downloading. | |
It implements :func:`download` with limited number of concurrent requests to server, whereas | |
paramiko implementation of the :meth:`paramiko.SFTPClient.getfo` send read requests without | |
limitations, that can cause problems if large file is being downloaded. | |
""" | |
import logging | |
import os |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<title>d3 depth chart</title> | |
<script type="text/javascript" src="https://d3js.org/d3.v4.min.js"></script> | |
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lodash@4.17.4/lodash.min.js"></script> | |
<style> |
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
height: 680 |
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 time | |
import psutil | |
import winsound | |
last_disk_time = None | |
last_time = None | |
while (True): | |
curr_time = time.time() | |
counters = psutil.disk_io_counters() |
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
def loadJar(jarFile): | |
'''load a jar at runtime using the system Classloader (needed for JDBC) | |
adapted from http://forum.java.sun.com/thread.jspa?threadID=300557 | |
Author: Steve (SG) Langer Jan 2007 translated the above Java to Jython | |
Reference: https://wiki.python.org/jython/JythonMonthly/Articles/January2007/3 | |
Author: seansummers@gmail.com simplified and updated for jython-2.5.3b3+ | |
>>> loadJar('jtds-1.3.1.jar') | |
>>> from java import lang, sql |
NewerOlder