Skip to content

Instantly share code, notes, and snippets.

View Xinecraft's full-sized avatar
🥑
Building MineTrax @ https://minetrax.github.io

Xinecraft Xinecraft

🥑
Building MineTrax @ https://minetrax.github.io
View GitHub Profile
You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: 2025-08-08
Image input capabilities: Enabled
Personality: v2
Do not reproduce song lyrics or any other copyrighted material, even if asked.
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor.
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively.
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth.
@Xinecraft
Xinecraft / Calendar.vue
Created July 1, 2025 18:14
ShadCN Vue - Enhanced Calendar with Integrated Date Picker
<script lang="ts" setup>
import { cn } from '@/lib/utils';
import { CalendarDate } from '@internationalized/date';
import { CalendarRoot, type CalendarRootProps, useForwardPropsEmits } from 'reka-ui';
import { computed, type HTMLAttributes, ref, watch } from 'vue';
import {
CalendarCell,
CalendarCellTrigger,
CalendarGrid,
CalendarGridBody,
@Xinecraft
Xinecraft / forge.sh
Created June 1, 2025 18:43 — forked from pLavrenov/forge.sh
Laravel Forge Setup Script (July 2020) - NGINX + MySQL
# Replace!
# [!server!] (the forge server instance)
# [!sudo_password!] (random password for sudo)
# [!db_password!] (random password for database user)
# [!user.name!] (git user name)
# [!user.email!] (git user email)
# [!server_ip!] (git user email)
#
# REQUIRES:
@Xinecraft
Xinecraft / timezones.php
Created July 9, 2023 07:49 — forked from kulbakin/timezones.php
Array of timezones where keys are PHP timezone names and values are human friendly timezone titles.
<?php
/**
* List of timezones
*/
return array(
'Pacific/Midway' => '(UTC-11:00) Midway',
'Pacific/Niue' => '(UTC-11:00) Niue',
'Pacific/Pago_Pago' => '(UTC-11:00) Pago Pago',
'America/Adak' => '(UTC-10:00) Adak',
'Pacific/Honolulu' => '(UTC-10:00) Honolulu',
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
@Xinecraft
Xinecraft / GitCommitEmoji.md
Created January 9, 2020 21:54 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@Xinecraft
Xinecraft / models.js
Created November 8, 2019 07:48 — forked from jordanell/models.js
Sequelize paranoid delete cascade
import paranoidDeleteCascade from './helpers/paranoidDeleteCascade';
// Patch the paranoid delete functionality of Sequelize
sequelize.addHook('afterDestroy', paranoidDeleteCascade(db));
@Xinecraft
Xinecraft / Swat4DedicatedServer.ini
Created October 19, 2017 17:04
|KoS| Optimized Swat4DedicatedServer.ini
[URL]
Protocol=swat4
ProtocolDescription=Swat4 Protocol
Name=Player
Map=Index.s4m
LocalMap=Entry.s4m
Host=
Portal=
MapExt=s4m
EXEName=Swat4.exe