I hereby claim:
- I am spilth on github.
- I am spilth (https://keybase.io/spilth) on keybase.
- I have a public key ASD4XSV7OeEY9an8SgZAKsymoML6tWHccTcxnxYaPER1tgo
To claim this, I am signing this object:
| def values_or_defaults(section="0", subsection="0", block="0", lot="0", subplot="0", suffix="0"): | |
| return section, subsection, block, lot, subplot, suffix | |
| def print_key_to_sbl(print_key): | |
| parts = print_key.replace(".", "-").split("-") | |
| section, subsection, block, lot, subplot, suffix = values_or_defaults(*parts) | |
| return (f'{section.zfill(3)}' | |
| f'{subsection.zfill(3)}' | |
| f'{block.zfill(4)}' | 
| from qgis.gui import QgsMessageBar | |
| from qgis.PyQt.Qt import QApplication | |
| import json | |
| crs = QgsProject.instance().crs() | |
| extent = iface.mapCanvas().extent() | |
| envelope = { | |
| "xmin": extent.xMinimum(), | 
I hereby claim:
To claim this, I am signing this object:
| using { /Fortnite.com/Devices } | |
| using { /Verse.org/Simulation } | |
| using { /Verse.org/Random } | |
| using { /UnrealEngine.com/Temporary/Diagnostics } | |
| SpawnedMessage<localizes>(ItemName:string, Location:string):message = "The {ItemName} has spawned {Location}!" | |
| DroppedMessage<localizes>(ItemName:string): message = "The {ItemName} has been dropped!" | |
| PickedUpMessage<localizes>(Title:string): message = "Somebody has become {Title}" | |
| TrackerMessage<localizes>(ItemName:string, Location:string):message = "Grab the {ItemName} located {Location}!" | 
| using { /Fortnite.com/Devices } | |
| using { /Verse.org/Simulation } | |
| using { /Verse.org/Random } | |
| using { /UnrealEngine.com/Temporary/Diagnostics } | |
| capture_barrier := class<concrete>: | |
| @editable | |
| CaptureItemSpawnerDevice:capture_item_spawner_device = capture_item_spawner_device{} | 
| using { /Fortnite.com/Devices } | |
| using { /Verse.org/Simulation } | |
| using { /UnrealEngine.com/Temporary/Diagnostics } | |
| using { /UnrealEngine.com/Temporary/SpatialMath } | |
| direction := enum{Up, Down, Left, Right} | |
| coordinates := struct<concrete>: | |
| @editable | |
| X : float = 0.0 | 
| task :build do | |
| # Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted | |
| puts "Building..." | |
| worlds_directory = 'C:\Users\polym\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\\' | |
| newest_world = Dir.entries(worlds_directory).select{|x| x != '.' && x != '..'}.sort_by { |x| File.mtime(worlds_directory + '\\' + x) }.reverse.first | |
| puts newest_world | |
| world = "C:\\Users\\polym\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\minecraftWorlds\\#{newest_world}" | 
This is a quick example to help illustrate what a Rails 7 application does when Turbo Drive is enabled versus when it is disabled.
It is assumed you are using the following version of Ruby and Rails:
$ ruby --version
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-darwin21]
$ rails --version| <p style="color: green"><%= notice %></p> | |
| <h1>Albums</h1> | |
| <%= turbo_frame_tag :items do %> | |
| <% @albums.each do |album| %> | |
| <%= render album %> | |
| <p> | |
| <%= link_to "Show this album", album %> | |
| </p> |