Remove this condition "when": "workspacePlatform == windows"
%USERPROFILE%\.cursor\extensions\ms-vscode.cpptools-1.23.5-win32-x64\package.json
"type": "cppvsdbg",
"label": "C++ (Windows)",
"when1": "workspacePlatform == windows",
What you'll see now is the option to select your Windows version and language, and it'll download the ISO.
//=================================================================== | |
// File: circular_buffer.cpp | |
// | |
// Desc: A Circular Buffer implementation in C++. | |
// | |
// Copyright © 2019 Edwin Cloud. All rights reserved. | |
// | |
//=================================================================== | |
//------------------------------------------------------------------- |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux
If there's no qemu-arm-static
in the package list, install qemu-user-static
instead
package main | |
import ( | |
"github.com/kardianos/service" | |
"log" | |
"flag" | |
) | |
type Service struct {} |
// Not sure where I originally got this from. | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.net.Socket; | |
public class C { | |
public C() throws Exception { | |
String host="10.0.0.90"; |
#include <event2/bufferevent.h> | |
#include <event2/buffer.h> | |
#include <event2/event.h> | |
#include <event2/dns.h> | |
#include <arpa/inet.h> | |
#include <iostream> | |
using namespace std; |
# TAKEN FROM: http://alexapps.net/python-tornado-simple-tcp-server | |
import socket | |
import tornado.gen | |
import tornado.ioloop | |
import tornado.iostream | |
import tornado.tcpserver | |
class SimpleTcpClient(object): |
int X_MAX = 412; | |
int Y_MAX = 50; | |
int x, y; | |
x = random.nextInt(X_MAX); | |
y = random.nextInt(Y_MAX); | |
// String htmlEventJs = "var ev = document.createEvent(\"HTMLEvents\"); " + | |
// "var el = document.elementFromPoint(%d,%d); " + | |
// "ev.initEvent('click',true,true);" + | |
// " el.dispatchEvent(ev);"; |
import rsa | |
import base64 | |
# modulus in integer | |
MODULUS = 123456789996582395910301286053968077124788323801012630967456380836472396333396466272319708473453610663848909708214595391668878270127153659315097128748348977528953482874935452127643776505027944666257946919553474879512809890824078158244248097149714260265207481163611166304138228724039676901039297181889888815151 | |
# exponent in integer | |
EXPONENT = 65537 | |
PUBLIC_KEY = rsa.PublicKey(MODULUS, EXPONENT) |