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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from os import walk, rename, unlink, mkdir, remove | |
from os.path import isdir, exists | |
from sys import argv, exit, getfilesystemencoding | |
from shutil import copyfile | |
import shutil | |
conversion = { |
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
#!/bin/sh | |
# dependencies | |
echo "Installing dependencies via Homebrew (http://brew.sh)" | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
brew update | |
brew install gcc48 |
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
wget --no-check-certificate https://raw.github.com/bagder/curl/master/lib/mk-ca-bundle.pl | |
perl mk-ca-bundle.pl && rm certdata.txt | |
mkdir -p ~/.ssl/ && mv ca-bundle.crt mk-ca-bundle.pl ~/.ssl | |
echo "ca_certificate = ~/.ssl/ca-bundle.crt" >> ~/.wgetrc |
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
#! /usr/bin/sh | |
# | |
# Build script to cross-compile OpenOCD with MinGW on Mint Linux (FTDI, JLINK, TI-ICDI, OSBDM). | |
# | |
# 7zip | |
# curl | |
# git | |
# MinGW-W64 | |
# libtool | |
# Automake |
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
#!/bin/bash | |
## Node.js for Raspberry Pi 2 Packaging Script | |
## ========================================= | |
## Use like this: | |
## ./buildnode.sh <node_tarball_version> | |
clean () { | |
rm -rvf node-v$1 node-v$1-rpi2 | |
} |
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
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo -e " | |
ROOT PRIVILEDGES NEEDED! | |
You have to run this script as root. | |
Aborting... | |
" | |
exit 1 | |
else |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
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
# arduino-linux-setup.sh : A simple Arduino setup script for Linux systems | |
# Copyright (C) 2015 Arduino Srl | |
# | |
# Author : Arturo Rinaldi | |
# E-mail : [email protected] | |
# Project URL : https://github.com/artynet/arduino-linux-setup | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
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
BUILD nsis v2.46 on OSX >= 10.9 | |
scons PREFIX=/Users/arturo/Programmi/nsis-2.46 ZLIB_W32=/Users/arturo/Programmi/Zlib-1.2.7-win32-x86 \ | |
STRIP=no install-stubs install-plugins install-data install-utils install-examples install-doc install-conf | |
scons APPEND_CCFLAGS=--stdlib=libstdc++ APPEND_LINKFLAGS=--stdlib=libstdc++ \ | |
PREFIX=/Users/arturo/Programmi/nsis-2.46 ZLIB_W32=/Users/arturo/Programmi/Zlib-1.2.7-win32-x86 \ | |
STRIP=no install-compiler | |
scons PREFIX=/Users/arturo/Programmi/nsis-2.46 ZLIB_W32=/Users/arturo/Programmi/Zlib-1.2.7-win32-x86 \ |
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
OSX | |
BUILD nsis v2.46 on OSX >= 10.9 | |
scons PREFIX=/home/arturo/Programmi/nsis-2.46 ZLIB_W32=/home/arturo/Programmi/Zlib-1.2.7-win32-x86 \ | |
STRIP=no install-stubs install-plugins install-data install-utils install-examples install-doc install-conf | |
scons APPEND_CCFLAGS=--stdlib=libstdc++ APPEND_LINKFLAGS=--stdlib=libstdc++ \ | |
PREFIX=/home/arturo/Programmi/nsis-2.46 ZLIB_W32=/home/arturo/Programmi/Zlib-1.2.7-win32-x86 \ | |
STRIP=no install-compiler |