composer install- Install dependenciesbin/magento setup:install- Install Magentobin/magento setup:upgrade- Update database schemabin/magento setup:di:compile- Compile dependency injectionbin/magento setup:static-content:deploy- Deploy static assets
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .claude-ignore - Files and directories to exclude from Claude Code analysis | |
| # Place this in your Magento 2 project root directory | |
| # Vendor Dependencies (too large and not project-specific) | |
| /vendor/ | |
| /node_modules/ | |
| # Generated and Cache Files | |
| /var/ | |
| /generated/ |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
You are building a fully decentralized peer-to-peer ridehailing mobile app. Zero centralized servers. The entire system runs on user devices and the Solana blockchain.
- A rider opens the app, sets a destination, and the app calculates a fare client-side using Haversine distance.
- The rider posts a ride request on-chain containing a blinded zone ID (ZK proof of zone membership), the offered fare, and escrowed SOL.
- Nearby drivers discover the request via libp2p GossipSub and on-chain queries.
- Drivers submit offers on-chain — they can accept the rider's fare or counter-offer (capped at 2x the rider's price).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import gi | |
| gi.require_version("Gtk", "3.0") | |
| import configparser | |
| import dbus | |
| import dbus.service | |
| import logging | |
| import os |
/* 前言 -------------------------------------------------- */
這是 Jeremy 於 2026-03-07 於第二屆「 AI 取暖會」中分享過去十八個月來與 AI/Agent 搏鬥的實戰心得。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add this to /usr/share/libinput/50-system-apple.quirks (create if doesn't exist) | |
| [Apple Magic Trackpad v2] | |
| MatchName=*Magic Trackpad 2 | |
| AttrSizeHint=162x115 | |
| AttrTouchSizeRange=20:10 | |
| AttrPressureRange=2:0 | |
| AttrPalmSizeThreshold=900 | |
| AttrThumbSizeThreshold=700 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c | |
| index 6d571ce90fc..141ecdb80a7 100644 | |
| --- a/usr.sbin/vmd/vm.c | |
| +++ b/usr.sbin/vmd/vm.c | |
| @@ -42,8 +42,6 @@ | |
| #include "virtio.h" | |
| #include "vmd.h" | |
| -#define MMIO_NOTYET 0 | |
| - |
NewerOlder