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
| /* | |
| * robot.js | |
| * | |
| * You'll need three keys in order to unlock the | |
| * Algorithm: the red key, the green key, and the | |
| * blue key. Unfortunately, all three of them are | |
| * behind human-proof barriers. | |
| * | |
| * The plan is simple: reprogram the maintenance | |
| * robots to grab the key and bring it through |
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
| import json | |
| inputFilename = input("File: ") | |
| with open(inputFilename, "rt") as input_file: | |
| inputs = json.load(input_file) | |
| source = "" | |
| for x in range(len(inputs["cells"])): | |
| for string in inputs["cells"][x]["source"]: |
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 getMultiple_FILES() { | |
| $_FILE = array(); | |
| foreach($_FILES as $name => $file) { | |
| foreach($file as $property => $keys) { | |
| foreach($keys as $key => $value) { | |
| $_FILE[$name][$key][$property] = $value; | |
| } | |
| } | |
| } | |
| return $_FILE; |
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
| 1. Duplicate layer | |
| 2. With the upper layer selected, Image > Adjustments > Black & White > Preset: Lighter > Ok | |
| 3. Select All > Cut | |
| 4. Select lower layer | |
| 5. Add layer mask | |
| 6. Alt + Click layer mask | |
| 7. Paste | |
| 8. Right Click layer mask > Apply Layer Mask |
OlderNewer