This modem is also sold as a MegaFon M150-2 USB dongle
Install the needed packages via opkg
tool
opkg update
run: | |
timeout: 15s | |
issues-exit-code: 1 | |
tests: true | |
skip-dirs-use-default: true | |
output: | |
format: colored-line-number | |
print-issued-lines: true | |
print-linter-name: true |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"io" | |
"net" | |
"net/http" | |
"os" |
class PostgreSQLConnection(psycopg2.extensions.connection): | |
""" | |
A custom `connection_factory` for :func:`psycopg2.connect`. | |
This | |
* puts the connection into unicode mode (for text) | |
* modifies the :meth:`cursor` method of a :class:`psycopg2.connection`, | |
facilitating easy acquiring of cursors made from | |
:cls:`psycopg2.extras.RealDictCursor`. | |
""" |
// This script will boot app.js with the number of workers | |
// specified in WORKER_COUNT. | |
// | |
// The master will respond to SIGHUP, which will trigger | |
// restarting all the workers and reloading the app. | |
var cluster = require('cluster'); | |
var workerCount = process.env.WORKER_COUNT || 2; | |
// Defines what each worker needs to run |