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
## Pappardelle al Cinghiale Recipe | |
Here is the recipe for Pappardelle al Cinghiale, extracted from the provided source: | |
### Ingredients | |
**For the Marinade:** | |
* 500 ml (2 cups + 2 tbsp) red wine, preferably Chianti | |
* 1 carrot |
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
uniform sampler2D s_noise; | |
float pn( in vec3 p ) { | |
vec3 i = floor(p); p -= i; p *= p*(3. - 2.*p); | |
p.xy = texture(s_noise, (p.xy + i.xy + vec2(37, 17)*i.z + .5)/256., -100.).yx; | |
return mix(p.x, p.y, p.z); | |
} | |
float hash(float h) { | |
return pn(vec3(h, -h, h + 134.23453)); |
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
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
randomSeed(fxrand() * 999999); | |
noiseSeed(fxrand() * 999999); | |
noStroke(); | |
fill(0); | |
ellipse(11, 145, 35, 35); |
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
#!/usr/bin/env node | |
const { exec } = require("child_process") | |
async function run() { | |
let deps | |
exec("npm list --prod --depth=0 --json", (error, stdout, stderr) => { | |
if (error) { | |
console.log(`error: ${error.message}`) | |
return |
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
I am attesting that this GitHub handle liamegan is linked to the Tezos account tz1LrQZuDuGrtozMZxhwQAZjdqJjXHPxVja8 for tzprofiles | |
sig:edsigth6Seh8fb6YVWkU3gdLDxuo7ep1AB7xaHbeeBh1dbc7irxss2cBvCwTK2xT2ixW1ndNKRbeESakFizDgKFy9HPcWA4Bim9 |
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
``` | |
find -D 'exec' LOCATION -name PATTERN -exec sed -i 's/A/B/g' '{}' + | |
``` | |
So for example | |
``` | |
find -D 'exec' ./deploy -name '*.html' -exec sed -i 's/https:\/\/www.pokemontcg.com\//http:\/\/pokemontcg.wethe.work\//g' '{}' + | |
``` |
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
<!DOCTYPE html> | |
<html> | |
<head></head> | |
<body> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : '2280604068667472', | |
cookie : true, | |
xfbml : true, |
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
/* screen.scss | |
* In this file you should write your main styles. (or centralize your imports) | |
* Import this file using the following HTML or equivalent: | |
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */ | |
// Make sure the charset is set appropriately | |
@charset "UTF-8"; | |
@import "compass/reset"; |
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
// To find all of the controllers on a page and output their values. | |
document.querySelectorAll('[data-controller]').forEach((node)=> { console.log(node.dataset['controller']) }) |
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
document.querySelectorAll('iframe').forEach((iframe)=> { | |
console.log(iframe.id, iframe.className, iframe.src) | |
}); |
NewerOlder