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
| (() => { | |
| const cTimesToRun = 5; | |
| const cListOfWords = ["airplane", "boat", "car"]; | |
| for(let iRun=0; iRun < cTimesToRun; iRun++) | |
| { | |
| for(let iWord=0; iWord < cListOfWords.length; iWord++) | |
| { | |
| let url = `https://www.google.pt/search?q=${cListOfWords[iWord]}&start=${10 * iRun}`; |
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
| %% ----------------------------------------------------------------------------- | |
| %% PROLOG program to solve SUDOKU puzzles | |
| %% gerardo.lima<AT>gmail.com 2007-07-02 | |
| %% | |
| %% usage: | |
| %% edit the initial state predicate 'numlist_init' and run the following | |
| %% ?- numlist_init(L), sudoku_solve(L). | |
| %% | |
| %% see also this good site: | |
| %% http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/pt_framer.html |
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 gist is intended to be copy-and-pasted to the codebehind cs file | |
| /// for a aspx page; please check the InitializeComponent before proceed. | |
| /// ====================================================================== | |
| /// <summary> | |
| /// The target page most likelly will have other event handlers, do not overwrite | |
| /// them, just add the correct event hendler to the PreRender event. | |
| /// </summary> | |
| private void InitializeComponent() { |
NewerOlder