Using sudo dd will NOT work for Windows installers.
You will hit the “install driver to show hardware” screen when booting the USB.
The following commands correctly create a working Windows 10/11 installer on macOS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "ticker": "C:AEDAUD", | |
| "base": "AED", | |
| "baseName": "United Arab Emirates dirham", | |
| "currency": "AUD", | |
| "currencyName": "Australian dollar" | |
| },{ | |
| "ticker": "C:AEDBHD", | |
| "base": "AED", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "ticker": "X:XTZUSD", | |
| "base": "XTZ", | |
| "baseName": "Tezos", | |
| "currency": "USD", | |
| "currencyName": "United States dollar" | |
| },{ | |
| "ticker": "X:IOTUSD", | |
| "base": "IOT", | |
| "baseName": "IOTA", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Crypto QUOTE: | |
| const QUOTE = { | |
| "ev": "XQ", // Event Type | |
| "pair": "BTC-USD", // Crpyto Pair | |
| "lp": 6001.20, // Last Trade Price | |
| "ls": 1.05 // Last Trade Size | |
| "bp": 6001.09, // Bid Price | |
| "bs": 1.0003, // Bid Size | |
| "ap": 6001.115, // Ask Price | |
| "as": 3.0204005, // Ask Size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const WebSocket = require('ws') | |
| const ws = new WebSocket('wss://socket.polygon.io/forex') | |
| // Connection Opened: | |
| ws.on('open', () => { | |
| ws.send(`{"action":"auth","params":"APIKEY"}`) | |
| ws.send(`{"action":"subscribe","params":"C.AUD/USD,C.USD/EUR,C.USD/JPY"}`) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| nats "github.com/nats-io/nats" | |
| ) | |
| func main(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { NavLink, withRouter } from 'react-router-dom' | |
| import { Animation } from '../../helpers/Animations' | |
| import { connect } from 'react-redux' | |
| import { Route, Switch } from 'react-router' | |
| import actions from '../../actions/index' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| // Load in Route Class | |
| const Route = require('restify-loader/route') | |
| const lodash = require('lodash') | |
| const sharp = require('sharp') | |
| const Promise = require('bluebird') | |
| const request = require('request-promise') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Clear all current rules: | |
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT | |
| iptables -P OUTPUT ACCEPT | |
| iptables -t nat -F | |
| iptables -t mangle -F | |
| iptables -F | |
| iptables -X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| ssh_authorized_keys: | |
| - ssh-rsa xyz | |
| write_files: | |
| - path: /var/lib/rancher/conf/cloud-config.yml | |
| permissions: "0644" | |
| owner: root | |
| content: | | |
| #cloud-config | |
| ssh_authorized_keys: |
NewerOlder