Skip to content

Instantly share code, notes, and snippets.

@7hny
7hny / machine.js
Created February 22, 2021 19:42
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@7hny
7hny / ssl-cert.md
Last active December 23, 2020 12:02
Aktualizacja certyfikatów SSL: certyfikatyssl.pl, Apache2 na Oktawave

Instalacja ssl

Apache - Instalacja Modułu ssl i uruchomienie konfiguracji ssl

SSL Certificates with Apache on Debian & Ubuntu Jako root w konsoli oktawave

  • a2enmod ssl instalacja modułu ssl w apache
  • a2ensite example.com tworzy symlink pliku konfiguracyjnego z sites available do sites enabled
  • service apache2 restart restart apache

Odnawianie certyfikatu ssl

@7hny
7hny / machine.js
Last active November 22, 2020 20:32
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@7hny
7hny / machine.js
Last active November 18, 2020 21:03
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@7hny
7hny / Fog
Last active December 14, 2021 11:10
Begin Map
Begin Level
Begin Actor Class=/Script/Engine.ExponentialHeightFog Name=ExponentialHeightFog_1 Archetype=/Script/Engine.ExponentialHeightFog'/Script/Engine.Default__ExponentialHeightFog'
Begin Object Class=/Script/Engine.BillboardComponent Name="Sprite" Archetype=BillboardComponent'/Script/Engine.Default__ExponentialHeightFog:Sprite'
End Object
Begin Object Class=/Script/Engine.ExponentialHeightFogComponent Name="HeightFogComponent0" Archetype=ExponentialHeightFogComponent'/Script/Engine.Default__ExponentialHeightFog:HeightFogComponent0'
End Object
Begin Object Name="Sprite"
AttachParent="HeightFogComponent0"
End Object
@7hny
7hny / Lightmass.md
Created September 12, 2019 12:34
UE4 lightmass settings

aa

@7hny
7hny / Lightmass.md
Created September 12, 2019 12:34
UE4 lightmass settings

aa

@7hny
7hny / GameFrameWork.as
Created December 1, 2017 11:37
THE ESSENTIAL GUIDE TO FLASH GAMES GameFrameWork
package com.efg.framework
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.geom.Point;
import flash.text.TextFormat;
@7hny
7hny / Unicode characters PL
Created May 23, 2017 09:38
Unicode characters PL
!"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ęóąśłżźćńĘÓĄŚŁŻŹĆŃ
@7hny
7hny / friendo.css
Last active August 29, 2015 13:58
CSS layout helper
/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}