Skip to content

Instantly share code, notes, and snippets.

Tr!Force TriForceX

Block or report user

Report or block TriForceX

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ldk-screen-upgrade.md

LDK Screen Upgrade

The next guide is to replace/upgrade the LDK Game console screen for a bigger one. Thanks to Tbox for this.
Note: There will be a little bit of backlight bleed on the sides but only really noticeable in the dark.

Materials

  • LCD screen (buy)
  • Protector film (buy)
  • Screwdriver
  • Dremel or knife
  • Tape
View ldk-retrofw-install.md

LDK RetroFW Install

This is how to install the custom firmware RetroFW on RS-97 or LDK:

1) Prepare your SD card

Before start we recommend you to extract every additional external disk on your pc. Next download SD card formatter (here) to format your SD card. When launch the program it may appear the 3 partitions related with the sd card, just left selected the first one that appears and just choose quick format and click on Format button. (Volume label is not required)

retrofw-setup-1a retrofw-setup-1b

@TriForceX
TriForceX / wp-prevent-terms.php
Last active Jun 7, 2019
[Wordpress] Deny user add/edit perms on Taxonomies
View wp-prevent-terms.php
<?php
// Deny user add/edit perms on Taxonomies
function prevent_terms($term, $taxonomy)
{
if('taxonomy_slug' === $taxonomy && current_user_can('role_slug'))
{
return new WP_Error('term_addition_blocked', __('You cannot add terms to this taxonomy'));
}
return $term;
}
@TriForceX
TriForceX / g_cmds.c
Last active Aug 5, 2019
[JK2/JKA] Fake Wallhack Command
View g_cmds.c
// Call standardSetBodyAnim
void StandardSetBodyAnim(gentity_t *self, int anim, int flags);
// Fake Wallhack function (NoClip like)
void Cmd_fakeWallhack_f(gentity_t *ent) {
int animation_number;
char animation[MAX_TOKEN_CHARS]; // Define the argument variable. (the argument 0 is already the first command, in this case "fakewh" the second should be "sit" for example /fakewh sit)
trap_Argv(1, animation, sizeof(animation)); // Set the 1st argument recived through a command
You can’t perform that action at this time.