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
import type Node from './Node' | |
// eslint-disable-next-line @typescript-eslint/no-empty-function | |
function noop() {} | |
export type ReceiveCallback = (payload: unknown | null) => void | |
export default class IO { | |
protected readonly node!: Node | |
protected readonly onReceive!: ReceiveCallback | |
protected to: IO | null = null |
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
;---------------------------------------------------------------------- | |
; PoE Flasks macro for AutoHotKey | |
; Inspiration : https://github.com/JoelStanford/PoEAutoFlask/blob/master/PoEAutoFlask.ahk | |
;---------------------------------------------------------------------- | |
#IfWinActive Path of Exile | |
#SingleInstance force | |
#NoEnv | |
#Warn | |
#Persistent |
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; | |
using UnityEngine.Tilemaps; | |
using System.Collections; | |
using System.Collections.Generic; | |
public enum BlockMaterial { GRASS, SAND, WATER } | |
public class MapGenerator : MonoBehaviour | |
{ | |
public Tilemap map; |
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
# Init scoreboard | |
scoreboard objectives add EntityCount dummy | |
scoreboard players set Entities EntityCount 0 | |
scoreboard players set Items EntityCount 0 | |
# Filter entity | |
scoreboard players tag @e[type=!player] add noCountEntity | |
scoreboard players tag @e[type=item] add noCountEntity | |
# Summon exetor |
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
.slider { | |
position: relative; | |
} | |
/** | |
* Slides | |
*/ | |
.slider > .slides { | |
height: 620px; | |
margin: 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
<?php | |
/** | |
* Send an SMS with ISend Pro | |
* User: Rodriguez Dorian | |
* Date: 25/01/2017 | |
* Time: 15:06 | |
*/ | |
class ISendPro | |
{ | |
private $apiKey, $transmitter; |
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
.modal-open { | |
overflow: hidden; | |
} | |
.modal { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; |