- Encrypted root partition
- AES-256 bit cipher
- Argon2id variant for PBKDF
- Sha3-512 bit hash
- rEFInd bootloader
- With dreary theme
- Optimal Settings (optimized for aesthetics, and boot time)
- Boot into backups thanks to refind-btrfs
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
class_name ThreadInstancer | |
extends Node | |
## Instantiate a scene in a thread and adds its nodes to the scene tree in batches. | |
# Signals | |
signal scene_loaded(scene: PackedScene) | |
signal root_node_instantiated(node: Node) | |
signal node_instantiated(node: Node) | |
signal batch_instantiated |
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
@tool | |
class_name ProceduralBridge | |
extends Node3D | |
############################## | |
## EXPORT VARIABLES | |
############################## | |
@export var physics_server: bool = false: | |
set(value): |
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
/** | |
* Proximity Fade shader include | |
* | |
* Based on Godot's proximity fade shader feature: | |
* https://github.com/godotengine/godot/blob/97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b/scene/resources/material.cpp#L1643 | |
* | |
* Usage: | |
// Include snippet | |
#include "proximity-fade.gdshaderinc" | |
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
:root { | |
--nord0: #2e3440; | |
--nord1: #3b4252; | |
--nord2: #434c5e; | |
--nord3: #4c566a; | |
--nord4: #d8dee9; | |
--nord5: #e5e9f0; | |
--nord6: #eceff4; | |
--nord7: #8fbcbb; | |
--nord8: #88c0d0; |
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
/** | |
* An approximate port of https://github.com/s-macke/VoxelSpace | |
* using Kotlin and JavaFX. | |
* | |
* Run with : kotlinc -script voxel.kts | |
* | |
* Click on the panel to "fly". | |
* | |
* Twitter: @CedricChampeau | |
*/ |
Method | Side effects1 | State updates2 | Example uses |
---|---|---|---|
Mounting | |||
componentWillMount |
✓ | Constructor equivalent for createClass |
|
render |
Create and return element(s) | ||
componentDidMount |
✓ | ✓ | DOM manipulations, network requests, etc. |
Updating | |||
componentWillReceiveProps |
✓ | Update state based on changed props |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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
@Configuration | |
@EnableCaching | |
@ConditionalOnExpression("${spring.cacheable.cache}") | |
public class EhCacheConfiguration { | |
@Autowired | |
private net.sf.ehcache.CacheManager cacheManager; | |
@Bean(name = "cacheManager") | |
public CacheManager ehCacheCacheManager() |
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
public List<String> randomDictionaryWords() throws IOException { | |
try (InputStream is = new FileInputStream(new File("/usr/share/dict/words"))) { | |
BufferedReader br = new BufferedReader(new InputStreamReader(is)); | |
return br.lines() | |
.filter(line -> line.length() >= MIN_WORD_LENGTH && line.length() <= MAX_WORD_LENGTH) | |
.filter(word -> word.equals(word.toLowerCase())) | |
.filter(word -> random() < DICTIONARY_SAMPLING_RATE) | |
.limit(50) | |
.collect(Collectors.toList()); |
NewerOlder