Skip to content

Instantly share code, notes, and snippets.

View Log1x's full-sized avatar

Brandon Log1x

View GitHub Profile
@Log1x
Log1x / egg-palworld-linux-ue4ss.json
Last active May 18, 2024 21:17
A Pterodactyl Egg for Palworld Linux running a modified version of UE4SS
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-05-18T15:41:37-05:00",
"name": "Palworld Linux (UE4SS)",
"author": "brandon@tendency.me",
"description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!",
@Log1x
Log1x / Roles.php
Last active April 2, 2024 18:53
Laracord `/roles` command example
<?php
namespace App\SlashCommands;
use Discord\Parts\Interactions\Interaction;
use Discord\Parts\User\Member;
use Laracord\Commands\SlashCommand;
class Roles extends SlashCommand
{
@Log1x
Log1x / PostSearch.php
Last active May 28, 2024 07:56
Post Search component example using Acorn v4 and Livewire 3
<?php
namespace App\Livewire;
use Livewire\Attributes\Url;
use Livewire\Component;
use WP_Query;
class PostSearch extends Component
{
@Log1x
Log1x / README.md
Last active May 21, 2024 19:56
Envoyer Hooks for Bedrock+Sage w/ RunCloud

Envoyer Hooks for Bedrock+Sage w/ RunCloud

This is a simple breakdown of how I deploy Bedrock+Sage using RunCloud and Envoyer.

Hooks

Install Theme Dependencies

cd {{ release }}/web/app/themes/sage
@Log1x
Log1x / README.md
Last active October 13, 2023 11:40
Counter-Strike 1.6 Server Config

Log1x's CS 1.6 Server Config

This is the latest version of my CS 1.6 server config.

Server

As of October 2023, I currently have a 1000 Tickrate server online located in Ashburn, VA. Feel free to join!

connect play.log1x.com
@Log1x
Log1x / README.md
Last active November 22, 2023 22:29
Counter-Strike 1.6 Config

Log1x's CS 1.6 Config

This is the latest version of my CS 1.6 config.

Installation

Copy userconfig.cfg to steamapps\common\Half-Life\cstrike

Launch Options

@Log1x
Log1x / EditPost.php
Last active December 13, 2023 14:40
Filament Peek URL Preview Helper
<?php
namespace App\Filament\Resources\PostResource\Pages;
use App\Concerns\HasPreview;
use App\Filament\Resources\PostResource;
use Filament\Resources\Pages\EditRecord;
use Pboivin\FilamentPeek\Pages\Actions\PreviewAction;
use Pboivin\FilamentPeek\Pages\Concerns\HasPreviewModal;
@Log1x
Log1x / phpmailer-smtp.php
Created March 11, 2022 16:03
Simple PHPMailer SMTP mu-plugin
<?php
use function Env\env;
/**
* Plugin Name: PHPMailer SMTP
* Plugin URI: https://roots.io/bedrock/
* Description: Simple PHPMailer SMTP configuration for Bedrock.
* Version: 1.0.0
* Author: Roots
@Log1x
Log1x / Rating.php
Last active December 1, 2020 13:08
Rating component
<?php
namespace App\View\Components;
use Roots\Acorn\View\Component;
class Rating extends Component
{
/**
* The rating value.
@Log1x
Log1x / README.md
Last active November 28, 2023 21:15
Uptime Robot Discord Webhook

Uptime Robot Webhook for Discord

Screenshot

Configuration

  • Alert Contact Type: Web-Hook
  • URL to Notify: https://discordapp.com/api/webhooks/CHANGEME/CHANGEME?
    • Must end with ?