Skip to content

Instantly share code, notes, and snippets.

@Ellivers
Ellivers / mcfunction-precompilers.md
Last active May 1, 2024 19:44
Minecraft function precompilers

Minecraft function precompilers

An attempt to make a definitive list of all (at least somewhat finished) projects that compile to MCFunction (Minecraft function) code for Minecraft: Java Edition. Each category is very roughly ordered from most to least usable/well-known. Categories and notes in parentheses may not be entirely accurate.

Modern

@schacon
schacon / better-git-branch.sh
Created January 13, 2024 18:41
Better Git Branch output
#!/bin/bash
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NO_COLOR='\033[0m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'
NO_COLOR='\033[0m'
@Klerith
Klerith / instalaciones-next.md
Last active May 1, 2024 19:42
Instalaciones recomendadas para el curso de Next.js 13 >

Tips for debugging on Linux

This page is for Chromium-specific debugging tips; learning how to run gdb is out of scope.

[TOC]

Symbolized stack trace

The sandbox can interfere with the internal symbolizer. Use --no-sandbox (but

@hayajo
hayajo / WebMarker-1.5.0.patch
Last active May 1, 2024 19:41
WebMarker 1.5.0 のパッチ
diff --git manifest.json manifest.json
index 25a6c01..0611584 100644
--- manifest.json
+++ manifest.json
@@ -1,35 +1,28 @@
-{
-"update_url":"http://clients2.google.com/service/update2/crx",
- "name": "WebMarker",
- "version": "1.5.0",
- "icons": { "16": "images/bookmark16.png",
@emaxerrno
emaxerrno / webperf.txt
Created October 17, 2013 20:04
webperf.txt
ilya grigorik
-chrome:
techniques:
70% of time is network.
not really bound by bandwidth.
bandwidth chart. --> look at that on chrome.
look at connection view (tcp connection did we open for this page) -- lag time
minimize the RTT -->
pre-resolve
preconnect
@azagniotov
azagniotov / beautiful.rest.api.docs.in.markdown.md
Last active May 1, 2024 19:41
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
#!/usr/bin/env bash
# Abort sign off on any error
set -e
# Start the benchmark timer
SECONDS=0
# Repository introspection
OWNER=$(gh repo view --json owner --jq .owner.login)
@otiai10
otiai10 / update-alert.diff
Created May 8, 2017 00:04
艦これウィジェットのbackground updateのアラート機能(未採用)
diff --git a/src/js/Components/Routine/LaunchPositionRecorder.js b/src/js/Components/Routine/LaunchPositionRecorder.js
index a90594c9..9ba72a9c 100644
--- a/src/js/Components/Routine/LaunchPositionRecorder.js
+++ b/src/js/Components/Routine/LaunchPositionRecorder.js
@@ -5,19 +5,32 @@ export default class LaunchPositionRecorder {
this.context = context;
}
mainGameWindow(delay) {
-
- // contextがiframe内(parentを持ってる)なら、parentにやらせる
@hamelsmu
hamelsmu / webhook-circleback.py
Created April 25, 2024 04:59
Generate a project proposal automatically from a meeting transcript
from fastapi import Request, HTTPException
from pydantic import BaseModel, BaseModel, HttpUrl
from modal import Secret, App, web_endpoint, Image
from typing import Optional, List
from example import proposal
import os
app = App(name="circleback", image=Image.debian_slim().pip_install("openai", "pydantic", "fastapi"))
class Attendee(BaseModel):