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
| from django.contrib.auth import REDIRECT_FIELD_NAME | |
| from django.http import HttpResponseRedirect | |
| from django.utils.http import urlquote | |
| from django.utils.decorators import available_attrs | |
| from functools import wraps | |
| import time | |
| import logging | |
| from lockfile import FileLock, AlreadyLocked, LockTimeout |
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
| The settings on wireless security is to use TKIP, all the rest is default. | |
| # asus g51jx notebook running ubuntu | |
| Dec 12 00:26:56 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated | |
| Dec 12 00:26:56 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: Station tried to use TKIP with HT association | |
| Dec 12 00:26:58 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated | |
| Dec 12 00:26:58 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: Station tried to use TKIP with HT association | |
| Dec 12 00:27:00 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated | |
| Dec 12 00:27:00 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: Station tried to use TKIP with HT association | |
| Dec 12 00:27:01 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated |
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
| # connect susseful with wpa2 personal + aes | |
| Dec 12 00:44:38 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated | |
| Dec 12 00:44:38 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: associated (aid 1) | |
| Dec 12 00:44:38 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 RADIUS: starting accounting session 4EE54E72-00000000 | |
| Dec 12 00:44:38 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 WPA: pairwise key handshake completed (RSN) | |
| Dec 12 00:45:13 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: authenticated | |
| Dec 12 00:45:13 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 IEEE 802.11: associated (aid 1) | |
| Dec 12 00:45:14 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 RADIUS: starting accounting session 4EE54E72-00000001 | |
| Dec 12 00:45:14 DD-WRT daemon.info hostapd: ath0: STA 1c:4b:d6:78:bb:39 WPA: pairwise key handshake completed (RSN) | |
| Dec 12 00:46:24 DD-WRT daemon.info hostapd: ath0: STA 74:f0:6d:10:d1:3a IEEE 802.11: authe |
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
| File "/home/felipe/projects/p1/local/lib/python2.7/site-packages/raven/handlers/logging.py", line 51, in emit | |
| return self._emit(record) | |
| File "/home/felipe/projects/p1/local/lib/python2.7/site-packages/raven/contrib/django/handlers.py", line 31, in _emit | |
| return super(SentryHandler, self)._emit(record, request=request) | |
| File "/home/felipe/projects/p1/local/lib/python2.7/site-packages/raven/handlers/logging.py", line 87, in _emit | |
| date=date, **kwargs) | |
| File "/home/felipe/projects/p1/local/lib/python2.7/site-packages/raven/contrib/django/__init__.py", line 92, in capture | |
| result = super(DjangoClient, self).capture(event_type, **kwargs) | |
| File "/home/felipe/projects/p1/local/lib/python2.7/site-packages/raven/base.py", line 236, in capture | |
| self.send(**data) |
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
| <table style="width: 900px"> | |
| <thead> | |
| <tr> | |
| <th style="width: 65%">Serviços prestados</th> | |
| <th style="width: 35%">Próximas parcelas</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td> |
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
| ###################### DICT ############################################ | |
| (p1)felipe@PLAPSTMD142:~/projects/p1/portal$ time python ~/uuid_tests_dict.py | |
| 50000 (50000) | |
| 0:00:06.289915 from last step | |
| 0:00:06.289915 until now | |
| 100000 (100000) | |
| 0:00:08.337636 from last step | |
| 0:00:14.627551 until now | |
| 150000 (150000) | |
| 0:00:10.559169 from last step |
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
| ~$ ./sum_hours.py tracking.txt | |
| 08/02/2012 21:00 23:59 -> 2:59:00 hours | |
| 09/02/2012 00:00 00:40 -> 0:40:00 hours | |
| Group hours: 3:39:00 | |
| 09/02/2012 21:00 23:59 -> 2:59:00 hours | |
| 09/02/2012 00:00 01:40 -> 1:40:00 hours | |
| Group hours: 4:39:00 | |
| 09/02/2012 22:30 23:59 -> 1:29:00 hours |
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
| ${HOME}/.cache/ | |
| ${HOME}/.cache/telepathy/ | |
| ${HOME}/.cache/wocky/ | |
| ${HOME}/.cache/wocky/caps/ | |
| ${HOME}/.config/indicators/ | |
| ${HOME}/.config/indicators/messages/ | |
| ${HOME}/.config/indicators/messages/applications-blacklist/ | |
| ${HOME}/.{cache,config}/dconf/user | |
| ${HOME}/.local/share/telepathy/ | |
| ${HOME}/.local/share/TpLogger/ |
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
| felipe@felipe-G51JX:~/projects/p1/portal$ . ~/projects/p1/bin/activate | |
| felipe@felipe-G51JX:~/projects/p1/portal$ pwd | |
| /home/felipe/projects/p1/portal | |
| felipe@felipe-G51JX:~/projects/p1/portal$ pwd > ../lib/python2.7/site-packages/portal.pth | |
| felipe@felipe-G51JX:~/projects/p1/portal$ cat ../lib/python2.7/site-packages/portal.pth | |
| /home/felipe/projects/p1/portal | |
| felipe@felipe-G51JX:~/projects/p1/portal$ ln -sv . portal | |
| `portal' -> `.' | |
| (p1)felipe@felipe-G51JX:~/projects/p1/portal$ ./manage.py shell |
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
| (github_projects_2)felipe@felipe-G51JX:~/projects/github_projects_2/clones/django-object-config/sample_project$ m test object_config --failfast --noinput | |
| Creating test database for alias 'default'... | |
| E | |
| ====================================================================== | |
| ERROR: test_option_create_many (object_config.tests.OptionsTest) | |
| Test many items creation | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/felipe/projects/github_projects_2/clones/django-object-config/sample_project/object_config/tests.py", line 27, in setUp | |
| self.model = MyModel.objects.create(name='test 1') |