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
    
  
  
    
  | import javax.script.ScriptEngine; | |
| import javax.script.ScriptEngineManager; | |
| import javax.script.ScriptException; | |
| import java.io.BufferedReader; | |
| import java.io.DataOutputStream; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.text.MessageFormat; | |
| import java.text.SimpleDateFormat; | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env sh | |
| # Script for querying remaining places from UZ | |
| # Requires curl, grep, jq and nodejs | |
| LANG="en" | |
| DESCRIPTION="Script for querying remaining places from UZ" | |
| USAGE="Usage: $(basename "${0}") <start_station> <end_station> [MM.DD.YYYY]" | |
| DEPENDENCIES="Please make sure that curl, grep, jq and Node.JS are installed" | |
| CURL=$(command -v "curl") | |
| GREP=$(command -v "grep") | 
  
    
      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
    
  
  
    
  | #!/usr/bin/python2 | |
| # -*- coding: utf-8 -*- | |
| import sys, signal, httplib, urllib, json | |
| # Ловим ^C | |
| def user_interrupt(signal, frame): | |
| sys.exit(0) | |
| signal.signal(signal.SIGINT,user_interrupt) | |
| kiev = "2200001" | 
NewerOlder