- Follow the instructions from React Native's documentation
- Make 1000% sure the USB cable works for this and not just charging. Not all of them do apparently.
- Execute this with the USB cable connected:
adb kill-server adb tcpip 5555 adb connect <your-android-device-ip-address-or-network-name>:5555
You only need to execute the 2 first steps once and the last one every time your computer boots up
- Open the 'android' folder with Android Studio and let it download and install the gradle dependencies.
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
// Initialization | |
const myMSALObj = new msal.PublicClientApplication({ | |
auth: { | |
clientId: "c993fdd7-f80e-4586-bd81-8753a1f3e5ac", // This is the ONLY mandatory field; everything else is optional. | |
authority: "https://MyOrgName2349865.b2clogin.com/MyOrgName2349865.onmicrosoft.com/B2C_1_susi", // Choose sign-up/sign-in user-flow as your default. | |
knownAuthorities: ['MyOrgName2349865.b2clogin.com'], // You must identify your tenant's domain as a known authority. | |
redirectUri: "http://localhost:6420" // You must register this URI on Azure Portal/App Registration. Defaults to "window.location.href". | |
}, | |
cache: { | |
cacheLocation: "sessionStorage", // Configures cache location. "sessionStorage" is more secure, but "localStorage" gives you SSO between tabs. |
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
(() => { | |
indexedDB.open('postman-app').onsuccess = async event => { | |
let db = event.target.result; | |
let transaction = db.transaction(db.objectStoreNames); | |
// TODO: Create and download a file instead of outputting the contents | |
console.log( | |
Object.fromEntries( | |
await Promise.all( | |
[...db.objectStoreNames] | |
.map( |
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() { | |
const filename = 'postman-history-export.json'; | |
const download = (function() { | |
const element = document.createElement('a'); | |
return function(filename, contents) { | |
element.setAttribute('href', URL.createObjectURL(new Blob([contents]))); | |
element.setAttribute('download', filename); | |
element.click(); |
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
/* | |
Download a plugin for your browser to load custom css, then use this to hide all youtube recomendations and avoid distractions. | |
For instance, you can download Stylebot: https://stylebot.dev/ | |
*/ | |
div.style-scope.ytd-rich-grid-renderer { | |
display: none; | |
} | |
div.style-scope.ytd-compact-video-renderer { |