Skip to content

Instantly share code, notes, and snippets.

View Elypha's full-sized avatar

Elyphus Grey Elypha

  • London, England
View GitHub Profile
@ashmalvayani
ashmalvayani / read_zst_xz_to_df.py
Last active June 3, 2024 03:24
Reading jsonl.zst, jsonl.xz in DataFrame
## Read jsonl.zst file as dataframe in python
!pip install
#####################
import io
import pandas as pd
import zstandard as zst
def read_jsonl_zst(file_path):
with open(file_path, 'rb') as file:
decompressor = zstd.ZstdDecompressor()
@DavidKuennen
DavidKuennen / minimal-analytics-snippet.js
Last active June 9, 2024 19:08
Minimal Analytics Snippet
(function (context, trackingId, options) {
const history = context.history;
const doc = document;
const nav = navigator || {};
const storage = localStorage;
const encode = encodeURIComponent;
const pushState = history.pushState;
const typeException = 'exception';
const generateId = () => Math.random().toString(36);
const getId = () => {
@Tosainu
Tosainu / cute_AA.txt
Last active June 28, 2024 05:18
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字