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
<!-- This code generated via ChatGPT by Mopsicus --> | |
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Генератор карточек для Русского Лото</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf-lib/1.17.1/pdf-lib.min.js"></script> | |
<style> | |
body { |
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
// ---------------------------------------------------------------------------- | |
// The MIT License | |
// EmojiHelper https://gist.github.com/mopsicus/3903a1f111a738375a363b9e3f058385 | |
// Copyright (c) 2022 Mopsicus <mail@mopsicus.ru> | |
// ---------------------------------------------------------------------------- | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; |
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 System.IO; | |
using System.Text; | |
using System.Xml; | |
using UnityEditor.Android; | |
public class PreBuildManifestUpdate : IPostGenerateGradleAndroidProject { | |
/// <summary> | |
/// Method runs after gradle generated, before build | |
/// </summary> |
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
// ---------------------------------------------------------------------------- | |
// The MIT License | |
// TextGradient https://gist.github.com/mopsicus/9d344451ca614d7e9937bc0c6da2b21d | |
// Copyright (c) 2020 Mopsicus <mail@mopsicus.ru> | |
// ---------------------------------------------------------------------------- | |
using System.Collections; | |
using System.Collections.Generic; | |
using TMPro; | |
using UnityEngine; |
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 | |
clear | |
START=$(date +"%s") | |
function ShowElapsedTime { | |
echo '' | |
end=$(date +"%s") | |
elapsed=$(($end-$START)) |
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
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
Shader "Sprites/DefaultStencil" | |
{ | |
Properties | |
{ | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0 |
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 UnityEngine; | |
/// <summary> | |
/// Fix position for objects in non canvas | |
/// </summary> | |
[ExecuteInEditMode] | |
public class SnapPosition : MonoBehaviour { | |
/// <summary> | |
/// Anchor settings |
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
<? | |
$db_user = ''; // db user name | |
$db_password = ''; // db pass | |
$db_database = ''; // db name | |
$db_host = 'localhost'; // db url | |
$db = new mysqli($db_host, $db_user, $db_password, $db_database); | |
$result = $db->query("SELECT * FROM `notes` WHERE IsPublished = 1 AND isvisible = 1 ORDER BY `Stamp` DESC LIMIT 1"); |