- Install Stylebot or another CSS extension
- Paste CSS
- Enjoy highlighted turbo-frames, forms, and changed elements on the page
![image](https://private-user-images.githubusercontent.com/115612/299342631-26c09f19-8912-4c33-82bc-62c273cbcff0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTY3NzUsIm5iZiI6MTczOTU1NjQ3NSwicGF0aCI6Ii8xMTU2MTIvMjk5MzQyNjMxLTI2YzA5ZjE5LTg5MTItNGMzMy04MmJjLTYyYzI3M2NiY2ZmMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQxODA3NTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MmI4YTQwMzRiNDllM2JlMzA4MTUwODkxMzQ4ZTUxOTc5Mzc4NDBmODY2MDE1MGRiYTU5MTYzYzI0YjFhNjFiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.oelqSngGPSzYjq5GSBDufCVN8XcsmOszihudIpVkSfc)
organization_id = 1 | |
def id | |
(Time.now.to_f * 1000000).to_i | |
end | |
o = Organization.find(organization_id) | |
i = Integration.find_by(organization_id: organization_id, integration_type: "git_hostings_github") || | |
Integration.create( | |
organization: o, |
// <turbo-stream action="reload" target="frame-id"></turbo-stream> | |
StreamActions.reload = function () { | |
document.getElementById(this.getAttribute("target"))?.reload() | |
} |
When replacing Stimulus with Alpine there are some things we need to consider. I propose to follow rails conventions as close as possible.
_controller
btw.legos/
select.rb
select.html.slim
select.js
graph
TrackingTime --> ManualTime
TrackingTime --> AutomaticTime
TrackingTime --> MobileTime
graph
T(TrackingTime)
### Keybase proof | |
I hereby claim: | |
* I am firedev on github. | |
* I am firedev (https://keybase.io/firedev) on keybase. | |
* I have a public key ASAx0EdMDYGlPGXQUvWIvi76fKLc6n5oeYeFyPAhfqlB3Ao | |
To claim this, I am signing this object: |
With the introduction of the function type() it is now possible to know the type of the variable.
So I tried to find a way to implement a simple class system and I think I found a way
First we need a function to copy tables
function copy(o)
local c
-- https://twitter.com/lucatron_/status/1252171663883423745 | |
-- https://gist.github.com/lucatronica/5d1b2bdceced5d5f1315b8e2f252146e | |
for i=1,8 do pal(i,({8,11,10,140,14,12,7})[i],1)end | |
::_::cls() | |
?"#pico8♥",0,0,8 | |
for i=0,2 do | |
k=.25+i/60+cos(t()/8)/5 | |
for y=0,5,.25 do | |
for x=0,30,.25 do |
const asyncWrap = (promise) => ( | |
promise.then(res => [res]).catch(err => [undefined, err]) | |
) | |
const func = async () => { | |
const [result, error] = await asynced( doStuff()) ) | |
} |