I hereby claim:
- I am tsirysndr on github.
- I am tsiry (https://keybase.io/tsiry) on keybase.
- I have a public key whose fingerprint is 1EB6 785C A4F3 F7BA D6E6 5608 9CE9 3A9A 43D8 ED4A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.kdstudio.snippets.soap.client; | |
import java.io.ByteArrayInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.parsers.ParserConfigurationException; | |
import javax.xml.soap.MessageFactory; | |
import javax.xml.soap.MimeHeaders; |
; | |
var CryptoLib = { }; | |
(function(root, factory) { | |
if (typeof exports === "object") { | |
// CommonJS | |
module.exports = exports = factory(); | |
} else if (typeof define === "function" && define.amd) { | |
// AMD | |
define([], factory); | |
} else { |
FROM ubuntu:16.04 | |
RUN apt-get update -y | |
RUN apt-get install -y build-essential libsdl1.2-dev zip unzip git | |
WORKDIR /usr/src | |
RUN git clone git://git.rockbox.org/rockbox | |
WORKDIR /usr/src/rockbox/build | |
RUN ../tools/configure --target=200 --type=N --lcdwidth=320 --lcdheight=240 | |
RUN make && make install | |
WORKDIR / |
#!/bin/sh | |
apt-get update | |
apt-get install -y \ | |
build-essential \ | |
git-core \ | |
subversion \ | |
libjansson-dev \ | |
sqlite \ | |
autoconf \ |
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:muport:QmSZTyH97XiagWtGpUxFyA8wHV4JoDKBYTRxcpyK4rNdpj ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
# Connman Technology API examples: (Object Path: /net/connman/technology/<wifi/ethernet>, Interface: net.connman.Technology) | |
# GetProperties | |
dbus-send --system --dest=net.connman --print-reply /net/connman/technology/wifi net.connman.Technology.GetProperties | |
# Scan | |
dbus-send --system --dest=net.connman --print-reply /net/connman/technology/wifi net.connman.Technology.Scan | |
# Disable/Enable wifi | |
dbus-send --system --dest=net.connman --print-reply /net/connman/technology/wifi net.connman.Technology.SetProperty string:Powered variant:boolean:true |
const Web3 = require('web3') | |
const Tx = require('ethereumjs-tx').Transaction | |
// connect to Infura node | |
const web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io/INFURA_KEY')) | |
// the address that will send the test transaction | |
const addressFrom = '0x1889EF49cDBaad420EB4D6f04066CA4093088Bbd' | |
const privateKey = new Buffer('PRIVATE_KEY', 'hex') |
BEGIN MESSAGE. | |
2LYdKfijfTuio80 zZku9gW4GDkMABb GDibenCKND5Np6j lmWKKqJzTjxdkjP | |
QH1X9Ldb00CCFZj X7PpnG9uNo2TCKq 6Xr2MZHgg6vh0iQ eWJ0qedrJDCeXkJ | |
CiMZxv6s1RptuOt 5odHR3ZWT9QBXYH cHDgMuF46Mo30bt mMQZhEGSJXs1Gxk | |
Va5zFAc39Ac8AaE Tne9YIVA9j6z0q9 F2UPY29HFxl. | |
END MESSAGE. |
Note: There is a lot of information here, but if I have provided a link, it is probably something you should click on and read. OAuth is a complex enough subject on it's own, and hacking these two services together only adds to it.
Even so, I have found Firebase's API to be simpler than almost any other OAuth solution I have explored. When all is said and done, the important bits of code related to authentication is actually less than 10 lines. If you have ever tried to implement your own OAuth flow before, you know how amazing that is.
In the end, it may be worth using Firebase for authentication, even if that's the ONLY thing you use it for.