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
| (source "e6h" "http://www.e6h.org/packages/") | |
| (source gnu) | |
| (source marmalade) | |
| (source melpa) | |
| (depends-on "ack") | |
| (depends-on "ag") | |
| (depends-on "cask") | |
| (depends-on "dash") | |
| (depends-on "epl") |
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
| # -*- restclient -*- |
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
| # | |
| # A simple theme that displays relevant, contextual information. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <sorin.ionescu@gmail.com> | |
| # | |
| # Screenshots: | |
| # http://i.imgur.com/nBEEZ.png | |
| # |
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
| function prompt_sorin_pwd { | |
| local pwd="${PWD/#$HOME/~}" | |
| if [[ "$pwd" == (#m)[/~] ]]; then | |
| _prompt_sorin_pwd="$MATCH" | |
| unset MATCH | |
| else | |
| _prompt_sorin_pwd="${${${${(@j:/:M)${(@s:/:)pwd}##.#?}:h}%/}//\%/%%}/${${pwd:t}//\%/%%}" | |
| fi | |
| } |
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
| 0b0fda55c87274f069f93683dc61e51d2bba8801 | |
| Author: Alex Kir <alex@wall-dev.org> | |
| Date: Mon Nov 17 11:29:50 2014 +0200 | |
| Modules update | |
| * Swapped json to simplejson to get decimal encoding/decoding | |
| * Updated requirements with suds-jurko instead of suds | |
| * Updated requirements with simplejson | |
| 2 files changed, 3 insertions(+), 3 deletions(-) |
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
| mapped_items = [{ | |
| 'p_sum': i.get('price', None), | |
| 'p_dimensions': i.get('dimensions', []), | |
| 'p_weight': i.get('weight'), | |
| 'p_quantity': i.get('quantity'), | |
| 'p_valuable': i.get('valuable', False), | |
| } for i in items] |
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
| for package in my_packages: | |
| if (package.heigth > greater_package.heigth and | |
| package.width > greater_package.width and | |
| package.length > greater_package.length): | |
| return package.bin |
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
| @property | |
| def service(self): | |
| return self.company.code |
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
| { | |
| "waybill": null, | |
| "updated_at": "2014-11-09T02:23:23.146221", | |
| "turnover": "0.00", | |
| "tariff": null, | |
| "status": "new", | |
| "sender_phone": "79198558244", | |
| "sender": { | |
| "name": "\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c", | |
| "id": 1 |
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
| DATABASES = { | |
| 'default': { | |
| 'ENGINE': 'django.contrib.gis.db.backends.postgis', | |
| 'NAME': 'dinvio', | |
| 'USER': 'dinvio', | |
| 'PASSWORD': '', | |
| }, | |
| } |