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.
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 Strange: | |
| foo = 10 | |
| def inc(self): | |
| self.foo += 1 | |
| a = Strange() | |
| b = Strange() |
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
| 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) |
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
| import java.util.List; | |
| /* | |
| * ❯ java ./SealedSwitch.java | |
| * SHIZZLES FOR MY NIZZLES!!! | |
| * Whooof! | |
| * Whooof! | |
| * Whooof! | |
| */ | |
| public class SealedSwitch { |
Dette oppsettet fant jeg opprinnelig på i 2021. Søk etter Teltonika i loggen for å finne det.
- Ruter bygget inn i antennehus for minimal tap av signal
- 200 m CAT5-kabel ned til hytte med forsterkning etter 100 m (Power-over-Ethernet)
- Kan fore med egenmekket 24V/48V strømforsyning fra 12V
- Sette opp stang på fot oppe på fjellet der det er dekning
- ca kostnad 7-8000 kr?
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:
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
| // ==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 |
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
| /* 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) | |
| } |
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 PublicPlanData extends AbstractFixture implements OrderedFixtureInterface | |
| { | |
| public function load(ObjectManager $manager) | |
| { | |
| $planUnlimitedFree = new PlanInfo(); | |
| $planUnlimitedFree->setName('FREE UNLIMITED PLAN') | |
| ->setAmount(0) | |
| ->setCurrency('USD') | |
| ->setDescription('Special plan for users that should never pay for using the service') |
NewerOlder
