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 ruby2.2 | |
begin | |
load File.expand_path("../spring", __FILE__) | |
rescue LoadError | |
end | |
APP_PATH = File.expand_path('../../config/application', __FILE__) | |
require_relative '../config/boot' | |
# START NEW CODE | |
require "rails/commands/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
#!/bin/bash | |
# Descriprion: | |
# This simple script creates a local sd image backup of a remote raspberry pi in a local folder | |
# using ssh, dd, and the unix pipe | |
# Author: Fabio Nisci | |
# Date: 23/Apr/2014 | |
# Requirements: | |
# - ssh | |
# - sshpass (auto installation) |
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
#!/bin/bash | |
# Installazione "Wicd" Network Manager per WiFi e Eth | |
# Start as Root or sudo. | |
# Solo root può eseguire lo script | |
if [[ $EUID -ne 0 ]]; then | |
echo "Avvia lo script come ROOT o SUDO" 1>&2 | |
exit 1 | |
fi |
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
#!/bin/bash | |
echo "Change Hostname Permanently" | |
echo "Script by Fabio Nisci 2014" | |
echo "Enjoy." | |
# Only root can! | |
if [[ $EUID -ne 0 ]]; then | |
echo "Run this script as ROOT o SUDO" 1>&2 | |
exit 1 |
NewerOlder