See also:
| Service | Type | RAM | Storage | Limitations |
|---|---|---|---|---|
| 👉 Adaptable | PaaS | 256 MB | Non-persistent? (1 GB database storage available) | |
| AWS EC2 | IaaS | 1 GB |
| /** | |
| Simple(ish) example of discord gateway | |
| This code will get to ready, and then remain connected with heartbeats | |
| see https://discordapi.com/topics/gateway for more info | |
| zlib compression is implemented as it will be required in gateway v7 (so get used to it now) | |
| */ | |
| const WebSocket = require('ws'); // npmjs.org/ws | |
| const zlib = require('zlib-sync'); // npmjs.org/zlib-sync | |
| const erlpack = require('erlpack'); // github.com/discordapp/erlpack |
Migrated with additional information to my blog: https://msfjarvis.dev/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
| #include <stdio.h> | |
| #include <string.h> | |
| #include <time.h> | |
| #include <stdlib.h> | |
| #define X_FIELDS \ | |
| X(char *, field1) \ | |
| X(char *, field2) \ | |
| X(char *, field3) \ | |
| X(char *, field4) \ |
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |
NokiaTool is a simple Bash script (nokiatool.sh) that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.
This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.
I'm quite confused as there seems to be multiple redundant ways to solve my problem (read a file, parse the content, serve it via http). Most people on stackoverflow would use bufio, but I just can't get the differences between this package and the Buffer type of bytes and just reading a file with the os methods. Also I don't know when and why I should choose those ways to do it, when I have the simple, but non-versatile, ioutils.ReadFile.
This article derives from this article - where typical x86-64 Arch Linux Installation is described. The procedure is a bit simillar, a bit different - if the original article is revised, the changes may also be applied to this article.
This guide is based on Arch Linux ARM on Odroid XU3-Lite board: I cannot
| package nz.bradcampbell.app.presentation; | |
| import android.content.Context; | |
| import android.support.v4.view.LayoutInflaterFactory; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.util.HashMap; |