Skip to content

Instantly share code, notes, and snippets.

Avatar

Felipe F. Tonello ftonello

View GitHub Profile
@groleo
groleo / gist:4731938c7a207f388f8ed2233661c3b1
Last active Apr 12, 2016
GDB extension to automatically get the source files when doing a "backtrace"
View gist:4731938c7a207f388f8ed2233661c3b1
# GDB python extension to pull the source files from a server, when executing "gdb backtrace"
# Modify file_server to match your needs
# Tested on gdb 7.10
# It depends on scp and password-less login.
# Adapted from a GDB example [https://sourceware.org/gdb/onlinedocs/gdb/Python.html#Python]
import gdb
from gdb.FrameDecorator import FrameDecorator
file_server='host where you've built'
@jennings
jennings / install-rhodecode.rst
Last active Oct 31, 2018
Step-by-step instructions for installing RhodeCode 1.3.6 on Ubuntu Server 12.04 with Nginx 1.2.1 as the reverse proxy. This was written when these were the latest versions; add a comment if the scripts need to change to accommodate changes in newer versions.The script assumes you want to use a SQLite database. Sorry, you'll need to find another …
View install-rhodecode.rst

Setting up RhodeCode on Ubuntu Server 12.04

Goal

  • Everything running on a single Ubuntu Server
  • RhodeCode running in a virtualenv
  • Use SQLite as the database