Keyword | Description |
---|---|
required |
The action implementation runs on components marked as required and can read/write to them. |
readonly |
The action implementation can only read data from components marked as readonly . Can only be used with the required . |
include |
The action is run on entities with components marked as include but cannot read or write them. |
exclude |
The action skips entities with components marked as exclude . |
Event Type | Event Description |
---|---|
Create Entity | A new entity has been added to the registry either through execution options or generated by a system/action. |
Init Component | A new component has been added to an entity through execution options or by a system/action. |
Update Component | A components value has changed on an entity through execution options or by a system/action. |
Remove Component | A component has been removed from an entity through execution options or by a system/action |
Destroy Entity | An entity has been removed from the registry through execution options or by a system/action. |
This file contains hidden or 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
Event Type | Event Description | |
---|---|---|
Create Entity | A new entity has been added to the registry either through execution options or generated by a system/action. | |
Init Component | A new component has been added to an entity through execution options or by a system/action. | |
Update Component | A components value has changed on an entity through execution options or by a system/action. | |
Remove Component | A component has been removed from an entity through execution options or by a system/action. | |
Destroy Entity | An entity has been removed from the registry through execution options or by a system/action. |
This file contains hidden or 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 | |
set -e | |
sudo tee /etc/wsl.conf > /dev/null <<EOF | |
[interop] | |
appendWindowsPath = false | |
EOF | |
sudo apt-add-repository -y ppa:fish-shell/release-3 |
This file contains hidden or 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
[Unit] | |
Description=Redis In-Memory Data Store | |
After=network.target | |
[Service] | |
User=redis | |
Group=redis | |
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf | |
ExecStop=/usr/local/bin/redis-cli shutdown | |
Restart=always |
This file contains hidden or 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
"use strict"; | |
var createSearchableDocumentFragment = (function() { | |
var SearchableDocumentFragmentMethods = { | |
getElementsByTagName(tagName) { | |
tagName = tagName.toUpperCase(); | |
var elementsWithTagName = []; | |
This file contains hidden or 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
/* Css selectors generated by the script below for Font Awesome on the web page: http://astronautweb.co/snippet/font-awesome/ */ | |
/* | |
var cssSrc = ""; | |
var elements = document.querySelectorAll("#font-awesome-list > ul > li"); | |
for(var i=0; elements.length > i; i++) { | |
var element = elements[i]; | |
cssSrc += ".icon-before." + element.querySelector(".icon-name").textContent + ":before{content:" + element.querySelector(".icon-value").textContent +";}\n"; | |
cssSrc += ".icon-after." + element.querySelector(".icon-name").textContent + ":after{content:" + element.querySelector(".icon-value").textContent +";}\n"; | |
} | |
*/ |
This file contains hidden or 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
--- a/drivers/hid/hid-ids.h 2014-01-19 21:40:07.000000000 -0500 | |
+++ b/drivers/hid/hid-ids.h 2014-04-20 23:29:35.000000000 -0400 | |
@@ -631,6 +631,7 @@ | |
#define USB_DEVICE_ID_MS_NE4K 0x00db | |
#define USB_DEVICE_ID_MS_NE4K_JP 0x00dc | |
#define USB_DEVICE_ID_MS_LK6K 0x00f9 | |
+#define USB_DEVICE_ID_MS_TYPE_COVER_3 0x07dc | |
#define USB_DEVICE_ID_MS_PRESENTER_8K_BT 0x0701 | |
#define USB_DEVICE_ID_MS_PRESENTER_8K_USB 0x0713 | |
#define USB_DEVICE_ID_MS_DIGITAL_MEDIA_3K 0x0730 |
This file contains hidden or 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
#define SDL_MAIN_HANDLED | |
#include <SDL2/SDL.h> | |
#include <vector> | |
#include <array> | |
SDL_Renderer* renderer; | |
std::vector<SDL_Point> points; | |
std::vector<std::pair<SDL_Point, float>> fadingPoints; | |
SDL_Point mousePos; |
This file contains hidden or 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
set(SDL2_VERSION "2.0.3") | |
set(SDL2_SOURCE_DIR "${CMAKE_BINARY_DIR}/SDL2-${SDL2_VERSION}.src") | |
set(SDL2_BINARY_DIR "${CMAKE_BINARY_DIR}/SDL2-${SDL2_VERSION}.bin") | |
set(SDL2_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/SDL2-${SDL2_VERSION}") | |
if(EXISTS "${CMAKE_BINARY_DIR}/SDL2-${SDL2_VERSION}.tar.gz") | |
else() | |
NewerOlder