apk-tools 2.8.2, compiled for x86_64.
usage: apk COMMAND [-h|--help] [-p|--root DIR] [-X|--repository REPO] [-q|--quiet] [-v|--verbose] [-i|--interactive] [-V|--version] [-f|--force]
[--force-binary-stdout] [--force-broken-world] [--force-non-repository] [--force-old-apk] [--force-overwrite] [--force-refresh] [-U|--update-cache]
[--progress] [--progress-fd FD] [--no-progress] [--purge] [--allow-untrusted] [--wait TIME] [--keys-dir KEYSDIR] [--repositories-file REPOFILE]
[--no-network] [--no-cache] [--cache-dir CACHEDIR] [--arch ARCH] [--print-arch] [ARGS]...
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
const functions = require('firebase-functions'); | |
const admin = require("firebase-admin"); | |
admin.initializeApp(functions.config().firebase); | |
const algoliasearch = require('algoliasearch'); | |
const algolia = algoliasearch(functions.config().algolia.appid, functions.config().algolia.adminkey); | |
exports.updateIndex = functions.database.ref('/books/{bookId}').onWrite(event => { |
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
const functions = require('firebase-functions'); | |
var admin = require("firebase-admin"); | |
const cookieParser = require('cookie-parser'); | |
const crypto = require('crypto'); | |
var serviceAccount = require("./service-account.json"); | |
const APP_NAME = "twitch-playground"; | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccount), |
Before you start, make sure ip
command is available on your system. In modern Linux distributions, ip
replaces older ifconfig
command. If net-tools
package (that includes ifconfig
) is not installed and you prefer using it, you can install it via sudo apt-get install net-tools
.
Use touch /home/pi/wifi-reconnect.sh
to create a shell script file,
with the following content:
#!/bin/bash
This is a list of known packages parsers mainly to be used in G-Earth with the GProgrammer extension, but the code may be useful to understand the package structure and read it anywhere.
Every parser may share some caracteritcs:
- The parser is responsable to read the whole package, from the start to the end;
- The return type is always an object;
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
if (process.argv[2] == undefined) process.exit(0); | |
if (process.argv[2] == "") process.exit(0); | |
const { pkg_fetch_version, node_version, pkg_cache_path, icon, version, description, company, name, copyright, file } = require(`./${process.argv[2]}.json`); | |
const ResEdit = require('resedit'); | |
const path = require("path"); | |
const fs = require('fs'); | |
const https = require('https'); | |
function download(url, dest) { | |
return new Promise((resolve, reject) => { | |
fs.access(dest, fs.constants.F_OK, (err) => { |
OlderNewer