Skip to content

Instantly share code, notes, and snippets.

View dividedmind's full-sized avatar

Rafał Rzepecki dividedmind

  • Wrocław, Poland
View GitHub Profile
@dividedmind
dividedmind / Gemfile
Created October 9, 2013 18:12
Gemfile taking three minutes to resolve
source 'https://rubygems.org'
gem 'rails-api', '>= 0'
gem 'slosilo', '>= 0'
gem 'slosilo', '>= 0'
gem 'rails-api', '>= 0'
gem 'pg_random_id', '>= 0'
gem 'sequel-attribute_callbacks', '>= 0'
gem 'json_spec', '>= 0'
gem 'talentbox-sequel-rails', '>= 0'
@dividedmind
dividedmind / gist:5091386
Created March 5, 2013 16:06
ZTE modem losing connection on weak signal - syslog
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT+CSQ<CR>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>+CSQ: 4,0<CR><LF><CR><LF>OK<CR><LF>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): --> 'AT%NWSTATE=1<CR>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF><CR><LF>OK<CR><LF
>'
Mar 5 16:07:57 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 2,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:07:58 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1): <-- '<CR><LF>%NWSTATE: 1,26002,3G,HSDPA-HSUPA-HSPA+,0<CR><LF>'
Mar 5 16:08:03 daktylon modem-manager[1003]: <debug> [mm-at-serial-port.c:334] debug_log(): (ttyACM1)
@dividedmind
dividedmind / chromewallet.py
Created March 29, 2012 02:38
Chrome password extractor from KWallet
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Quick and dirty Chrome kwallet password extractor
from PyKDE4.kdeui import KWallet
from PyQt4.QtGui import QApplication
from sys import argv
app = QApplication([])
@dividedmind
dividedmind / googleplus_default.user.js
Created July 2, 2011 19:36
user script to link chosen stream to google+ logo
// Google+ default stream
// version 0.1
// 2011-07-02
// Public domain
//
// ==UserScript==
// @name Google+ default stream
// @description sets default stream on Google+
// @match https://*.google.com/*
// ==/UserScript==