Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@tckmn
tckmn /gist:8078a34e3287ec32dadf
CreatedNovember 8, 2014 16:31
(Almost) all Nethack messages, more gooder version (much better)
pager.c:344 pline("Cannot open data file!")
pager.c:467 pline("? Seek error on 'data' file!")
pager.c:482 pline("I don't have any information on those things.")
pager.c:578 pline("Please move the cursor to %s.", what_is_an_unknown_object)
pager.c:581 pline("Pick an object.")
pager.c:815 pline("%s", out_str)
pager.c:825 pline("I've never heard of such things.")
pager.c:865 pline("That is %s%s%s.", an(defsyms[trap_to_defsym(tt)].explanation), !trap->madeby_u ? "" : (tt == WEB) ? " woven" : <x> <x> <x> (tt == HOLE || tt == PIT) ? " dug" : " set", !trap->madeby_u ? "" : " by you")
pager.c:876 pline("I can't see a trap there.")
pager.c:891 pline("Cannot open data file!")
@cedrickchee
cedrickchee /recreate_minecraft_for_web_prompt.md
Last activeJuly 12, 2025 19:58
How to recreate Minecraft for web browser in under few minutes with Gemini Pro 2.5 Pro

Three.js First-Person Game blueprint.

The Prompt

You are an experienced game developer tasked with creating an interactive first-person 3D game using Three.js. The game should be similar in style to the following game type:<game_type>
@Sauerstoffdioxid
Sauerstoffdioxid /googleurlparams.md
Last activeJuly 12, 2025 19:55
Google/Blogger Image URL Parameters

This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.

Where to use them?

  • On Blogger's image URL's:2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/s1600/005.png
  • On just about any googleusercontent image URL:https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=w176-h176-n-o

Replace the bolded parts with the parameters.

@ahmedmoustafa
ahmedmoustafa /GSE5583.r
Last activeJuly 12, 2025 19:54
Differential gene expression using R
#############################################################################
# Gene expression analysis of histone deacetylase 1 (HDAC1) knockout mouse
# Affymetrix microarray
# Dataset: GSE5583 (http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE5583)
# Paper: Mol Cell Biol 2006 Nov;26(21):7913-28.
# PMID: 16940178 (http://www.ncbi.nlm.nih.gov/pubmed/16940178)
# R code: Ahmed Moustafa
##############################################################################
# Read the data into R
@bluewalk
bluewalk /GetNordVPNWireGuardDetails.md
Last activeJuly 12, 2025 19:51
Getting NordVPN WireGuard details

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source:https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get theirofficial linux app installed. Make sure you havewireguard installed too. And set the used technology to Nordlynx by runningnordvpn set technology nordlynx

@Kirchlive
Kirchlive /1-claudia-windows-fix.md
Last activeJuly 12, 2025 19:48
Claudia Windows Fix - Enable Claude Code on Windows via WSL

A comprehensive guide to run Claudia GUI on Windows using WSL (Windows Subsystem for Linux) as a compatibility bridge.

🎯 Quick Overview

This fix enables Claudia to run on Windows by:

  • Installing Claude CLI in WSL where it works natively
  • Creating a Windows bridge script (claude.bat) that Claudia can communicate with
  • Automatically detecting and adapting to different Claude CLI versions
@noahvember
noahvember /discord-switch.tsx
CreatedJuly 9, 2025 17:34
A fluidly animated toggle switch input as a shadcn/ui component; inspired by Discord
'use client';
import*asReactfrom'react';
import*asSwitchPrimitivefrom'@radix-ui/react-switch';
import{cn}from'@/lib/utils';
functionSwitch({
className,
onCheckedChange,
...props
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp