This file contains 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
#pragma once | |
#include <Windows.h> | |
#include <string> | |
void openDirectory(std::string path) { | |
std::string cmd = "explorer " + path; | |
system(cmd.c_str()); | |
} |
This file contains 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 "IPlugEffect.h" | |
#include "IPlug_include_in_plug_src.h" | |
#include "IControls.h" | |
constexpr auto CN = 30; | |
struct Cable | |
{ | |
IVec2 pos1; | |
IVec2 pos2; | |
IColor color; |
This file contains 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
/////////// example | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> |
This file contains 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
class Fetcher { | |
constructor(scenesObj, startScene = 0) { | |
this.scenes = scenesObj; | |
this.currentScene = startScene | |
this.init() | |
} | |
init() { |
This file contains 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
using System; | |
using System.Threading; | |
using EasyModbus; | |
using Fleck; | |
namespace MODBUS | |
{ | |
class Program | |
{ | |
public static string port = ""; | |
public static WebSocketServer server; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Text.RegularExpressions; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.IO; |
This file has been truncated, but you can view the full file.
This file contains 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
2001 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extended-header-writer.js', | |
2001 silly gunzTarPerm 420, | |
2001 silly gunzTarPerm 438 ] | |
2002 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js | |
2003 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extended-header.js', | |
2003 silly gunzTarPerm 420, | |
2003 silly gunzTarPerm 438 ] | |
2004 silly gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar/lib/extract.js | |
2005 silly gunzTarPerm modified mode [ 'node_modules/node-pre-gyp/node_modules/tar/lib/extract.js', | |
2005 silly gunzTarPerm 420, |
This file contains 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
PS C:\Dev\_jsPrototypes\serialPort> npm i serialport --save | |
> [email protected] install C:\Dev\_jsPrototypes\serialPort\node_modules\serialport | |
> node-pre-gyp install --fallback-to-build | |
node-pre-gyp ERR! install error | |
node-pre-gyp ERR! stack Error: Unsupported target version: 0.18.5 | |
node-pre-gyp ERR! stack at get_runtime_abi (C:\Dev\_jsPrototypes\serialPort\node_modules\serialport\node_modules\nod | |
e-pre-gyp\lib\util\versioning.js:156:23) | |
node-pre-gyp ERR! stack at Object.module.exports.evaluate (C:\Dev\_jsPrototypes\serialPort\node_modules\serialport\n |
This file contains 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 java.io.File; | |
long lastTime = 0; | |
File f; | |
String[] data; | |
void setup() { | |
f = new File("e:/test.txt"); | |
} | |
void draw() { | |
background(0); |
NewerOlder