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
| sudo apt-get install -f default-jdk | |
| sudo apt-get install -f git-all | |
| \curl -L https://get.rvm.io | bash -s stable | |
| sudo apt-get --no-install-recommends install -y bash curl git patch bzip2 | |
| sudo apt-get --no-install-recommends install -y build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev | |
| sudo apt-get install -y nodejs |
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
| ### This file configures various client-side behaviors. | |
| ### | |
| ### The commented-out examples below are intended to demonstrate | |
| ### how to use this file. | |
| ### Section for authentication and authorization customizations. | |
| [auth] | |
| ### Set password stores used by Subversion. They should be | |
| ### delimited by spaces or commas. The order of values determines | |
| ### the order in which password stores are used. |
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
| Function Compare-VB($csFilePath) { | |
| $tempFile = [System.IO.Path]::GetTempPath() + [guid]::NewGuid() + ".vb" | |
| & 'C:\Program Files\InstantVB\InstantVB.exe' $csFilePath $tempFile | |
| WaitForFile($tempFile) | |
| & 'C:\Program Files (x86)\Beyond Compare 3\BCompare.exe' $csFilePath.Replace(".cs",".vb") $tempFile | |
| } | |
| Function WaitForFile($path) { | |
| while(!(Test-Path $path)) { | |
| Start-Sleep -s 1 |
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
| # http://www.mono-project.com/Compiling_Mono_on_OSX | |
| require 'formula' | |
| class Mono < Formula | |
| #url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2' | |
| #sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77' | |
| url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2' | |
| sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de' | |
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 "ViewController.h" | |
| #import <netinet/in.h> | |
| #import <sys/socket.h> | |
| #import <CFNetwork/CFSocketStream.h> | |
| #include <arpa/inet.h> | |
| @interface ViewController() | |
| -(void)openSocket; |
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 | |
| sudo echo -e "wireless-power off" >>/etc/network/interfaces | |
| sudo echo -e "options 8192cu rtw_power_mgnt=0" >>/etc/modprobe.d/8192cu.conf | |
| sudo echo -e "options 8188eu rtw_power_mgnt=0" >>/etc/modprobe.d/8188eu.conf |
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
| #WIP | |
| sudo apt-get update | |
| sudo apt-get install gperf bison flex libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libicu-dev libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libavformat-dev libswscale-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good gstreamer0.10-plugins-bad libraspberrypi-dev libpulse-dev libx11-dev libglib2.0-dev libcups2-dev freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev libmysqlclient-dev firebird-dev libpng12-dev libjpeg62-dev libgst-dev libxext-dev libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libxi-dev libdrm-dev | |
| mkdir ~/opt | |
| cd ~/opt | |
| git clone git://gitorious.org/qt/qt5.git | |
| cd qt5 | |
| ./init-repository | |
| cd ~/opt/qt5 |
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 | |
| # virtualenv-auto-activate.sh | |
| # | |
| # Installation: | |
| # Add this line to your .bashrc or .bash-profile: | |
| # | |
| # source /path/to/virtualenv-auto-activate.sh | |
| # | |
| # Go to your project folder, run "virtualenv .venv", so your project folder | |
| # has a .venv folder at the top level, next to your version control directory. |
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 | |
| brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer | |
| pip3 install --upgrade Cython==0.25.2 | |
| # USE_OSX_FRAMEWORKS=0 pip3 install kivy # currently doesn't work due to incompatibility with SDL_mixer: https://github.com/kivy/kivy/pull/5459 | |
| USE_OSX_FRAMEWORKS=0 pip3 install http://github.com/kivy/kivy/archive/master.zip | |
| # --- NOTES ---- | |
| # This is so you don't need to use Kivy.app -- I prefer that these deps install via pip and run via python like everything else. | |
| # For python2, just use python2 version of pip | |
| # I'm assuming usage of virtualenv here -- if you want to install globally, pip3 may require `sudo -H` |
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 | |
| sudo echo -e "@reboot root /usr/local/bin/pigpiod\n" >>/etc/cron.d/pigpiod |