Set your env vars previous to run the gather.sh script.
estimationuser="yerusername"
estimationpassword="yerpassword"| """ | |
| Test: | |
| Write a program that finds maximum consecutive repeating character in a string. | |
| Given string: “aaabbbbbcddeeefff”. | |
| Output of the program must return the character and the length of its biggest repeating sequence. | |
| Output example: | |
| Character: p | |
| Length of the sequence: 8 | |
| """ |
| import logging | |
| from logging_spinner import SpinnerHandler | |
| import time | |
| logger = logging.getLogger('myapp') | |
| logger.setLevel(logging.INFO) | |
| logger.addHandler(SpinnerHandler()) | |
| logger = logging.getLogger('myapp.logger') | |
| logger.info('Loading data...', extra={'user_waiting': True}) |
| import yagmail | |
| email = "" | |
| invalid_pwd = "" | |
| valid_pwd = "" | |
| yagmail.register(email, invalid_pwd) | |
| try: | |
| yag = yagmail.SMTP(email) | |
| except Exception, e: | |
| print e | |
| pass |
| package com.example.yeoman.downloadfile; | |
| import android.content.Context; | |
| import android.net.ConnectivityManager; | |
| import android.net.NetworkInfo; | |
| import android.os.AsyncTask; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.Menu; |
| <?php | |
| $post_id = null; | |
| $site_id = null; | |
| $host = "http://localhost/wordpress"; | |
| $url = "/wp-admin/admin-ajax.php"; | |
| echo $_SERVER['REQUEST_METHOD']; |