Skip to content

Instantly share code, notes, and snippets.

View Lukse's full-sized avatar

Saulius Lukse Lukse

View GitHub Profile
@Lukse
Lukse / dropbox_action.sh
Last active December 18, 2015 00:49
Control remote Linux computer using DropBox (adapted for Carambola)
#!/bin/bash
# Prepare
# Install dropbox_iploader.sh script from https://github.com/andreafabrizi/Dropbox-Uploader
# Add [* * * * * /usr/bin/dropbox_action.sh] to crontab
# Usage
# Create file /remote/input.txt un your dropbox folder
# Put single line in this file to run in remote Caramola (without new line)
# Read result after minute or so in output.txt file
@Lukse
Lukse / gist:5194355
Created March 19, 2013 07:41
Flash Carambola via sysupgrade
scp test@192.168.0.105:/home/test/carambola/bin/ramips/openwrt-ramips-rt305x-carambola-squashfs-sysupgrade.bin /tmp
sysupgrade -v -n /tmp/openwrt-ramips-rt305x-carambola-squashfs-sysupgrade.bin