I hereby claim:
- I am scarlac on github.
- I am scarlac (https://keybase.io/scarlac) on keybase.
- I have a public key ASDceRd1ij02J9C8XwWN-ACB7-7X7s6ipdnhzVa0J-csAgo
To claim this, I am signing this object:
# similar to the old 'caffeinate' command for macOS, this will keep the connected android phones active | |
alias caffeinate-android='while true; do adb -d shell input keyevent mouse ; sleep 10 ; done' |
# add this to your mac's ~/.zshrc | |
alias caffeinate-android='while true; do adb -d shell input keyevent mouse; sleep 10; done' |
/* eslint-disable no-console */ | |
const fs = require('fs'); | |
const path = require('path'); | |
/** | |
* Redux Persist script that convert the double-encoded persisted reducer state files into normal JSON files. | |
* Usage: node convert-persist-state-to-json.js /tmp/Documents/persistStore | |
* generates several files: | |
* persistStore/persist-root -> persistStore/persist-root.json | |
* persistStore/persist-user -> persistStore/persist-user.json |
diff --git a/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java b/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
index 055cede..8dc52e6 100755 | |
--- a/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
+++ b/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java | |
@@ -14,8 +14,7 @@ class JSIInstaller { | |
// Helper method called from C++ | |
static String _resolveDatabasePath(String dbName) { | |
- // On some systems there is some kind of lock on `/databases` folder ¯\_(ツ)_/¯ | |
- return context.getDatabasePath(dbName + ".db").getPath().replace("/databases", ""); |
// Note that some disk-related and disk-auto-delete code has been removed | |
// PersistedQuery defines the JSON structure for the disk cache | |
type PersistedQuery = { | |
queryKey: QueryKey, | |
queryHash: string, | |
cacheTime: number, | |
state: { | |
data: unknown | undefined; | |
dataUpdatedAt: number; // Roughly same as 'last modified' date on filesystem |
diff --git a/node_modules/react-native/React/Views/RCTModalHostView.h b/node_modules/react-native/React/Views/RCTModalHostView.h | |
index e421e59..ba461e0 100644 | |
--- a/node_modules/react-native/React/Views/RCTModalHostView.h | |
+++ b/node_modules/react-native/React/Views/RCTModalHostView.h | |
@@ -17,7 +17,7 @@ | |
@protocol RCTModalHostViewInteractor; | |
-@interface RCTModalHostView : UIView <RCTInvalidating> | |
+@interface RCTModalHostView : UIView <RCTInvalidating, UIAdaptivePresentationControllerDelegate> |
const app = require('express')(); | |
const upload = require('multer')(); | |
app.post('/upload', upload.single('file'), function (req, res) { | |
console.log('file', req.file); | |
res.status(200).send(JSON.stringify({ ...req.file, buffer: null })); | |
}); | |
app.listen(4242, () => { console.log('ready.'); }); |
I hereby claim:
To claim this, I am signing this object:
smt=setInterval(() => {let x=document.querySelector('div[shade=medium]'); x ? x.click() : clearInterval(smt), console.log('done')}, 1000)
Test of Slack link og:title escaping feature, tag here: <Slack> |