Skip to content

Instantly share code, notes, and snippets.

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

Dmitry Kriazhkov H0neyCake

🙈
Hard and pink.
View GitHub Profile
@rjescobar
rjescobar / extend-trial-jetbrains-windows.bat
Created August 31, 2021 02:53
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@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 August 30, 2024 15:49
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 September 17, 2024 17:17
Сервер в связке 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>