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
1) set-up ngrok | |
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok | |
ngrok config add-authtoken <your token here> | |
2) install ssmtp | |
sudo apt install ssmtp | |
3) crate /etc/init.d/ngrok | |
4) crate /home/pi/.config/ngrok/ngrok.yml | |
5) create a gmail app password to be used in the sendNgrokAddress.py file | |
6) crate /home/pi/sendNgrokAddress.py | |
7) set-up ngrok service |
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
-- Testing Script to meause Behavioural Consistency | |
-- Credits to: Mactac for creating the original script | |
-- Instruction to install and run the script: https://youtu.be/tocH6IgbK7k | |
tricks = {{}, {}, {}} | |
-- Flip | |
tricks[1][1] = {200,800,0,0,0} -- Throttle bust {time,throttle,yaw,roll,pitch} | |
tricks[1][2] = {35,-1024,0,256,0} -- flip {time,throttle,yaw,roll,pitch} |
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
G91 ; Relative positioning | |
G1 E-5 F3000 ; Retract a bit | |
G1 E-10 X5 Y5 Z5 F3000 ; Wipe out | |
G1 Z10 ;Raise Z more | |
G90 ;Absolute positionning | |
G1 X0 Y{machine_depth} ;Present print | |
M106 S0 ;Turn-off fan | |
M104 S0 ;Turn-off hotend | |
M140 S0 ;Turn-off bed |
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
-- License https://www.gnu.org/licenses/gpl-3.0.en.html | |
-- OpenTX Lua script | |
-- FUNCTION | |
-- Place this file in SD Card > /SCRIPTS/FUNCTIONS/ | |
-- Author: Elia P. | |
-- Date: 2019 November 02 | |
-- Description |
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
-- Rolling GPS latlong logging | |
-- Stores the latest 100 distinct latlong coordinates (redundant coordinates are ignored). | |
-- If the number of sats is smaller than 4 coordinates are not recorded. | |
-- requires GPS telemetry | |
local function rnd(v,d) | |
if d then | |
return math.floor((v*10^d)+0.5)/(10^d) | |
else |
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
#!/usr/bin/env node | |
var fs = require('fs'); | |
var path = require('path'); | |
var rootdir = process.argv[2]; | |
function replace_string_in_file(filename, to_replace, replace_with) { | |
var data = fs.readFileSync(filename, 'utf8'); |
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
.header{ | |
position: fixed; | |
top: 0px; | |
width: inherit; | |
z-index: 2; | |
background: #252830; | |
} |
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 { Component, OnInit, Input,OnChanges, ElementRef,HostListener } from '@angular/core'; | |
import {SectionComponent} from '../section/section.component'; | |
@Component({ | |
selector: 'container', | |
templateUrl: './container.component.html', | |
styleUrls: ['./container.component.css'] | |
}) | |
export class ContainerComponent implements OnInit { |
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 {Component, OnInit, ElementRef, Output, EventEmitter, HostListener,Input,Output } from '@angular/core'; | |
@Component({ | |
selector: 'section', | |
templateUrl: './section.component.html', | |
styleUrls: ['./section.component.css'] | |
}) | |
export class SectionComponent implements OnInit { |
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
{ | |
"name": "raw-data-table-preview", | |
"version": "0.0.1" | |
} |
NewerOlder