Just a little demo how to use bootstraps toasts component with HTMX and custom triggers. Toasts are stackable and grouped by message (so the same message doesn't pop up several times, when already open.
A Pen by Marcus at Localhost on CodePen.
#!/bin/bash | |
COOKIE_VALUE='L1NJRXM5eXkxMVhYMnUwNlRtVjd5Q3JWOGVtSjdxY0NneXBuSlNpQmdhb2xZZ2pyR3RCRENFamJSV1E4QXhqZkJpeVlGeTFzQ2UyalQ1RnI5ZHJWWGdvSG5NcFAxK05ramc4MGVKdnhWOEtOSUxaMlJWeGNocHFOWkh1aktmQy9lbHliYllhalhpWUFZYkVpWDkvdTZNdTRvd2JQYmxURnoyVGdUMHdXWVRMU3hVNGdFbWlnQ2U2c2RVbEMvS2FKK2NqTjl6U2ZwU2xtS09wdHlqNGJ2U05URVFaUmNydkxjY0VWNGJpSTd6U1poOWpxaWE1K09TZ01oTkdLYjljTVdLbVd1UWVRSHc1WkhMbjR6cUpCeklnNmNOUXVxS1FyU2xWUmxYbVBWdE09LS1oY1JibHM2RnZ5bStVRm0yYXFuYXBRPT0%3D--1878c3d65e1c28cdd2da459577e8fb9894e2cd7a' | |
CSRF_TOKEN='yOcFwFaW/ZdCZZj2Co1s8Va2+f6RFx3IYjKiup505yDm1HOi7Cq5IAoi8CaRdOIZEt8akygs1pph6W7M910j+g==' | |
# http GET localhost:3000/records/from/primo.json per=all _=123456 'Origin:http://localhost:8004' | |
http GET localhost:3000/records/from/primo.json per=all _=123456 'Origin:http://localhost:8004' \ | |
"Cookie:_eshelf_session=${COOKIE_VALUE}; path=/; HttpOnly" "X-CSRF-Token:${CSRF_TOKEN}" | |
# http POST localhost:3000/records.json \ | |
# record:='{"external_system":"primo","external_id":"dedupmrg412226627"}' \ |
# Just a quick update for GPT and to use `rsync` instead of `cp`! | |
# That means this applies to UEFI boot, though for legacy BIOD boot, feel free to swap | |
# GPT to MBR below. | |
# Requires https://homebrew.sh to split the install.wim file | |
brew install wimlib | |
# First, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list |
Just a little demo how to use bootstraps toasts component with HTMX and custom triggers. Toasts are stackable and grouped by message (so the same message doesn't pop up several times, when already open.
A Pen by Marcus at Localhost on CodePen.
In this how-to it is being explained how to create a maven repository on github and how to use an existing one.
Clone your original project to a new local repository (change GROUP-NAME and PROJECT-NAME) git clone https://github.com/GROUP-NAME/PROJECT-NAME.git PROJECT-NAME-maven2
Go to the clonned repository (use your PROJECT-NAME-maven2)
cd PROJECT-NAME-maven2
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
import SwiftUI | |
public struct ScrollViewWrapper<Content: View>: UIViewRepresentable { | |
@Binding var contentOffset: CGPoint | |
let content: () -> Content | |
public init(contentOffset: Binding<CGPoint>, @ViewBuilder _ content: @escaping () -> Content) { | |
self._contentOffset = contentOffset | |
self.content = content | |
} |
The Gilbert–Johnson–Keerthi (GJK) distance algorithm is a method of determining the minimum distance between two convex sets. The algorithm's stability, speed which operates in near-constant time, and small storage footprint make it popular for realtime collision detection.
Unlike many other distance algorithms, it has no requirments on geometry data to be stored in any specific format, but instead relies solely on a support function to iteratively generate closer simplices to the correct answer using the Minkowski sum (CSO) of two convex shapes.
Blazor and Htmx are unique technologies with strengths and weaknesses. In this short list, we'll discuss five reasons to use the technologies together and five reasons to avoid the combination.
ASP.NET Core, now with Blazor Server-side Rendering (SSR), is a robust backend HTML generator. You can do almost everything for UI on the server, and with Htmx, you can accomplish some commonly difficult client-side interactions with relative ease.
curl -I -X OPTIONS \ | |
-H "Origin: http://EXAMPLE.COM" \ | |
-H 'Access-Control-Request-Method: GET' \ | |
http://EXAMPLE.COM/SOMETHING 2>&1 | grep 'Access-Control-Allow-Origin' |
View: Pods(<namespace>)[number of pods listed] | |
NAME pod name | |
READY number of pods in ready state / number of pods to be in ready state | |
RESTARTS number of times the pod has been restarted so far | |
STATUS state of the pod life cycle, such as Running | ... | Completed | |
CPU current CPU usage, unit is milli-vCPU | |
MEM current main memory usage, unit is MiB | |
%CPU/R current CPU usage as a percentage of what has been requested by the pod | |
%MEM/R current main memory usage as a percentage of what has been requested by the pod |