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
leftid=52.71.190.196 | |
leftsourceip=52.71.190.196 | |
##leftsubnet=192.168.16.0/20 | |
leftsubnet=52.71.190.196/32 | |
##leftsubnet=172.31.0.0/16 | |
##leftsubnet=172.31.16.0/20## | |
leftnexthop=%defaultroute | |
##leftprotoport=17/1701 ## | |
right=196.201.212.240 | |
rightsubnets={196.201.214.94/32, 196.201.214.95/32, 196.201.214.127/32, 196.201.214.136/32, 196.201.214.137/32, 196.201.214.144/32, 196.201.214.145/32,} |
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
04 "connection-safcom/0x7" #49: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=oakley_3des_cbc_192 prf=oakley_md5 group=modp1024} | |
117 "connection-safcom/0x1" #50: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x2" #51: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x3" #52: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x4" #53: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x5" #54: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x6" #55: STATE_QUICK_I1: initiate | |
117 "connection-safcom/0x7" #56: STATE_QUICK_I1: initiate | |
010 "connection-safcom/0x7" #56: STATE_QUICK_I1: retransmission; will wait 20s for response | |
010 "connection-safcom/0x6" #55: STATE_QUICK_I1: retransmission; will wait 20s for response |
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 requests | |
import json | |
import psycopg2 | |
from osgeo import ogr | |
import pysolr | |
solr_url = "http://127.0.0.1:8983/solr/featuresearch" | |
solr = pysolr.Solr(solr_url, timeout=60) |
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
23:44:39.896 2554-2554/? E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: com.class.test, PID: 2554 | |
java.lang.NullPointerException | |
at co.atlas.atlas.MapActivity.onConnected(MapActivity.java:383) | |
at com.google.android.gms.common.internal.zzk.zzk(Unknown Source) | |
at com.google.android.gms.common.api.internal.zzj.zzi(Unknown Source) | |
at com.google.android.gms.common.api.internal.zzh.zzpx(Unknown Source) | |
at com.google.android.gms.common.api.internal.zzh.onConnected(Unknown Source) | |
at com.google.android.gms.common.api.internal.zzl.onConnected(Unknown Source) | |
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
proxy_temp_path /tmp/nginx_proxy 1 2; | |
server { | |
#listen 80 default_server; | |
#listen [::]:80 default_server; | |
location '/.well-known/acme-challenge' { | |
default_type "text/plain"; | |
root /tmp/letsencrypt-auto; | |
} |
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
title , abstract | |
mytitle, myabstract | |
mytitle2010, myabstract | |
mytitle, 2011myabstract | |
1950CE title, 2010 abstract | |
title, 11BCE abstract | |
Ming regions, Ming abstract | |
Carte des Etats-unis : 2010 provinces méridionales.,from Parts | |
LV95 Koordinatenänderung , 1950 Die Koordinatenänderungen zwischen dem alten Bezugsrahmen LV03 und dem neuen LV95, respektive die Verzerrungen von LV03, sind relativ gegenüber Zimmerwald bei Bern ersichtlich: Die grössten Koordinatenänderungen von ungefähr 1.5 m treten dabei im südlichen Tessin und im südlichen Puschlav auf. Rund um Bern sind die Differenzen am kleinsten, da sowohl LV03 wie auch LV95 den Ursprung in der alten Sternwarte Bern haben. Die Unterschiede bezüglich den verschobenen (sogenannten "falschen") Rechts- und Hochwerten (LV03: 600'000 / 200'000 und LV95: 2'600'000 / 1'200'000) wurden für die grafische Darstellung eliminiert. |
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 unittest | |
import csv | |
import re | |
from dateutil.parser import parse | |
def read_data(data): | |
with open(data, 'r') as f: | |
data = [row for row in csv.reader(f.read().splitlines())] | |
return data |
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 nltk | |
text = """The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital computer or the gears of a cycle transmission as he does at the top of a mountain or in the petals of a flower. To think otherwise is to demean the Buddha...which is to demean oneself.""" | |
sentence_re = r'''(?x) | |
# abbreviations, e.g. U.S.A. (with optional last period) | |
([A-Z])(\.[A-Z])+\.? | |
# words with optional internal hyphens | |
| \w+(-\w+)* | |
# currency and percentages, e.g. $12.40, 82% | |
| \$?\d+(\.\d+)?%? |
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 arcrest import MapService as ArcMapService | |
esri_service = ArcMapService('http://arcgis.cast.uark.edu/ArcGIS/rest/services/AGFC/All_Deer_50MCP_Oct11/MapServer') | |
print esri_service.timeInfo | |
# doing the same for layers | |
esri_layer = esri_service.layers[0] | |
print esri_layer.timeInfo |
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
--------------------------------------------------------------------------- | |
KeyError Traceback (most recent call last) | |
<ipython-input-2-5154f2333388> in <module>() | |
----> 1 check_all_services_task() | |
/Users/jmwenda/dev/hypermap/venv/lib/python2.7/site-packages/celery/local.pyc in __call__(self, *a, **kw) | |
186 | |
187 def __call__(self, *a, **kw): | |
--> 188 return self._get_current_object()(*a, **kw) | |
189 |