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
package icons_service | |
import ( | |
"context" | |
"fmt" | |
"image" | |
"image/png" | |
"io" | |
"net/http" | |
"os" |
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 "UI/UMGSplitter.h" | |
#include "Widgets/SWeakWidget.h" | |
#include UE_INLINE_GENERATED_CPP_BY_NAME(UMGSplitter) | |
#pragma region "Splitter Slot" | |
UUMGSplitterSlot::UUMGSplitterSlot(const FObjectInitializer& Oi): Super(Oi) { | |
Slot = nullptr; | |
} | |
void UUMGSplitterSlot::ReleaseSlateResources(bool bReleaseChildren) { |
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 "Reflection/FunctionCallUtil.h" | |
FFunctionCallParamInfo::FFunctionCallParamInfo() = default; | |
FFunctionCallParamInfo::FFunctionCallParamInfo(bool InIsReturnParam, const FString& InName, int InIndex, FProperty* InProperty): | |
IsReturnParam(InIsReturnParam), | |
Name(InName), | |
Index(InIndex), | |
Property(InProperty) {} |
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
using UnityEditor; | |
using UnityEngine; | |
namespace Game.Util.Extensions | |
{ | |
public class GizmoExtension | |
{ | |
public static void DrawString(string text, Vector3 worldPosition, Color textColor, Vector2 anchor, float textSize = 15f) | |
{ |
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
<?php | |
namespace App\Console\Commands; | |
use App\Support\HashIds; | |
use Illuminate\Console\Command; | |
use Illuminate\Contracts\Container\BindingResolutionException; | |
use Spatie\ModelInfo\ModelFinder; | |
use Str; | |
class GetHashIdCommand extends Command |
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
<?php | |
class SomethingElse | |
{ | |
} | |
class Something | |
{ |
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
// Slapped this together real-quick for some one :D | |
const colors = []; | |
const themeData = JSON.parse('{"name":"Aurora X","type":"dark","colors":{"icon.foreground":"#576daf","activityBar.background":"#07090F","activityBar.foreground":"#86A5FF","activityBar.inactiveForeground":"#576dafc5","activityBarBadge.background":"#86A5FF","activityBarBadge.foreground":"#07090F","badge.background":"#86A5FF","badge.foreground":"#07090F","breadcrumb.activeSelectionForeground":"#86A5FF","breadcrumb.focusForeground":"#576daf","breadcrumb.foreground":"#576dafa6","breadcrumbPicker.background":"#07090F","button.background":"#86A5FF","button.foreground":"#07090F","button.hoverBackground":"#A8BEFF","diffEditor.insertedTextBackground":"#64d3892c","diffEditor.removedTextBackground":"#dd50742c","diffEditor.diagonalFill":"#15182B","descriptionForeground":"#576daf79","dropdown.background":"#15182B","dropdown.foreground":"#c7d5ff99","editor.background":"#07090F","editorCodeLens.foreground":"#262E47","editorGroup.background":"#07090F" |
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
const mix = require('laravel-mix'); | |
const {exec} = require('child_process'); | |
mix.extend('ziggy', new class { | |
register(config = {}) | |
{ | |
this.watch = config.watch ?? ['routes/**/*.php']; | |
this.enabled = config.enabled ?? !Mix.inProduction(); | |
} |
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
type ClientLogic struct { | |
Client *twitchgo.Client | |
} | |
func Main() { | |
clientLogic := ClientLogic{ | |
Client: twitchClient, | |
} | |
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
<template> | |
<div class="bg-white rounded shadow flex items-center justify-center mt-6 p-4" | |
v-if="pagination.total > pagination.per_page"> | |
<ul class=" flex flex-wrap gap-1"> | |
<li v-if="pagination.current_page > 1"> | |
<a class="bg-white block px-4 py-3 text-sm border rounded hover:bg-gray-100" | |
href="javascript:void(0)" | |
aria-label="Previous" | |
v-on:click.prevent="changePage(pagination.current_page - 1)"> | |
<span aria-hidden="true">«</span> |
NewerOlder