Skip to content

Instantly share code, notes, and snippets.

View gkmngrgn's full-sized avatar
🎮
Can you hear me?

Gökmen Görgen gkmngrgn

🎮
Can you hear me?
View GitHub Profile
Verifying my Blockstack ID is secured with the address 124KcXaDnhFduwW7bwiUK9kr1hdDYyEJKr https://explorer.blockstack.org/address/124KcXaDnhFduwW7bwiUK9kr1hdDYyEJKr
# -*- mode: ruby -*-
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
# vb.gui = true
vb.memory = "1024"
end

Keybase proof

I hereby claim:

  • I am gkmngrgn on github.
  • I am gkmngrgn (https://keybase.io/gkmngrgn) on keybase.
  • I have a public key whose fingerprint is 351F E36E AF81 D46B 603E 0195 93F9 1645 06DB F755

To claim this, I am signing this object:

~|⇒ cheese
(cheese:12909): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:12909): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:12909): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:12909): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
from django.conf import settings
from django.http.request import validate_host
from django.middleware.csrf import _sanitize_token, constant_time_compare
from tastypie.authorization import ReadOnlyAuthorization
from tastypie.authentication import Authentication
from urlparse import urlparse
class InternalResourceAuthentication(Authentication):
def is_authenticated(self, request, **kwargs):
Errno::ENOENT: No such file or directory - /usr/lib/ruby/gems/2.0.0/build_info/pg-0.17.0.info
An error occurred while installing pg (0.17.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.17.0'` succeeds before bundling.
[
{
"pk": 1,
"model": "survey.survey",
"fields": {
"user": 2,
"code": "survey-code-1",
"created_at": "2013-06-12 11:08:45",
"restricted": true,
"is_public": true
>>> Tweet.objects.fetch_from_twitter()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/borsala/borsala/apps/social/models.py", line 73, in fetch_from_twitter
entities_string=json.dumps(tweet.entities))
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 137, in create
return self.get_query_set().create(**kwargs)
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 377, in create
obj.save(force_insert=True, using=self.db)
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 463, in save
>>> Tweet.objects.fetch_from_twitter()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/borsala/borsala/apps/social/models.py", line 73, in fetch_from_twitter
entities=tweet.entities)
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 137, in create
return self.get_query_set().create(**kwargs)
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 377, in create
obj.save(force_insert=True, using=self.db)
File "/home/borsala/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 463, in save
(gajim)src|⇒ python gajim.py
File "gajim.py", line 202
print(_('Gajim needs X server to run. Quiting...'), file=sys.stderr)
^
SyntaxError: invalid syntax