This file contains 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
[ | |
{ | |
"agent_id":"78937028-daeb-11eb-8b7e-2f24f9d10838", | |
"height":42, | |
"time":575 | |
}, | |
{ | |
"agent_id":"78937233-daeb-11eb-84e0-254376c2af78", | |
"color":"hsl(169, 100%, 50%)", | |
"time":590 |
This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"bookings": { | |
"0008e056-5c64-11ea-8802-7a164bdb8250": { | |
"dropoff_location_lat": 1.246435, | |
"dropoff_location_lon": 103.614374, | |
"dropoff_location_name": "Sembcorp Marine @ Tuas", | |
"dropoff_time": "2020-03-30T23:00:00+00:00", | |
"pickup_location_lat": 1.343196, | |
"pickup_location_lon": 103.704404, | |
"pickup_location_name": "640685", |
This file contains 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
{ | |
"timezone": "Asia/Singapore", | |
"objects": [ | |
{ "name": "John", "age": 42, "start_time": "10:00", "end_time": "13:00" }, | |
{ "name": "Alice", "age": 35 } | |
] | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
@page { | |
size: 2.00in 1.00in; | |
margin: 1mm 1mm 1mm 1mm; | |
} | |
div.pricelabel { | |
page-break-after: always; | |
} |
This file contains 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
==> Using the sandbox | |
/usr/bin/sandbox-exec -f /tmp/homebrew20160713-60078-rm3adq.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/build.rb /usr/local/Library/Taps/homebrew/homebrew-core/Formula/steem.rb --build-bottle --verbose | |
==> Cloning https://github.com/steemit/steem | |
Updating /Users/brew/Library/Caches/Homebrew/steem--git | |
git config remote.origin.url https://github.com/steemit/steem | |
git config remote.origin.fetch +refs/tags/v0.8.5b:refs/tags/v0.8.5b | |
==> Checking out tag v0.8.5b | |
git checkout -f v0.8.5b -- | |
HEAD is now at 0ea6049... Merge branch 'develop' | |
git reset --hard v0.8.5b |
This file contains 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
TEMPLATES[0]['OPTIONS']['debug'] = False | |
TEMPLATES[0]['OPTIONS']['loaders'] = ( | |
('django.template.loaders.cached.Loader', | |
TEMPLATES[0]['OPTIONS']['loaders'] | |
), | |
) |
This file contains 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 contextlib import contextmanager | |
from django.conf import settings | |
import logging | |
logger = logging.getLogger(__name__) | |
django_db_backends_logger = logging.getLogger('django.db.backends') | |
@contextmanager | |
def debug_db_backends(enabled=settings.DEBUG, level=logging.DEBUG): |
This file contains 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
import datetime | |
from contextlib import contextmanager | |
@contextmanager | |
def elapsed_time(): | |
t1 = datetime.datetime.now() | |
yield | |
t2 = datetime.datetime.now() | |
print(u'Elapsed time: %s' % (t2 - t1)) |
This file contains 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
INSTALLED_APPS = [ | |
# ... | |
'djangocms_ace', | |
# ... | |
] |
NewerOlder