Extracted from BLR, via their Filemaker database download.
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
import os | |
import tqdm | |
import openai | |
openai.api_key = os.environ["OPENAI_API_KEY"] | |
def get_response(usermsg): | |
response = openai.ChatCompletion.create( |
This file contains 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
# pip install beautifulsoup4 requests markdownify mistletoe | |
# command line usage: python chunkpaper.py 'https://ar5iv.org/abs/1910.06709' | |
# will dump the HTML, Markdown, and finally the chunk JSON | |
# note that (as of Nov 8 '23) ar5iv only has arxiv papers converted up to the end of October, | |
# but if you need something more recent you could probably do the LaTeX→HTML conversion yourself | |
# library usage: call `chunk` with some ar5iv HTML. will probably choke on anything else | |
import dataclasses |
This file contains 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
# put in rss_proxy/ as app.py and run with `python -m flask run` | |
# requirements: flask beautifulsoup4 requests lxml | |
# usage: `curl localhost:5000?feed=https://instance.example.com/users/username.rss` | |
from bs4 import BeautifulSoup | |
from flask import Flask, request | |
import requests | |
from lxml.builder import E | |
import lxml.etree |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.5.3/pixi.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/planck-js/0.1.34/planck-with-testbed.js"></script> | |
</head> | |
<body> |
First, install the build dependencies for amarok. Mostly, these are just headers and support libraries to hook into KDE. On debian-based systems, you can simply run # apt-get install build-essential git-core; apt-get build-dep amarok
as root.
Then, using git
, clone the amarok repository from KDE's anongit:
git clone git://anongit.kde.org/amarok.git; cd amarok
Before doing anything else, you should check the README
and INSTALL
files to see if anything has changed in these steps. They will note any important build updates.
This file contains 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/python | |
from openni import * | |
import kinect_motor | |
import uinput | |
import math | |
grabbed = False | |
def setup_uinput(): |
This file contains 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
WorldServer worldServer = DimensionManager.getWorld(dim); | |
if (worldServer == null) { | |
DimensionManager.initDimension(dim); | |
worldServer = DimensionManager.getWorld(dim); | |
} | |
if (dim != dimRendering) { | |
dimRendering = dim; | |
privRG.setWorldAndLoadRenderers(Minecraft.getMinecraft().theWorld); | |
} | |
System.out.println("render " + MinecraftForgeClient.getRenderPass()); |
NewerOlder