https://try-management-app.vercel.app/ai-dev-day?v=4
Pictures from the presentations
There might actually be a video at some point I can link to instead
Better to delete a Claude.md than to pollute your context with outdated info.
https://try-management-app.vercel.app/ai-dev-day?v=4
Pictures from the presentations
There might actually be a video at some point I can link to instead
Better to delete a Claude.md than to pollute your context with outdated info.
| class Strange: | |
| foo = 10 | |
| def inc(self): | |
| self.foo += 1 | |
| a = Strange() | |
| b = Strange() |
| from PIL import Image | |
| # Create a 1x1 pixel image | |
| # img = Image.new('1', (5, 5), 1) # '1' for 1-bit pixels, (1, 1) is the size, and 1 is the color (white) | |
| img = Image.new('1', (5, 5), 0) # '1' for 1-bit pixels, (1, 1) is the size, and 1 is the color (white) | |
| # Save the image with maximum compression | |
| img.save('minimal.png', 'PNG', optimize=True, compression_level=9) |
| import java.util.List; | |
| /* | |
| * ❯ java ./SealedSwitch.java | |
| * SHIZZLES FOR MY NIZZLES!!! | |
| * Whooof! | |
| * Whooof! | |
| * Whooof! | |
| */ | |
| public class SealedSwitch { |
Your concerns about wealth tax implications for BoldBooks Norge and the potential benefits of Swedish relocation are well-founded. Based on current Norwegian tax regulations and available investment structures, there are indeed strategies using SAFE/SLIP instruments that can help defer wealth tax exposure, though they come with specific requirements and limitations.
Dette oppsettet fant jeg opprinnelig på i 2021. Søk etter Teltonika i loggen for å finne det.
Code Sandbox oddities observed while working on LogicRoom exercises
codesandbox.io does its best to give the impression of a locally running environment, but the abstraction is sometimes a bit leaky. Here's some weirdness (with possible fixes)
The console.log statement is actually proxied via a server and executed at a later stage. That sometimes results in weird behaviours, as the value of some field on an object can be different when it is printed than when it was logged ... The fix is making something like this and using that instead:
| // ==UserScript== | |
| // @name Prevent Jane redirect | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Out-trick the neanderthals responsible for redirecting the Concord customers to the Jane page with JS | |
| // @author Carl-Erik Kopseng | |
| // @match https://no.concord.es/support/nedlastinger/ | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=concord.es | |
| // @grant none | |
| // @run-at document-start |
| /* Used on https://minside.fremtindservice.no/passings */ | |
| (function() { | |
| const priceCols = document.querySelectorAll('.MuiBox-root div div div:nth-child(3n+1) div:nth-child(1)'); | |
| let sum=0; | |
| for(let n of priceCols) { | |
| if( n?.nextSibling?.textContent === 'NOK') { | |
| sum+=parseInt(n.textContent,10) | |
| } |