Skip to content

Instantly share code, notes, and snippets.

View tpdn's full-sized avatar
🇰🇵

tpdn

🇰🇵
View GitHub Profile
@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active July 11, 2024 05:45
ローカルLLMはこーやって使うの💢
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michalc
michalc / sqlite.py
Last active April 3, 2024 17:26
Use libsqlite3 directly from Python with ctypes: without using the built-in sqlite3 Python package, and without compiling anything
# From https://stackoverflow.com/a/68876046/1319998, which is itself inspired by https://stackoverflow.com/a/68814418/1319998
from contextlib import contextmanager
from collections import namedtuple
from ctypes import cdll, byref, string_at, c_char_p, c_int, c_double, c_int64, c_void_p
from ctypes.util import find_library
from sys import platform
def query(db_file, sql, params=()):
@voluntas
voluntas / shiguredo_model.rst
Last active December 26, 2023 21:46
時雨堂を支えるビジネスモデル

時雨堂を支えるビジネスモデル

更新:2023-12-08
作者:@voluntas
バージョン:2023.2
URL:https://voluntas.github.io/

タイポなどは Twitter の @voluntas までお願いします。

@azu
azu / README.md
Last active March 15, 2024 09:59
スタートアップ/企業の調べ方
@zero-master
zero-master / GDPR.md
Last active February 14, 2022 20:07
Show visitors from EU countries a page with GDPR message using Cloudflare and .htaccess
<details>
<summary>押してみそ?</summary>
な?
```pl
use strict;
```
どう?
</details>
@voluntas
voluntas / death_march.md
Last active July 1, 2024 01:31
デスマーチが起きる理由 - 3つの指標

デスマーチが起きる理由 - 3つの指標

著者: 青い鴉(ぶるくろ)さん @bluecrow2

これは結城浩さんの運用されていた YukiWiki に当時 Coffee 様 (青い鴉(ぶるくろ)さん)がかかれていた文章です。 ただ 2018 年 3 月 7 日に YukiWiki が運用停止したため消えてしまいました。その記事のバックアップです。

今は 404 ですが、もともとの記事の URL は http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 になります。

昔、自分がとても感銘を受けた文章なので、このまま読めなくなるのはとてももったいないと思い、バックアップとして公開しています。

@south37
south37 / 00_timeline.md
Last active May 3, 2024 17:19
ISUCON Cheat Sheet
@kazuooooo
kazuooooo / obento-bot.js
Last active September 20, 2022 11:21
お弁当ボットのソースコードです(Google App Script)
Const = {
spreadSheetId: 'xxxxxxxxxxxxxxxxxx',
obentColumnIdx: 6,
sheetStartDate: new Date(2017, 0, 19),
sheetTopMarginRows: 4,
scheduleOrderTime: new Date(2017, 0, 1),
scheduleRemindTime: new Date(2017, 0, 1),
triggers: {
triggerDays: [ScriptApp.WeekDay.SUNDAY,
ScriptApp.WeekDay.MONDAY,
@potatoqualitee
potatoqualitee / no-bright-blue-github.css
Last active March 2, 2017 02:04
Stylebot CSS for the good ol' gentle blue colors of GitHub
h1.public strong a {
color: #4078C0;
}
a.subnav-item.js-subnav-item.selected {
background-color: #4078C0;
}
svg.octicon.octicon-file-directory path {
color: #4078C0;