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
| open System.Text | |
| open System.Text.RegularExpressions | |
| let p = new System.Diagnostics.Process() | |
| p.StartInfo.FileName <- "xinput" | |
| p.StartInfo.Arguments <- ("list") | |
| p.StartInfo.RedirectStandardOutput <- true | |
| p.StartInfo.UseShellExecute <- false | |
| p.Start() |
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
| #version 450 | |
| layout(location = 0) in vec3 a_Pos; | |
| layout(location = 1) in vec4 a_Color; | |
| layout(location = 0) out vec4 f_Color; | |
| layout(set=0, binding=0) uniform Uniforms { | |
| mat4x4 u_view_proj; | |
| vec2 offset; |
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
| cargo build | |
| Blocking waiting for file lock on build directory | |
| Compiling test-mingw v0.1.0 (Q:\dev2\rust-kas-mingw\KAS-sample) | |
| warning: unused import: `serde_json::Error` | |
| --> src\vslam_algo.rs:6:5 | |
| | | |
| 6 | use serde_json::Error; | |
| | ^^^^^^^^^^^^^^^^^ | |
| | | |
| = note: `#[warn(unused_imports)]` on by default |
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
| #include <QtGui/QGuiApplication> | |
| #include <QApplication> | |
| #include <QMainWindow> | |
| #include <QPainter> | |
| #include <QObject> | |
| #include <QClipboard> | |
| #include <QtGui/QImage> | |
| #include <QtGui/QColor> | |
| #include <QtCore/QStringList> |
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
| int width = 2; | |
| int height = 2; | |
| int32_t bitmap2x2[4] = { 0xffff0000, 0xff00ff00, 0xff0000ff, 0x00000000 }; | |
| int main() | |
| { | |
| if (OpenClipboard(NULL)) | |
| { | |
| HDC hdc = CreateCompatibleDC(NULL); |
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
| #include <iostream> | |
| #include <fstream> | |
| #include <windows.h> | |
| #include <string> | |
| #include <iomanip> | |
| #include <sstream> | |
| int width = 2; | |
| int height = 2; | |
| int32_t bitmap2x2[4] = { 0xffff0000, 0xff00ff00, 0xff0000ff, 0x00000000 }; |
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
| #include <iostream> | |
| #include <fstream> | |
| #include <windows.h> | |
| #include <string> | |
| #include <iomanip> | |
| #include <sstream> | |
| int width = 2; | |
| int height = 2; | |
| int32_t bitmap2x2[4] = { 0xffff0000, 0xff00ff00, 0xff0000ff, 0x00000000 }; |
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
| #include <iostream> | |
| #include <fstream> | |
| #include <windows.h> | |
| #include <string> | |
| #include <iomanip> | |
| #include <sstream> | |
| int width = 2; | |
| int height = 2; | |
| int32_t bitmap2x2[4] = { 0xffff0000, 0xff00ff00, 0xff0000ff, 0x00000000 }; |
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
| #include <iostream> | |
| #include <fstream> | |
| #include <windows.h> | |
| #include <string> | |
| #include <iomanip> | |
| #include <sstream> | |
| int width = 2; | |
| int height = 2; | |
| int32_t bitmap2x2[4] = { 0xffff0000, 0xff00ff00, 0xff0000ff, 0x00000000 }; |
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 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'dart:developer' as developer; | |
| import 'dart:math' as math; | |
| import 'package:vector_math/vector_math.dart' as vmath; | |
| import 'package:flutter/foundation.dart' show kIsWeb; | |
| class SpeedoMeter extends CustomPainter { | |
| SpeedoMeter(); |