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
{ | |
"010": { | |
"ru": "\u0411\u0438\u0431\u043b\u0438\u043e\u0433\u0440\u0430\u0444\u0438\u0438", | |
"fr": "Bibliographie", | |
"en": "Bibliographies", | |
"zh": "\u6587\u732e\u76ee\u5f55", | |
"pt": "Bibliografia", | |
"af": "Bibliografie\u00eb", | |
"de": "Bibliografien", | |
"sv": "Bibliografier", |
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
http://diwis.imis.athena-innovation.gr:8181/sparql xxxxx | |
http://wiktionary.dbpedia.org/sparql wiktionary.dbpedia.org | |
http://wiktionary.dbpedia.org/sparql wiktionary.dbpedia.org | |
http://webconf.rkbexplorer.com/sparql webconf | |
http://minsky.gsi.dit.upm.es/semanticwiki/index.php/Special:SPARQLEndpoint vulnerapedia | |
http://services.data.gov.uk/transport/sparql transport.data.gov.uk | |
http://services.data.gov.uk/statistics/sparql statistics.data.gov.uk | |
http://roni.rkbexplorer.com/sparql roni | |
http://foreign.rkbexplorer.com/sparql rkb-explorer-foreign | |
http://services.data.gov.uk/research/sparql research.data.gov.uk |
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
require 'open-uri' | |
require 'json' | |
require 'ostruct' | |
def get_lat_lon( address, times = 0 ) | |
url = "http://maps.google.com/maps/api/geocode/json?address=#{URI.escape(address)}&sensor=false" | |
#puts "Requesting: #{url}" | |
page = open(url).readlines.to_s | |
document = JSON.parse( page ) | |
results = document["results"] |
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
#! /bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
NAME=memcached | |
DESC="Memcached" | |
USER=deploy | |
DAEMON=/usr/local/bin/memcached | |
PIDFILE=/var/run/memcached/memcached.pid |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: elasticsearch | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Starts elasticsearch | |
# Description: Starts elasticsearch using start-stop-daemon | |
### END INIT INFO |
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
#! /bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
NAME=zebra_au | |
DESC="Zebra Authority Server" | |
DAEMON=/usr/local/bin/zebrasrv | |
HOME=/data/zebra_au | |
PIDFILE=$HOME/zebra.pid |
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
###Package for installation | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm | |
sudo yum install redis -y | |
###Start the server | |
sudo service redis start |
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
# PI = 3.1415926535 | |
RAD_PER_DEG = 0.017453293 # PI/180 | |
# the great circle distance d will be in whatever units R is in | |
Rmiles = 3956 # radius of the great circle in miles | |
Rkm = 6371 # radius in kilometers...some algorithms use 6367 | |
Rfeet = Rmiles * 5282 # radius in feet | |
Rmeters = Rkm * 1000 # radius in meters |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |
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
# Redis configuration file example | |
# Note on units: when memory size is needed, it is possible to specifiy | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# | |
# 1k => 1000 bytes | |
# 1kb => 1024 bytes | |
# 1m => 1000000 bytes | |
# 1mb => 1024*1024 bytes | |
# 1g => 1000000000 bytes |