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
| var myVariable = "Some external value;" | |
| (function(root){ | |
| var myVariable = "Some internal value;" | |
| console.log(myVariable); // will be "Some internal value" | |
| })(window); | |
| console.log(myVariable); // will still be "Some external value" |
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
| (function(root){ | |
| var widget = function(){ | |
| var self = this; | |
| // configuration | |
| var config = { | |
| css:{ | |
| theme:'current' |
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
| <?php | |
| $result = mysql_query('SELECT * FROM Customers'); | |
| if (!$result) { | |
| die('Invalid query: ' . mysql_error()); | |
| } | |
| ?> |
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
| public class SubSetSolver | |
| { | |
| // Define other methods and classes here | |
| public void Solve(string input) | |
| { | |
| List<int> seq = input.Split(',').Select(x => int.Parse(x)).ToList(); | |
| seq.Sort(); | |
| List<List<int>> combinations = new List<List<int>>(seq.Count *2); |
NewerOlder