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
export const Breathe = () => { | |
const progress = useLoop( | |
{ | |
duration: 3000, | |
easing: Easing.inOut(Easing.ease), | |
}, | |
{ yoyo: true } | |
); | |
return ( | |
<Canvas style={styles.container} debug> |
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 {Canvas, Circle} from "@shopify/react-native-skia"; | |
export const HelloWorld = () => { | |
const r = 128; | |
return ( | |
<Canvas style={{ flex: 1 }}> | |
<Circle r={r} cx={r} cy={r} color="cyan" /> | |
</Canvas> | |
); | |
}; |
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 {Skia, SkiaView, useDrawCallback} from "@shopify/react-native-skia"; | |
export const HelloWorld = () => { | |
const r = 128; | |
const onDraw = useDrawCallback((canvas) => { | |
const paint = Skia.Paint(); | |
paint.setAntiAlias(true); | |
cyan.setColor(Skia.Color("cyan")); | |
canvas.drawCircle(r, r, r, paint); | |
}); |
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
diff --git a/node_modules/react-native/scripts/react_native_pods.rb b/node_modules/react-native/scripts/react_native_pods.rb | |
index db9a34a..e95b882 100644 | |
--- a/node_modules/react-native/scripts/react_native_pods.rb | |
+++ b/node_modules/react-native/scripts/react_native_pods.rb | |
@@ -165,7 +165,7 @@ def use_react_native_codegen!(spec, options={}) | |
return if ENV['DISABLE_CODEGEN'] == '1' | |
# The path to react-native (e.g. react_native_path) | |
- prefix = options[:path] ||= File.join(__dir__, "..") | |
+ prefix = options[:path] ||= "../../node_modules/react-native" |
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
character = { | |
'name': 'Catina Turner', | |
'class': 'Artificer', | |
'ancestry': 'Reborn (Leonin)', | |
'background': 'Entertainer', | |
'speed': 30, | |
'hit_dice': 8, | |
'scores': { | |
"Strength": 8, | |
"Dexterity": 12, |
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
async function foo() { | |
console.log('foo'); | |
return 'foo'; | |
} | |
function bar() { | |
return new Promise(resolve => { | |
console.log('bar'); | |
resolve('bar'); | |
}); |
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
return ( | |
<View | |
style={{ | |
flex: 1, | |
alignItems: "center", | |
justifyContent: "center", | |
}} | |
> | |
<View | |
style={{ |
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
const render: FunctionComponent<Props> = (props) => { | |
return ( | |
<View style={{ | |
flex: 1, | |
flexDirection: "column", | |
justifyContent: "flex-start", | |
alignItems: "flex-start", | |
}}> | |
<View | |
style={{ |
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
Verifying my Blockstack ID is secured with the address 14qr6rD7oYF4Qz9JMa2637RCc2pCLk9SvZ https://explorer.blockstack.org/address/14qr6rD7oYF4Qz9JMa2637RCc2pCLk9SvZ |
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
#include <Mechy.h> | |
#include <Mechy/Wiring.h> | |
#include <Mechy/KeyPress.h> | |
#include <Mechy/MediaKey.h> | |
#include <Mechy/GotoLayer.h> | |
#include <Mechy/TapHold.h> | |
#include <Mechy/Receiver.h> | |
#include <Mechy/Hardware/DZ60.h> | |
#define QWERTY_LAYER 0 |
NewerOlder