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 time | |
import pyautogui as gui | |
import random as rdm | |
#scrolls random number of times for random distances, | |
#changes the tabs in the active window | |
def work_hard(): | |
print('hard work started') | |
s_count = rdm.randint(1,10) | |
for i in range(s_count): |
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
class MapViewFragment : Fragment(), OnMapReadyCallback, | |
ClusterManager.OnClusterClickListener<MyItemClustering> { | |
private var mCtx: Context? = null | |
private val TAG: String? = MapViewFragment::class.java.simpleName | |
var mapFragment: SupportMapFragment? = null | |
private var currentLatitude: Double? = 0.0 | |
private var currentLongitude: Double? = 0.0 | |
private var mMap: GoogleMap? = null |
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
package com.simarjot | |
import java.util.* | |
class Vector(val x: Float, val y: Float){ | |
override fun toString() :String{ | |
return "$x,$y" | |
} | |
} |