Tested in Mac OS X| super
== command (⌘)
Shortcut | Action |
---|---|
super +t |
go to file |
super +ctrl +p |
go to project |
#!/usr/bin/env python2 | |
""" | |
quicky script that compares two conda environments | |
can be handy for debugging differences between two environments | |
This could be made much cleaner and more flexible -- but it does the job. | |
Please let me know if you extend or improve it. |
SELECT json_build_object( | |
'type', 'FeatureCollection', | |
'crs', json_build_object( | |
'type', 'name', | |
'properties', json_build_object( | |
'name', 'EPSG:4326' | |
) | |
), | |
'features', json_agg( | |
json_build_object( |
/* | |
* Copyright (c) 2023 Russell Harmon | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
#!/bin/bash | |
## these need to be set | |
# initial account credentials | |
SEED_USER=admin | |
SEED_PASS=password | |
# required for new users to be able to sign up ; default to something random | |
INVITATION_CODE=`dd if=/dev/urandom bs=1024 count=1 | md5sum -` |
#!C:\Python2.7\python.exe | |
# EASY-INSTALL-ENTRY-SCRIPT: 'ipython==2.1.0','console_scripts','ipython' | |
__requires__ = 'ipython==2.1.0' | |
import sys | |
from pkg_resources import load_entry_point | |
if __name__ == '__main__': | |
sys.exit( | |
load_entry_point('ipython==2.1.0', 'console_scripts', 'ipython')() | |
) |
There are a bunch of reasons why this is convoluted, mostly in building the URL to make the request:
info_format
parameter in the request. We don't know a priori which will be supported by a WMS that we might make a request to. See Geoserver's docs for what formats are available from Geoserver. That won't be the same from WMS to WMS, however.import re | |
from collections import namedtuple | |
import requests | |
from bs4 import BeautifulSoup | |
Torrent = namedtuple('Torrent', 'name link magnet torrent created size' | |
' user seeders leechers') |
import contextlib | |
import linecache | |
import logging | |
import sys | |
import traceback | |
try: | |
import cStringIO as StringIO | |
except ImportError: | |
import StringIO |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: btsync | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Multi-user daemonized version of btsync. |