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" | |
} | |
] |
// 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, | |
}) |
Moved to https://www.npmjs.com/package/fayfetch | |
Thanks to everyone for using it |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const StartingPoint()); | |
} | |
class StartingPoint extends StatelessWidget { | |
const StartingPoint({Key? key}) : super(key: key); | |
@override |
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.
<color name="red">#D32F2F</color> | |
<color name="pink">#C2185B</color> | |
<color name="purple">#7B1FA2</color> | |
<color name="deep_purple">#512DA8</color> | |
<color name="indigo">#303F9F</color> | |
<color name="blue">#1976D2</color> | |
<color name="light_blue">#0288D1</color> | |
<color name="cyan">#0097A7</color> | |
<color name="teal">#00796B</color> | |
<color name="green">#388E3C</color> |