How to configure your Mac to use DNS over TLS in five easy steps:
-
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby -
Edit the configuration file:
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.4; | |
| import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/[email protected]/access/Ownable.sol"; | |
| contract MyNFT is ERC721, Ownable { | |
| uint256 public totalSupply; | |
| constructor() ERC721("MyNFT", "MNFT") {} |
| url := "https://perdu.com" | |
| hostname := "perdu.com" | |
| sni := false | |
| var serverName string | |
| if sni { | |
| serverName = hostname | |
| } else { | |
| // disable sending the ServerName by using an IP |
| FROM ubuntu:20.04 | |
| RUN apt-get update && \ | |
| apt-get install --no-install-recommends -y python3-pip python3.8-dev && \ | |
| apt-get install vim && \ | |
| apt-get install git |
| """ | |
| Usage: | |
| Make sure that redis is running on localhost (or adjust the url) | |
| Install uvicorn or some other asgi server https://asgi.readthedocs.io/en/latest/implementations.html | |
| pip install -u uvicorn | |
| Install dependencies |
| from oauth2client.service_account import ServiceAccountCredentials | |
| import httplib2 | |
| import json | |
| import pandas as pd | |
| # https://developers.google.com/search/apis/indexing-api/v3/prereqs#header_2 | |
| JSON_KEY_FILE = "json_key_file_downloaded_after_creating_your_google_service_account_see_above_details_on_how_to_do.json" | |
| SCOPES = ["https://www.googleapis.com/auth/indexing"] |
| /** | |
| * useScroll React custom hook | |
| * Usage: | |
| * const { scrollX, scrollY, scrollDirection } = useScroll(); | |
| */ | |
| import { useState, useEffect } from "react"; | |
| export function useScroll() { | |
| const [lastScrollTop, setLastScrollTop] = useState(0); |
| use std::thread; | |
| use std::sync::mpsc; | |
| use std::sync::Arc; | |
| use std::sync::Mutex; | |
| enum Message { | |
| NewJob(Job), | |
| Terminate, | |
| } |
How to configure your Mac to use DNS over TLS in five easy steps:
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
Edit the configuration file:
| version: "3" | |
| networks: | |
| monitoring: | |
| services: | |
| cadvisor: | |
| image: google/cadvisor:${CADVISOR_VERSION:-v0.26.1} | |
| networks: | |
| - monitoring |
| const axios = require('axios') | |
| /* ... */ | |
| const params = new URLSearchParams() | |
| params.append('name', 'Akexorcist') | |
| params.append('age', '28') | |
| params.append('position', 'Android Developer') | |
| params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/') | |
| params.append('awesome', true) |