This file contains 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 { plugin } from "bun"; | |
import { compile } from "svelte/compiler"; | |
plugin({ | |
name: "svelte-loader", | |
setup(build) { | |
const emittedCSS = {}; | |
build.module('svelte-plugin', async () => { | |
return { |
This file contains 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
# install docker | |
sudo apt-get update | |
sudo mkdir -m 0755 -p /etc/apt/keyrings | |
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ | |
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt-get update | |
sudo apt-get install apparmor docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | |
# bootstrap minipaas | |
mkdir minipaas |
This file contains 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
full | |
http://www.no3-schinkelplatz.com/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhlVFJ1TkRGMU1qRnhZMlpvZW1GNmVXdDRlbUpsYldWM01HTnlhd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpV1dsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW5SdmQyNW9iM1Z6WlMxdmJtVXRZbUYwYURJdWFuQm5JanNnWm1sc1pXNWhiV1VxUFZWVVJpMDRKeWQwYjNkdWFHOTFjMlV0YjI1bExXSmhkR2d5TG1wd1p3WTdCbFE2RVdOdmJuUmxiblJmZEhsd1pVa2lEMmx0WVdkbEwycHdaV2NHT3daVU9oRnpaWEoyYVdObFgyNWhiV1U2Q214dlkyRnMiLCJleHAiOm51bGwsInB1ciI6ImJsb2Jfa2V5In19--c67007dbfec0e353c9caefcb1e6ba9f117a1f913/townhouse-one-bath2.jpg | |
preview | |
http://www.no3-schinkelplatz.com/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNVEo1YzNCamFIRXhiM2hpTXpWbVl6aDViWGQ2ZDJsaGNEbHBid1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpV1dsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW5SdmQyNW9iM1Z6WlMxdmJtVXRZbUYwYURJdWFuQm5JanNnWm1sc1pXNWhiV1VxUFZWVVJpMDRKeWQwYjNkdWFHOTFjMlV0YjI1bExXSmhkR2d5TG1wd1p3WTdCbFE2RVdOdmJuUmxiblJmZEhsd1pVa2lEMmx0WVdkbEwycHdaV2NHT3daVU9oRnpaWEoyYVdObFgyNWhiV1U2Q214dlkyRnMiLCJleHAiO |
This file contains 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
<dict> | |
<key>name</key> | |
<string>Git Modified Line</string> | |
<key>scope</key> | |
<string>git.changes.x</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#272852</string> | |
</dict> |
This file contains 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
pragma solidity ^0.5.0; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC721/ERC721Full.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/ownership/Ownable.sol"; | |
import "./Strings.sol"; | |
contract OwnableDelegateProxy {} | |
contract Pricer { | |
function price(uint256 streamerID) public view returns (uint256) { |
This file contains 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 { interpolateTransformCss as interpolate} from 'd3' | |
import { cubicOut } from 'svelte/easing' | |
export function crossfade({ fallback, ...defaults }) { | |
const to_receive = new Map(); | |
const to_send = new Map(); | |
function crossfade(fromNode, toNode, params) { | |
const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = Object.assign(Object.assign({}, defaults), params); | |
const toStyle = getComputedStyle(toNode); | |
const fromStyle = getComputedStyle(fromNode); | |
toNode.style.transform = 'none' |
This file contains 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
// On each page load, any element with a [data-svelte] attribute gets injected with | |
// the component defined in this attribute. Eg `data-svelte="poker"` will load the | |
// `poker.svelte` component into that element. | |
const req = require.context('../', true, /\.(svelte)$/i); | |
const components = {} | |
req.keys().map(key => { | |
const name = key.match(/\w+/)[0]; | |
components[name] = req(key).default || req(key) | |
}); |
This file contains 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
<div id="app"> | |
<pre> | |
pragma solidity ^0.4.24; | |
/** | |
* Thank you for checking out {{ name }}. | |
* We hope you have an amazing day. | |
*/ | |
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol |
This file contains 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
// Make a vue component automatically subscribe to a cable and unsubscribe when it's destroyed | |
// You can use reactive vue state as params. the subscription will be re-established when the param changes. | |
// Usage // | |
// new Vue | |
// data: -> | |
// something: null | |
// subscriptions: | |
// SomeChannel: | |
// params: -> |
This file contains 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
0xfc1B532F8ED8Ad01512eF71c588763E5A0CaBc02 |
NewerOlder