Skip to content

Instantly share code, notes, and snippets.

View H0neyCake's full-sized avatar
🙈
Hard and pink.

Dmytro Kriazhkov H0neyCake

🙈
Hard and pink.
View GitHub Profile
@Glavak
Glavak / ExtensionsRuntime.cs
Last active March 11, 2023 08:40
Файл с кодом для видео-туториала: https://youtu.be/zi3l2etjpFM
/**
* Created by Emerald Powder for video tutorial https://youtu.be/zi3l2etjpFM
**/
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class TreeBase : MonoBehaviour
@aerrity
aerrity / client.js
Last active September 29, 2026 18:12
Node, Express & MongoDB: Button click example
console.log('Client-side code running');
const button = document.getElementById('myButton');
button.addEventListener('click', function(e) {
console.log('button was clicked');
fetch('/clicked', {method: 'POST'})
.then(function(response) {
if(response.ok) {
console.log('click was recorded');
@tomasevich
tomasevich / nginx_nodejs.md
Last active November 27, 2026 21:19
Сервер в связке Nginx + NodeJs

Сервер в связке Nginx + NodeJs

Данная пошаговая инструкция поможет освоить основы на простом примере

Для справки

Сервер поднимался на Debian 8 c характеристиками:

CPU - 1 ядро x 500 МГц

@schmich
schmich / dw.snippet
Last active July 8, 2022 11:34
Visual Studio snippet to insert Debug.WriteLine with dw
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>dw</Title>
<Shortcut>dw</Shortcut>
<Description>Code snippet for Debug.WriteLine</Description>
<Author>Chris Schmich</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>