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
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "eb-ad78f54a-f239-4c90-adda-49e5f56cb51e", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::155404741487:role/aws-elasticbeanstalk-ec2-role" | |
}, | |
"Action": "s3:PutObject", |
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
(->> (d/q '[:find (pull ?content [*]) | |
:in $ ?user-id-string | |
:where | |
[?user-id :user/id-string ?user-id-string] | |
[?content :content/user ?user-id] | |
(not [?content :content/deleted true]) | |
] (get-db) user-id-string) | |
) |
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 { appleAuth } from '@invertase/react-native-apple-authentication'; | |
async function onAppleButtonPress() { | |
// performs login request | |
const appleAuthRequestResponse = await appleAuth.performRequest({ | |
requestedOperation: appleAuth.Operation.LOGIN, | |
requestedScopes: [appleAuth.Scope.EMAIL, appleAuth.Scope.FULL_NAME], | |
}); | |
// get current authentication state for user |
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
(reg-fx | |
:apple-signin-fx | |
(fn [navigation] | |
(go (let [appleAuthRequestResponse | |
(<p! (.performRequest appleAuth | |
(clj->js | |
{:requestedOperation (.. appleAuth -Operation -LOGIN) | |
:requestedScopes [(.. appleAuth -Scope -Email) | |
(.. appleAuth -Scope -FULL_NAME)]})))])))) |
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
JSON value '{ | |
nonceEnabled = 1; | |
requestedOperation = 1; | |
requestedScopes = ( | |
"<null>", | |
1 | |
); | |
}' of type NSMutableDictionary cannot be converted to ASAuthorizationAppleIDRequest * | |
+[RCTConvert(ASAuthorizationAppleIDRequest) ASAuthorizationAppleIDRequest:] |
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
(reg-fx | |
:apple-signin-fx | |
(fn [navigation] | |
(go (let [appleAuthRequestResponse | |
(<p! (.performRequest appleAuth | |
#js {:requestedOperation (.. appleAuth -Operation -LOGIN) | |
:requestedScopes [(.. appleAuth -Scope -Email) | |
(.. appleAuth -Scope -FULL_NAME)]}))])))) | |
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
[2813,-1967,5460,-7359,-4910,-8860,3997,-1991,9999,5577,3969,-7510,-5070,4312,4485,2919,7783,-4431,-7637,7845,4727,-3551,-2862,760,-5496,-4126,-9113,1657,-7739,4267,2019,929,4775,3027,-3348,1989,-9968,9282,-5687,-4457,-1931,-2487,7158,3992,-1594,4558,2595,3157,-2950,4430,4644,-7985,6258,-4593,-2102,2566,-4037,-970,458,8880,896,-6695,5619,3597,-8686,8376,802,1206,5603,-7654,4628,2059,-6354,8457,8602,710,-6662,331,-4876,-6113,-6118,-5984,3505,-1360,488,-38,-3463,-4967,-8178,-5451,-2114,-2668,-3536,-5534,1531,-4042,6850,-8724,5727,6980,2308,-5024,5918,1448,8694,6591,-8252,984,8410,-7153,-9095,-8416,518,8448,-1491,3849,-5082,6664,-1125,4106,2946,2563,4181,2440,9754,-8257,1773,7640,-7669,7271,-5414,-4200,-427,-6178,5362,-3276,-5375,-6886,5528,3492,4023,-7513,3475,-2259,-9123,-6109,-7253,-982,-6324,8279,-6328,5025,1217,-4408,-6910,-6712,9573,1965,871,-679,8179,-6770,3992,-6621,7213,775,-9741,-2288,9388,4453,7580,-7360,-3959,9712,2309,404,-4106,-260,8961,5181,4975,3083,1104,7494,1206,-6599,-604,-6050,-6286,-2051,-11 |
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
549418 INFO datomic.peer - {:event :peer/transactor-connection-failed, :pid 16676, :tid 56} | |
org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ119006: Channel disconnected | |
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connectionDestroyed(ClientSessionFactoryImpl.java:355) | |
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector$Listener$1.run(NettyConnector.java:942) | |
at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) | |
at java.lang.Thread.run(Thread.java:748) | |
549427 INFO datomic.peer - {:event :peer/connect-transactor, :host "localhost", :alt-host nil, :port 4334, :version "1.0.6269", :pid 16676, :tid 59} | |
549430 INFO datomic.common - {:event :common/retry, :backoff 1000, :attempts 1, :max-retries 922337203 |
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
(defn login [] | |
(let [ | |
magic (Magic. "pk_live_E0A5A86F2EF4DE14" | |
(clj->js {:extensions [(OAuthExtension.)]})) | |
!social-logged-in (atom nil) | |
_ (go (js/console.log "is logged in " (<p! (.. magic -user (isLoggedIn)) | |
))) | |
_ (go (reset! !social-logged-in | |
(<p! (.. magic -user (isLoggedIn)) | |
))) |
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
[:test] Compiling ... | |
SHADOW import error /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js | |
Error: Cannot find module '@testing-library/react' | |
Require stack: | |
- /Users/prikshetsharma/Desktop/humboi/target/test/test.js | |
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) | |
at Function.Module._load (internal/modules/cjs/loader.js:725:27) | |
at Module.require (internal/modules/cjs/loader.js:952:19) | |
at require (internal/modules/cjs/helpers.js:88:18) | |
at /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js:3:48 |
OlderNewer