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
println!("{}", path); | |
let store = Store::default(); | |
let module = Module::from_file(&store, &path).expect("Failed to load module"); | |
let mut wasi_env = WasiState::new("Gut") | |
.finalize() | |
.expect("Failed to create wasi env"); | |
let import_object = wasi_env |
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
Workaround for appc cloud commands with (npm not found. Please install npm and try again) error: | |
1. Ensure that the folder containing npm is in NODE_PATH environment variable, e.g. NODE_PATH=/usr/lib/node_modules (I believe you can get this path by using 'npm root -g') | |
Alternative fix (without modifying environment variables) | |
1. navigate to the install directory of the current version of appc-cli. (Example for [email protected] ~/.appcelerator/install/6.2.2/package/) | |
2. 'npm install global-npm' | |
3. navigate to acs node_module directory (node_modules/acs/lib/util.js) look for the function called "getNpm" and replace the line: |
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 os | |
import re | |
from Tkinter import * | |
from tkFileDialog import * | |
from tkMessageBox import * | |
# Tkingter root widget | |
root = Tk() | |
# App title | |
root.title("List Batch Rename") |
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
/** TurquoiseBicuspid.c | |
* @file | |
* | |
* This file has been automatically generated by the WICED Smart Designer. | |
* Device configuration and functions required for the BLE device. | |
* | |
*/ | |
#include "bleprofile.h" | |
#include "bleapp.h" |