One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#/bin/bash | |
# Stopping all containers | |
docker stop $(docker ps -a -q) | |
# Removing all containers | |
docker rm $(docker ps -a -q) | |
# Removing all volumes | |
docker volume rm `docker volume ls -q -f dangling=true` |
public static <T> List<T> sortItem(List<T> sortList, int moveFrom, int moveTo) { | |
if (moveFrom == moveTo) { | |
// do nothing | |
return null; | |
} | |
boolean isLastPosition = (sortList.size() == moveTo + 1); | |
T currentElement = sortList.get(moveFrom); |
// author: Dorin Brage | |
// repo: https://github.com/nirodg | |
long maxRotPtr = 1023; // Max potentiometr value | |
long totalDegr = 360; // Max degree | |
long rotationPtr = 0; // Will be fetch from the A0 input | |
const int sensorInput = 0; | |
void setup() { | |
Serial.begin(9600); | |
} |
public static void main(String[] args) { | |
int[] age = new int[3]; | |
age[0] = 16; | |
age[1] = 24; | |
age[2] = 30; | |
System.out.println(allValuesMatches(age)); | |
} |
int minute = 0, seconds = 30, waitingTime = 2; | |
Calendar currTime = Calendar.getInstance(); | |
Calendar timeSleep = (Calendar) currTime.clone(); | |
timeSleep.add(Calendar.MINUTE, minute); | |
timeSleep.add(Calendar.SECOND, seconds); | |
System.out.println(String.format("Now is %s:%s and I will wait until %s:%s", currTime.get(Calendar.MINUTE), currTime.get(Calendar.SECOND), | |
timeSleep.get(Calendar.MINUTE), timeSleep.get(Calendar.SECOND))); | |
=Navigating= | |
baseUrl = "http://site.com"; | |
open("/login"); | |
open("http://google.com"); | |
switchTo().frame($("#myFrame").toWebElement()); | |
=Alert= | |
switchTo().alert().accept(); |
DECIMAL HEXADECIMAL DESCRIPTION | |
-------------------------------------------------------------------------------- | |
37748753 0x2400011 Linux EXT filesystem, rev 1.0, ext4 filesystem data, UUID=28dbe996-15f3-4532-93a3-2b880f220f22 | |
37799955 0x240C813 Linux EXT filesystem, rev 1.0, ext4 filesystem data, UUID=28dbe996-15f3-4532-93a3-2b880f220f22 | |
39191672 0x2560478 Unix path: /opt/usr/media/cred.conf' | |
39191742 0x25604BE Unix path: /opt/usr/media/cred.conf', error: No such file or directory | |
39217403 0x25668FB Unix path: /31457280/0/2/14/0/0/0 | |
39230619 0x2569C9B Unix path: /31457280/0/2/14/0/0/0 | |
39243835 0x256D03B Unix path: /31457280/0/2/14/0/0/0 |