This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This document now exists on the official ASP.NET core docs page.
# your package name | |
import android.Manifest | |
import android.content.Context | |
import android.content.Intent | |
import android.content.pm.PackageManager | |
import android.net.Uri | |
import android.os.Build | |
import android.provider.Settings | |
import android.util.Log |
parseError(error: string): string { | |
const radix = 16; // Hex | |
const nibbleOneMap: Map<number, string> = new Map(); | |
nibbleOneMap.set(0, 'No error present'); | |
nibbleOneMap.set(8, 'Cutter fault'); | |
nibbleOneMap.set(4, 'Head open'); | |
nibbleOneMap.set(2, 'Ribbon out'); | |
nibbleOneMap.set(1, 'Media out'); |
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"log" | |
"time" | |
"github.com/go-sql-driver/mysql" |
class ComponentCommit(db.Model): | |
__tablename__ = 'component_version' | |
__table_args__ = ( | |
db.UniqueConstraint('component_id', 'commit_id', name='unique_component_commit'), | |
) | |
id = db.Column(db.Integer, primary_key=True) | |
component_id = db.Column(db.Integer, db.ForeignKey("component.id")) | |
commit_id = db.Column(db.String) | |
branch = db.Column(db.String) | |
dependencies = db.Column(db.Text) |