Tags » Source Code

Source Code for the Holmes Basic Character Generator

Robert Weber asked me on G+ if the Holmes character generator ran offllne. As a web-application no, but as a perl script, yes. I just… 165 more words

Random Generators

How to compile and install wget and RStudio Server from source code (via Github) in Ubuntu 14.04 LTS 64-bit

# bash shell script for Ubuntu 14.04 LTS 64-bit:
# Free disk space required: around 5 GB
# Minimum internal memory/RAM requirements: 4 GB RAM minimum
# Time required to execute 'sudo make' compilation of RStudio source code: around 45 minutes, maybe even more 
# sudo checkinstall process should take around 20 minutes to finish
# REQUIRES: newest version of wget compiled from Github sources
# Copy-paste the following commands into the Terminal one by one:
# install newest version of wget from Github sources in order to solve following wget issue in Ubuntu 14.04 LTS : 
# https://github.com/chapmanb/bcbio-nextgen/issues/1133
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install libqtwebkit-dev checkinstall qtbase5-dev pandoc r-base
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install libboost-all-dev cmake libqt4-dev build-essential default-jdk
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes build-dep wget
cd
sudo rm -rf wget
sudo rm /usr/bin/rstudio*
git clone https://github.com/mirror/wget.git
cd wget
./bootstrap
./configure
sudo make
sudo checkinstall
# Press 3 and ENTER and then set version to 1.17.1.13
apt-cache show wget
# Terminal output should look like this:
# apt-cache show wget
# Package: wget
# Status: install ok installed
# Priority: extra
# Section: checkinstall
# Installed-Size: 3864
# Maintainer: root
# Architecture: amd64
# Version: 1.17.1.13-1
# Provides: wget
# Conffiles:
# /etc/wgetrc 618c05b4106ad20141dcf6deada2e87f obsolete
# Description: Package created with checkinstall 1.6.2
# Description-md5: 556b8d22567101c7733f37ce6557412e
# compile and install RStudio Server from source code:
cd
git clone https://github.com/rstudio/rstudio.git
cd rstudio/
mkdir build
cd build/
cd ~/rstudio/dependencies/common
bash install-common
bash install-common
cd
bash ~/rstudio/dependencies/linux/install-dependencies-debian
bash ~/rstudio/dependencies/linux/install-dependencies-debian
cd /tmp
wget http://dl.google.com/closure-compiler/compiler-latest.zip
unzip compiler-latest.zip
rm COPYING README.md compiler-latest.zip
sudo mv compiler.jar ~/rstudio/src/gwt/tools/compiler/compiler.jar
cd ~/rstudio
sudo rm -rf build
sudo cmake -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release
time sudo make
# sudo make install process should take around 45 minutes to finish
time sudo checkinstall
# sudo checkinstall process should take around 20 minutes to finish
apt-cache show rstudio
# Terminal output should look like this:
# Package: rstudio
# Status: install ok installed
# Priority: extra
# Section: checkinstall
# Installed-Size: 293492
# Maintainer: root
# Architecture: amd64
# Version: 20160206-1
# Provides: rstudio
# Description: Package created with checkinstall 1.6.2
# Description-md5: 556b8d22567101c7733f37ce6557412e
sudo ln -s /usr/local/lib/rstudio-server/bin/rserver /usr/bin
nohup rserver &
# then use a web browser to navigate to http://127.0.0.1:8787/ to access the RStudio Server interface
Ubuntu

All the Riddler Source Code

So I’ve gotten sick of fighting with WordPress in each post trying to nicely format my C++ code when I post, so I decided to start posting it to textuploader.com and providing links to the formatted and raw files. 76 more words

Riddler

The Urban Hike

Firstly, I would like to apologise for not adding to this blog for quite a while. It was in part writers block, being busy with work and family and the rest just being lazy. 725 more words

Source Code

Groundhog Day (1993)

Isn’t there some rule against repetition in storytelling? Most tales that purposely retread the same ground all over again do so lazily, a conceit allowed either because a concept begs the question (a la… 711 more words

Featured

Release notes - Clone Stars

It’s time for another release dear reader, and after we looked at the Atari Stars Demo by the GPS a few weeks ago, it probably won’t come as much of a surprise that this latest emission is for the Atari 8-bit and called… 360 more words

Programming

Remove All Art Cover from Multiple .MKV files

You need to install MKVToolNix first https://mkvtoolnix.download/downloads.html
@ECHO OFF
SET MKVPROEDIT="C:\mkvtoolnix-64bit-8.8.0\"
SET /P PATH="Enter folder path: "
IF EXIST %PATH:~1,-1%
(
   FOR /F "tokens=*" %%i IN ('dir /B /S %PATH%"\*.mkv"') DO (
       ECHO [+] Processing File: "%%i"
       START /D %MKVPROEDIT% /B /W mkvpropedit.exe "%%i" --delete-attachment mime-type:image/jpeg
       ECHO. 12 more words
Source-Code