Skip to content

Instantly share code, notes, and snippets.

View DmitriyLyalyuev's full-sized avatar
💭
Trying to exit vim

Silver Ghost DmitriyLyalyuev

💭
Trying to exit vim
View GitHub Profile
gdb
(gdb) file /opt/ruby-2.2.3/bin/ruby
(gdb) attach [pid]
# output of the C backtrace goes to the gdb console
(gdb) eval "backtrace"
# output of the Ruby application backtrace below goes to ruby stdout (rails logger?)
(gdb) call rb_backtrace()
(gdb) continue
@DmitriyLyalyuev
DmitriyLyalyuev / README.md
Created November 12, 2015 08:37 — forked from hwdsl2/.MOVED.md
IPsec L2TP VPN Auto Install Script for Ubuntu 14.04 & 12.04 and Debian 8
# -*- coding: utf-8 -*-
"""
This script will delete all of the tweets in the specified account.
You may need to hit the "more" button on the bottom of your twitter profile
page every now and then as the script runs, this is due to a bug in twitter.
You will need to get a consumer key and consumer secret token to use this
script, you can do so by registering a twitter application at https://dev.twitter.com/apps
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1)