Schema | format_version | In schemas | In examples | In vanilla |
---|---|---|---|---|
animation | 1.8.0 | Yes | Yes | Yes |
animation_controller | 1.8.0 | Yes | Yes | Yes |
1.10.0 | Yes | Yes | Yes | |
block_reference | 1.10.0 | Yes | No | |
client_entity | 1.8.0 | Yes | Yes | Yes |
1.10.0 | Yes | Yes | Yes | |
attachable | 1.8.0 | Yes | Yes | Yes |
1.10 | No | No | Yes |
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/env osascript -l JavaScript | |
// Creating a window in JXA, without needing to save the script as a stay-open application in Script Editor | |
// References: | |
// - https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/OSX10-10.html | |
// - https://sarunw.com/posts/how-to-create-macos-app-without-storyboard/ | |
// - https://gist.github.com/search?q=user%3Auchcode+jxa | |
// - https://stackoverflow.com/questions/32555933/programmatically-creating-and-populating-a-nswindow-using-jxa |
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
{ | |
"format_version": "1.12.0", | |
"minecraft:geometry": [ | |
{ | |
"description": { | |
"identifier": "geometry.test.tschrock", | |
"texture_width": 64, | |
"texture_height": 64, | |
"visible_bounds_width": 3, | |
"visible_bounds_height": 2.5, |
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
#!/bin/sh | |
# | |
# ask2run | |
# v1.0.0 | |
# | |
# Provides a graphical prompt for opening or executing a script file, emulating | |
# GNOME Files (Nautilus)'s old "Do you want to run X?" prompt that has since | |
# been removed. Depends on `zenity` for graphical prompts. | |
# | |
# -------------- Usage ---------------- |
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
#include <stdio.h> | |
#include <unistd.h> | |
#include <ftw.h> | |
#define BUFFER_SIZE (1 * 1024 * 1024) | |
void filterfile(const char *filepath) { | |
unsigned char buffer[BUFFER_SIZE]; | |
FILE * file; |
The UI engine has a number of quirks, this file tries to document some of them.
- The top of the screen gets cut off by about 4 pixels
- Fonts act a bit weird. Some elements will inherit the font-family of their parent, while others like buttons do not. Also, there doesn't seem to be a fallback font (or it's not working on my system) because anything without a font-family (or set to an invalid font-family) does not render text.
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
@-moz-document domain("derpibooru.org"), domain("trixiebooru.org") { | |
.interaction--fave .fa, .interaction--upvote .fa, .interaction--downvote .fa, .interaction--comments .fa { | |
background-size: 100% 100%; | |
color: transparent; | |
width: 20px; | |
height: 20px; | |
vertical-align: middle; | |
} |
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
#!/bin/bash | |
# Usage: | |
# sudo ./modify_rpi_disk_image.sh raspbian-stretch-lite.img | |
function exit_with_error { | |
echo "Error: $2" | |
exit $1 | |
} |
I hereby claim:
- I am tschrock on github.
- I am cyberpon3 (https://keybase.io/cyberpon3) on keybase.
- I have a public key ASCXDj9kLceqhUGdbC0fzoZqdtX1pQdSFPM1w6Tuuo5ihgo
To claim this, I am signing this object:
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
#!/bin/bash | |
SCREENSHOTS_DIR="$HOME/Pictures/Screenshots/" | |
REMOTE_HOST="[email protected]" | |
REMOTE_PORT="9433" | |
REMOTE_PATH="/var/www/p.cp3.es/" | |
HTTP_HOST="https://p.cp3.es/" |
NewerOlder