A dataset about cities of the world.
Downloaded from Simplemaps: World Cities Database.
A new file worldcitiesReduced.csv
was created by manually removing columns not deemed necessary for initial visualization of this data.
/* Enhancements to the Twitter Scraping Script: | |
This update to the script introduces a more robust mechanism for extracting detailed interaction data from tweets as they are scraped from Twitter. Previously, the script focused on collecting basic content such as the tweet's text. Now, it has been augmented to include a comprehensive extraction of interaction metrics, including replies, reposts, likes, bookmarks, and views, for each tweet. | |
Key Changes: | |
1. Improved Data Extraction: | |
- The script now searches through all elements within a tweet that have an `aria-label` attribute, filtering for labels that contain key interaction terms (replies, reposts, likes, bookmarks, views). This ensures that only relevant `aria-labels` are considered for data extraction. | |
2. Flexible Interaction Data Parsing: |
import inspect | |
from typing import Any, Callable, Dict, List, Optional, Union | |
import numpy as np | |
import torch | |
from transformers import CLIPTextModel, CLIPTokenizer, T5EncoderModel, T5TokenizerFast | |
from diffusers.image_processor import VaeImageProcessor | |
from diffusers.loaders import FluxLoraLoaderMixin | |
from diffusers.models.autoencoders import AutoencoderKL |
// ==UserScript== | |
// @name URL Tagger | |
// @namespace http://tampermonkey.net/ | |
// @version 1.5 | |
// @description Tag URLs based on predefined patterns and data | |
// @author Your Name | |
// @match *://*/* | |
// @grant GM_xmlhttpRequest | |
// @grant GM_addStyle | |
// @connect 192.168.x.x |
#!/bin/bash | |
black='\E[30;50m' | |
red='\E[31;50m' | |
green='\E[32;50m' | |
yellow='\E[33;50m' |
A dataset about cities of the world.
Downloaded from Simplemaps: World Cities Database.
A new file worldcitiesReduced.csv
was created by manually removing columns not deemed necessary for initial visualization of this data.
// ==UserScript== | |
// @name Hatena::Let indicator reviver | |
// @namespace https://noromanba.github.com | |
// @description revive "[saving...]" indicator on Hatena::Let for UserScript | |
// @include *://let.hatelabo.jp/l | |
// @grant none | |
// @noframes | |
// @run-at document-end | |
// @version 2018.5.14.1 | |
// @homepage https://gist.github.com/noromanba/ceaf1067aea7c3855ce7b57fe5ae1887 |
// ==UserScript== | |
// @name 404ToArchive | |
// @namespace wolf20482 | |
// @version 1.0.0 | |
// @description Automatically redirects 404 pages to the latest archive in Internet Archive. | |
// @author wolf20482 | |
// @license MIT | |
// @match http://* | |
// @match https://* | |
// @match http://*/* |
// ==UserScript== | |
// @name GitHub Artifacts login bypass | |
// @description Allows you to download an artifact from GitHub or web archive using nightly.link | |
// @author DelofJ | |
// @version 1.0 | |
// @namespace https://gist.github.com/DelofJ/a81c27f473045bb01b50c3dc6ca51a2f | |
// @icon https://github.githubassets.com/favicons/favicon.png | |
// @downloadURL https://gist.githubusercontent.com/DelofJ/a81c27f473045bb01b50c3dc6ca51a2f/raw/e59e6323aef2072b8a24839dc2dcc04f80b3c109/github-artifact-redirect.user.json | |
// @updateURL https://gist.githubusercontent.com/DelofJ/a81c27f473045bb01b50c3dc6ca51a2f/raw/e59e6323aef2072b8a24839dc2dcc04f80b3c109/github-artifact-redirect.user.json | |
// @grant none |
/* This Userscript helps you preserving websites by automatically saving pages you visit, including their linked subpages and other linked URLs, into Internet Archive's Wayback Machine. | |
Run this UserScript using the following tools: | |
Desktop browsers: | |
* GreaseMonkey for Mozilla Firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ | |
* TamperMonkey for Google Chrome: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo | |
* TamperMonkey for Chromium-Opera Browser: https://addons.opera.com/en/extensions/details/tampermonkey-beta/ |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+