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
| CC=gcc | |
| CFLAGS=-I. -g -w | |
| LDFLAGS=-lm | |
| OFLAGS = -O0 -g -Wall | |
| DEPS= | |
| OBJ = fbucketsort.o | |
| %.o: %.c $(DEPS) | |
| $(CC) -c -o $@ $< $(CFLAGS) | |
| fbucketsort: $(OBJ) | |
| $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) |
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
| // get position of browser window and then click on it with a mouse | |
| Robot.mouseMove(webDriver.manage().window().getPosition().getX(),webDriver.manage().window().getPosition().getY()); | |
| Robot.mousePress(InputEvent.BUTTON1_MASK); | |
| Robot.mouseRelease(InputEvent.BUTTON1_MASK); |
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
| ChromeOptions chromeOptions = new ChromeOptions(); | |
| Map<String, Object> prefs = new HashMap<String, Object>(); | |
| prefs.put("download.prompt_for_download", true); | |
| chromeOptions.setExperimentalOption("prefs", prefs); | |
| WebDriver driver = new ChromeDriver(chromeOptions); |
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
| // in mypage.po.ts | |
| export class MyPage { | |
| pageHeaders; | |
| getHeaders() { | |
| return this.pageHeaders.getText(); // returns promise | |
| } | |
| } | |
| // in test.spec.ts |
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
| % -------------------------------------------------------------- | |
| % This is all preamble stuff that you don't have to worry about. | |
| % Head down to where it says "Start here" | |
| % -------------------------------------------------------------- | |
| \documentclass[12pt]{article} | |
| \usepackage[margin=1in]{geometry} | |
| \usepackage{amsmath,amsthm,amssymb} | |