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
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst | |
cat pacman.lst | xargs pacman -S --needed --noconfirm | |
======================== | |
$ pacman -Qqe | grep -vx "$(pacman -Qqm)" > Packages | |
$ pacman -Qqm > Packages.aur |
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 | |
echo '' | |
echo '' | |
echo '' | |
echo "This script automates the instructions found on this webpage: http://code.tutsplus.com/tutorials/how-to-install-ruby-on-a-mac--net-21664" | |
echo '' | |
echo '' | |
echo '' |
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 multiprocessing | |
import multiprocessing.queues | |
from flask import Flask | |
from flask import request | |
class Backend(object): | |
def __init__(self, command_queue, host='0.0.0.0', port=8000, debug=True): | |
self.command_queue = command_queue | |
self.flask_app = Flask('Backend') | |
self.flask_app.add_url_rule('/', "handleRequest", self.handleRequest, methods=['GET']) |
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
<VirtualHost *> | |
ServerName example.com | |
WSGIDaemonProcess www user=max group=max threads=5 | |
WSGIScriptAlias / /home/max/Projekte/flask-upload/flask-upload.wsgi | |
<Directory /home/max/Projekte/flask-upload> | |
WSGIProcessGroup www | |
WSGIApplicationGroup %{GLOBAL} | |
Order deny,allow |
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/env python | |
import re | |
import fileinput | |
def this_line_is_useless(line): | |
useless_es = [ | |
'BEGIN TRANSACTION', | |
'COMMIT', | |
'sqlite_sequence', |
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
%%html | |
<iframe src=http://www.medcomp.medicina.unipd.it/Argot2/help/batch.html width=900 height=650></iframe> |
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
# Path to your oh-my-zsh installation. | |
ZSH=$HOME/.oh-my-zsh/ | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="bureau" #"candy" #"agnoster" | |
# Example aliases |
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
| Loading Grails 2.2.5 | |
| Configuring classpath | |
Cannot find plugin descriptor for path '/home/gus/src/OLF_upstream/modules/OpenLabBackend'. | |
| Configuring classpath. | |
| Environment set to production | |
| Environment set to production. | |
| Environment set to production.. | |
| Environment set to production... | |
| Environment set to production.... |
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
Cloning into 'OLF_upstream'... | |
Submodule 'modules/OpenLabAttachments' ([email protected]:NanoCAN/OpenLabAttachments.git) registered for path 'modules/OpenLabAttachments' | |
Submodule 'modules/OpenLabBackend' ([email protected]:NanoCAN/OpenLabBackend.git) registered for path 'modules/OpenLabBackend' | |
Submodule 'modules/OpenLabBarcode' ([email protected]:NanoCAN/OpenLabBarcode.git) registered for path 'modules/OpenLabBarcode' | |
Submodule 'modules/OpenLabGeneTracker' ([email protected]:NanoCAN/OpenLabGeneTracker.git) registered for path 'modules/OpenLabGeneTracker' | |
Submodule 'modules/OpenLabNotes' (https://github.com/NanoCAN/OpenLabNotes) registered for path 'modules/OpenLabNotes' | |
Submodule 'modules/OpenLabStorage' ([email protected]:NanoCAN/OpenLabStorage.git) registered for path 'modules/OpenLabStorage' | |
Submodule 'prototype' ([email protected]:mlist/grails-prototype.git) registered for path 'prototype' | |
Cloning into 'modules/OpenLabAttachments'... | |
Submodule path 'modules/OpenLabAttachments': checked out '2089dc19fb98bc66e5573731cbc9f1 |
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
rm -rf $HOME/src/OLF_upstream/ | |
git clone --recursive [email protected]:NanoCAN/OpenLabFramework.git OLF_upstream | |
cd $HOME/src/OLF_upstream/ | |
grails war > war_output.txt |