I hereby claim:
- I am jbolila on github.
- I am jbolila (https://keybase.io/jbolila) on keybase.
- I have a public key whose fingerprint is 853F 9D17 E5F9 2EE0 50C4 B276 6B5A F53C D39B B7C9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"private": true, | |
"scripts": { | |
"postinstall": "npm start", | |
"start": "npm-run-all --parallel server watch:*", | |
"watch:elm": "chokidar ./src -c 'npm run build:elm' --initial", | |
"build": "npm-run-all build:*", | |
"build:elm": "elm-make src/*.elm --output js/elmapp.compiled.js --warn", |
FROM postgres:latest | |
MAINTAINER Joao Bolila | |
ENV LC_ALL=C.UTF-8 | |
RUN apt-get update | |
RUN apt-get -y install vim silversearcher-ag jq | |
RUN apt-get -y install build-essential git libsqlite3-dev libpq-dev | |
RUN cd /tmp ; git clone git://github.com/rkitover/vimpager ; cd vimpager ; make install-deb |
extern crate reqwest; | |
extern crate cookie; | |
use std::time::Duration; | |
use cookie::{Cookie, CookieJar}; | |
use reqwest::header::{Headers, SetCookie, UserAgent}; | |
fn construct_headers(cookies: &SetCookie) -> Headers { | |
let mut headers = Headers::new(); |
#[macro_use] | |
extern crate serde_derive; | |
extern crate serde; | |
extern crate serde_json; | |
extern crate serde_yaml; | |
use std::collections::BTreeMap as Map; | |
#[derive(Serialize, Deserialize, Debug)] |
local ip = {} | |
function ip.to_number (ip_str) | |
if type(ip_str) ~= "string" then return -1 end | |
local chunks = { ip_str:match("(%d+)%.(%d+)%.(%d+)%.(%d+)") } | |
if #chunks == 4 then | |
for k , v in pairs(chunks) do | |
if tonumber(v) > 255 then return -1 end | |
chunks[k] = tonumber(v) or 0 |
extern crate rppal; | |
use std::thread; | |
use std::sync::mpsc; | |
use std::time::Duration; | |
use rppal::gpio::{Gpio, Level, Mode}; | |
use rppal::system::DeviceInfo; | |
const GPIO_PIN_CLK: u8 = 26; |
All preferences for the DNS-over-HTTPS functionality in Firefox are located under the "network.trr" prefix (TRR == Trusted Recursive Resolver). The support for these landed in Firefox 60 but will be polished further in 61.
set which resolver mode you want.
0 - Off (default). use standard native resolving only (don't use TRR at all)
1 - Race native against TRR. Do them both in parallel and go with the one that returns a result first.