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 { useState, useEffect } from 'react'; | |
| const breakpoints = { | |
| // sm: 640, | |
| // md: 768, | |
| lg: 1024, | |
| // xl: 1280, | |
| }; | |
| const getBreakpoint = (width) => { |
| import dynamic from 'next/dynamic' | |
| import React from 'react' | |
| const NoSsr = props => ( | |
| <React.Fragment>{props.children}</React.Fragment> | |
| ) | |
| export default dynamic(() => Promise.resolve(NoSsr), { | |
| ssr: false | |
| }) |
| import React, { useState, useEffect, useRef } from 'react'; | |
| interface VisibilityObserverProps { | |
| children: (props: { elementRef: React.RefObject<HTMLDivElement>, isVisible: boolean }) => JSX.Element; | |
| } | |
| const VisibilityObserver: React.FC<VisibilityObserverProps> = ({ children }) => { | |
| const [isVisible, setIsVisible] = useState(false); | |
| const elementRef = useRef<HTMLDivElement>(null); |
| 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.21 | |
| import path from "path"; | |
| import fs from 'fs'; | |
| import { Page, BrowserType, BrowserContext, chromium, firefox } from "playwright"; | |
| class ChromeConstants { | |
| static SHOULD_CRASH_AFTER_URL_RETRY = true | |
| static dbPath = "./data/database.json" |
| [ | |
| { | |
| "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 |