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
func main(): | |
[ap] = 1000; ap++ | |
[ap] = 2000; ap++ | |
[ap] = [ap - 2] + [ap - 1]; ap++ | |
ret | |
end |
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
with import <nixpkgs> { }; | |
let pythonPackages = python39Packages; | |
in pkgs.mkShell rec { | |
name = "impurePythonEnv"; | |
venvDir = "./env"; | |
buildInputs = [ | |
# A Python interpreter including the 'venv' module is required to bootstrap | |
# the environment. | |
pythonPackages.python |
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
aiohttp @ file:///private/tmp/nix-build-python3.8-aiohttp-3.8.1.drv-0/aiohttp-3.8.1/dist/aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl | |
aiosignal @ file:///private/tmp/nix-build-python3.8-aiosignal-1.2.0.drv-0/source/dist/aiosignal-1.2.0-py3-none-any.whl | |
async-timeout @ file:///private/tmp/nix-build-python3.8-async-timeout-4.0.1.drv-0/async-timeout-4.0.1/dist/async_timeout-4.0.1-py3-none-any.whl | |
attrs @ file:///private/tmp/nix-build-python3.8-attrs-21.2.0.drv-0/attrs-21.2.0/dist/attrs-21.2.0-py2.py3-none-any.whl | |
bitarray @ file:///private/tmp/nix-build-python3.8-bitarray-1.2.2.drv-0/bitarray-1.2.2/dist/bitarray-1.2.2-cp38-cp38-macosx_11_0_arm64.whl | |
certifi @ file:///private/tmp/nix-build-python3.8-certifi-2021.10.8.drv-0/source/dist/certifi-2021.10.8-py2.py3-none-any.whl | |
charset-normalizer @ file:///private/tmp/nix-build-python3.8-charset-normalizer-2.0.8.drv-0/source/dist/charset_normalizer-2.0.8-py3-none-any.whl | |
Cython @ file:///private/tmp/nix-build-python3.8-cython-0.29.24.drv-0/Cython-0.29.24/dist/Cython- |
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
let rec h x y = | |
let rec h2 x y acc = | |
if x = y then acc | |
else if x < y then h2 (x - 1) (y - 2) (acc + x + y) | |
else h2 (x - 1) y (acc * y) | |
in | |
h2 x y 1 | |
let f1 = | |
let rec f1rec x = |
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
{ lib, fetchurl, makeDesktopItem, appimageTools, imagemagick }: | |
let | |
pname = "sigma-file-manager"; | |
version = "1.3.0"; | |
name = "${pname}-${version}"; | |
src = fetchurl { | |
url = "https://github.com/aleksey-hoffman/${pname}/releases/download/v${version}/${name}-Linux-Debian.AppImage"; | |
sha256 = "1s0f8hh5xyigpm5ikl1f8mpzd94kj3sr18d9zi2x0m7yclxyc5pm"; |
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
ProtocolLib Dump | |
Timestamp: 08/06/21 17:24:50 | |
ProtocolLib Version: ProtocolLib v4.7.0 | |
Bukkit Version: 1.16.5-R0.1-SNAPSHOT | |
Server Version: git-Paper-783 (MC: 1.16.5) | |
Java Version: 16.0.1 | |
ProtocolLib: com.comphenix.protocol.ProtocolLib@671287da[ | |
statistics=com.comphenix.protocol.metrics.Statistics@41e83d5 |
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
[15:15:22] [Netty Server IO #1/ERROR]: [Oraxen] Unhandled exception occured in onPacketReceiving(PacketEvent) for Oraxen | |
java.lang.IllegalArgumentException: No enum constant com.comphenix.protocol.wrappers.EnumWrappers.PlayerDigType.SWAP_ITEM_WITH_OFFHAND | |
at java.lang.Enum.valueOf(Enum.java:273) ~[?:?] | |
at com.comphenix.protocol.wrappers.EnumWrappers$EnumConverter.getSpecific(EnumWrappers.java:806) ~[?:?] | |
at com.comphenix.protocol.wrappers.EnumWrappers$EnumConverter.getSpecific(EnumWrappers.java:792) ~[?:?] | |
at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:229) ~[?:?] | |
at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:197) ~[?:?] | |
at com.comphenix.protocol.reflect.StructureModifier.getValues(StructureModifier.java:678) ~[?:?] | |
at io.th0rgal.oraxen.utils.breaker.BreakerSystem$1.onPacketReceiving(BreakerSystem.java:72) ~[?:?] | |
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeReceivingListener(SortedPacketListenerList.java:11 |
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
import style from "./style"; | |
import { Component } from "preact"; | |
import { route } from "preact-router"; | |
export default class Home extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
hasCode: false, | |
creating: false, |
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
async def main(loop): | |
config = Config("config.toml", "config.template.toml") | |
client = cryptocom.Client(config.api_key, config.api_secret) | |
await client.load_market() | |
print("I want this instruction to be executed but I also want my infinite loop to keep running at the same time") |
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
amethyst_ore: | |
displayname: '&dAmethyst Ore' | |
material: DIAMOND | |
Pack: | |
generate_model: true | |
parent_model: block/cube_all | |
textures: | |
- amethyst_ore | |
custom_model_data: 2 | |
Mechanics: |