Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@matt-graham
matt-graham /jax-sci-comp-tutorial.ipynb
Last activeDecember 17, 2025 16:21
Accompanying notebook for JAX scientific computing tutorial
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adammyhre
adammyhre /AbilityData.cs
CreatedMay 25, 2025 10:34
Modular Ability Effects
usingSystem;
usingSystem.Collections.Generic;
usingUnityEngine;
[CreateAssetMenu(fileName="AbilityData",menuName="ScriptableObjects/AbilityData")]
classAbilityData:ScriptableObject{
publicstringlabel;
publicAnimationClipanimationClip;
[Range(0.1f,4f)]publicfloatcastTime=2f;
@aamiaa
aamiaa /CompleteDiscordQuest.md
Last activeDecember 17, 2025 16:20
Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use thedesktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. PressCtrl+Shift+I to open DevTools
  3. Go to theConsole tab
  4. Paste the following code and hit enter:
@dmitry-osin
dmitry-osin /tailwind-css-cheatsheet-rus.md
CreatedMay 1, 2025 20:23
Шпаргалка по Tailwind CSS

Tailwind CSS - это утилитарный CSS-фреймворк, который позволяет быстро создавать пользовательские интерфейсы с помощью встроенных классов. Давайте составим подробную шпаргалку по основным возможностям и компонентам Tailwind.

Основные концепции

Tailwind работает на основе классов утилит, которые применяются непосредственно в HTML. Вместо написания CSS, вы используете предопределенные классы для стилизации элементов.

Установка и настройка

@loskiq
loskiq /config.yaml
Last activeDecember 17, 2025 16:19
Xray on OpenWrt
inbounds:
-listen:192.168.1.1
tag:all-in
port:1083
protocol:dokodemo-door
settings:
network:tcp,udp
followRedirect:true
streamSettings:
sockopt:
@johnslavik
johnslavik /DRAMA.md
Last activeDecember 17, 2025 16:16

A Syscall Tragedy in One Line and Thirteen Bytes


PERSONS

  • PROCESS, a voice yearning to be heard
  • KERNEL, the inexorable arbiter of fate
@zchee
zchee /actionlist.vim
Last activeDecember 17, 2025 16:15
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@darencard
darencard /entware_synology.md
Last activeDecember 17, 2025 16:11
Setting up and using Entware on Synology device

Taken fromhttps://keestalkstech.com/2018/03/install-nano-with-entware-on-synology-nas-dsm6/.

  1. Prepare directory for Entware
# create a home for Entwaremkdir -p /volume1/@Entware/opt# go on as root
@intellectronica
intellectronica /0.README.md
Last activeDecember 17, 2025 16:11
My AGENTS.md for MDFlow

Here's myAGENTS.md(also linked fromCLAUDE.md as@AGENTS.md) for hackingagentically onMDFlow recipes.

I have this in~/.mdflow/, and the agents/recipes live in~/.mdflow/agents/ and added to the pathso that they can be invoked as commands.

With this I can use a coding agent like Claude Code or GitHub Copilot in VSCode and say something like:

> create a new agent using copilot that reviews all the code files in this directory as a poem
@scornork
scornork /utils.approximate-sinusoid.js
Last activeDecember 17, 2025 16:19
A modern vanilla ES6+ implementation of a sinusoid approximated from a polynomial expansion of n terms.
/**
* @typedef{Object}SinusoidTraits
* @property{number}[sampleRate=44100]-TheoverallwavesamplingrateinHz.
* @property{number}[frequency=1000]-TheoscillationwavefrequencyinHz.
* @property{number}[length=1024]-Thetotalwavesamples/buffersize.
* @property{number}[terms=13]-Thetotalpolynomialexpansionterms.
*
* @typedef{Object}PolynomialApproximation
* @property{number}termPartialSum-Thecurrentrunningaccumulationforthe
*iterativereductionperformedtoapproximatetheMaclaurinpower
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp