List all installed apps
adb shell pm list packages -f -3
You might also use grep altogether
adb shell pm list packages -f -3 | grep "anybooks"
import 'dart:convert'; | |
dynamic parseJson(String jsonString, String path) { | |
var json = jsonDecode(jsonString); | |
List<String> parts = path.split('.'); | |
dynamic element = json; | |
for (var part in parts) { | |
if (part.contains('[') && part.contains(']')) { |
// v0.0.1 | |
import { Page, BrowserType, BrowserContext, chromium, firefox } from "playwright"; | |
class Constants { | |
static SHOULD_CRASH_AFTER_URL_RETRY = true | |
static dbPath = "./data/database.json" | |
static defaultChromeTimeout = 1000 * 60 * 5 | |
static defaultMaxWaitMs = 1000 * 10 |
[ | |
{ | |
"title": "Vscode", | |
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64-user" | |
} | |
] |
/* | |
MIT License | |
Copyright (c) 2018 Fayaz Bin Salam | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
// import { User } from '@interfaces/user.interface'; | |
import { User } from '@interfaces/user.interface'; | |
import { createParamDecorator, ExecutionContext } from '@nestjs/common'; | |
export const GetUser = createParamDecorator( | |
(data, ctx: ExecutionContext): User => { | |
const req = ctx.switchToHttp().getRequest(); | |
return req.user; | |
}, | |
); |
// @ts-ignore | |
const readline = require("readline") | |
export class Question { | |
static ask(questionTexts: string, callback?: (answer: string) => void): Promise<string> { | |
return new Promise((resolve) => { | |
const rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout, | |
}) |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const StartingPoint()); | |
} | |
class StartingPoint extends StatelessWidget { | |
const StartingPoint({Key? key}) : super(key: key); | |
@override |
Moved to https://www.npmjs.com/package/fayfetch | |
Thanks to everyone for using it |
Unless you are using Safari on OSX, most browsers will have some kind of free plugin that you can use to export the browser's history. So that's probably the easiest way. The harder way, which seems to be what Safari wants is a bit more hacky but it will also work for other browsers. Turns out that most of them, including Safari, have their history saved in some kind of sqlite database file somewhere in your home directory.
The OSX Finder cheats a little bit and doesn't show us all the files that actually exist on our drive. It tries to protect us from ourselves by hiding some system and application-specific files. You can work around this by either using the terminal (my preferred method) or by using the Cmd+Shft+G in Finder.
Once you locate the file containing the browser's history, copy it to make a backup just in case we screw up.