Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<html> | |
<body> | |
<!-- really dirty! this is just a test drive ;) --> | |
<script type="text/javascript" src="https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js"></script> | |
<script type="text/javascript"> | |
function renderPDF(url, canvasContainer, options) { | |
var options = options || { scale: 1 }; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
// JS array equivalents to C# LINQ methods - by Dan B. | |
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version): | |
// Here's a simple array of "person" objects | |
var people = [ | |
{ name: "John", age: 20 }, | |
{ name: "Mary", age: 35 }, | |
{ name: "Arthur", age: 78 }, | |
{ name: "Mike", age: 27 }, |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls
command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
========================================================================== | |
DO NOT WRITE ANY QUESTIONS IN COMMENTS | |
========================================================================== | |
This is not appropriate place for discussions. Keep this list FW-only. | |
I do NOT have any firmware files apart from published here or on 4pda. Please do not contact me for firmware files requests. | |
This is a list of files found on Huawei update server by brute-forcing URL parameters. | |
Some firmware files have changelogs. Just change file name to "changelog.xml" in the end of the URL. |
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled |
/** | |
* Make sure you're not already authenticated with gRPC, on MacOS you need | |
* to ensure the GOOGLE_APPLICATION_CREDENTIALS environment variable is not | |
* set : `unset GOOGLE_APPLICATION_CREDENTIALS` | |
* | |
* @google-cloud/speech and google-gax are used to load the necessary .proto files | |
* | |
* I tried to add the 'key' to the request itself, or as a metadata with the request | |
* and always getting the following error from gRPC : | |
* Error: 7 PERMISSION_DENIED: The request is missing a valid API key. |
The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.
This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.
These are the steps required: