Skip to content

Instantly share code, notes, and snippets.

View hangingman's full-sized avatar
🌶️

hangedman hangingman

🌶️
  • Kanagawa, Japan
  • 21:26 (UTC +09:00)
View GitHub Profile
@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active July 21, 2024 05:07
ローカルLLMはこーやって使うの💢
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KATO-Hiro
KATO-Hiro / table.md
Last active December 25, 2023 04:09 — forked from su8ru/table.md
AtCoder Clans に掲載されてるウェブサイトのうち、Heroku でホスティングされてそうなものリスト
サイト名 URL ソースコード 連絡先 継続可否
AtCoder Scores https://atcoder-scores.herokuapp.com/ GitHub Tweet
AtCoder Tags https://atcoder-tags.herokuapp.com/ GitHub
AtCoder List https://atcoder-list.herokuapp.com/ GitHub ⭕ 2022年末に移行予定
AtCoder RatingGraph Generator https://atcoder-ratinggraph-generator.herokuapp.com/ GitHub 🔺 Fork可能
Rating History https://rating-history.herokuapp.com/ GitHub Tweet
AtCoder Rating Comparison https://atcoder-rating-comparison.herokuapp.com/
AtCoder Perfor
@fkraeutli
fkraeutli / downloadGitLfsFiles.md
Last active July 17, 2024 18:59
How to download GIT LFS files

How to retrieve GIT LFS files from GitHub

Retrieving non-LFS files

Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl. To do so, first retrieve the content information for the relevant file (or folder):

curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}

For private repositories, authenticate using your username and a personal access token

@mala
mala / 202012_smooz.md
Last active October 6, 2022 14:28
Smoozサービス終了に寄せて

Smoozサービス終了に寄せて

前置き

  • この文章と、それに含まれる考察や各サービスへの脆弱性報告などはmala個人の活動であり、所属している企業とは関係ありません。
  • 一方で私は、企業が閲覧履歴を収集して何をしたいのか、所属してる企業や他社事例について、ある程度詳しい当事者でもあります。
  • 一般論として書けることは書けるが、(業務上知り得た知識で開示されてないものなど)個別具体的なことは書けないこともあり、また観測範囲に偏りがある可能性もあります。

Smoozに報告した脆弱性2件

@domenkozar
domenkozar / README.md
Created June 23, 2020 08:18
Haskell + GitHub Actions + Cachix
@matarillo
matarillo / 02-object-model.md
Last active April 11, 2020 01:51
Translation using translate.google.com and www.deepl.com

http://cr.openjdk.java.net/~briangoetz/valhalla/sov/02-object-model.html

State of Valhalla

セクション2:言語モデル

Brian Goetz, Dec 2019

このドキュメントは、インライン型を組み込むための言語モデルについて説明します。 インライン型のJVMモデル、およびJavaソースコードからJavaクラスファイルへの変換戦略については、別のドキュメントで説明する予定です。

@umamichi
umamichi / Electron で nodeIntegration: false にする方法.md
Created October 17, 2019 03:46
Electron で nodeIntegration: false にする方法

公式では、未来的に nodeIntegration: false にすることを推奨しています

理由は、レンダラプロセスで Node.js が実行できてしまうと、XSS発生時に脆弱性が増すためです

例えば、fs モジュールを使ってあなたのローカルファイルを取得して、どこかに送信することも可能ですし、ファイルを全て消し去ることもできてしまいます

nodeIntegration: false にする方法

@ifiokjr
ifiokjr / avoid-dts-gen-errors.md
Last active January 1, 2023 12:34
Create dts-gen types for a browser module.

Why

dts-gen works by running the code of the module you're targeting and this causes problems for modules that rely on the browser to run (since it runs from a node environment).

The following errors are common in these cases.

  • ReferenceError: window is not defined
  • SecurityError: localStorage is not available for opaque origins

The following instructions will help to fix these.

@mpppk
mpppk / clean_architecture.md
Last active July 22, 2024 06:48
クリーンアーキテクチャ完全に理解した

2020/5/31追記: 自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。

このドキュメントを完成させるために、今後以下のような更新を予定しています。

  • TODO部分を埋める
  • 書籍を基にした理論・原則パートと、実装例パートを分割
    • 現在は4層のレイヤそれぞれごとに原則の確認→実装時の課題リスト→実装例という構成ですが、同じリポジトリへの言及箇所がバラバラになってしまう問題がありました。更新後は、実装時の課題リストを全て洗い出した後にまとめて実装を確認する構成とする予定です。

2021/1/22追記:

@seraphy
seraphy / 1_README.md
Last active October 30, 2022 13:42
Visual Studio 2017 + GtkSharp + Gladeによる、簡単なGTK3のウィンドウアプリの実装例。

GtkSharp + Gladeを使ったシンプルなウィンドウアプリの実装例

準備

Visual Studio 2017 Professional、もしくはVisual Studio 2017 Express for Desktopで実行する。(どちらでも動作した。)

GtkSharpが実行するフレームワークは、Windows環境下であればDotNetFramework4.7以降を使用する。

まずは通常のWindowsアプリとしてプロジェクトを作成する。(Consoleで作成してからWindowにしてもよいし、WindowsFormで作成してFormを全部消してもよい)