This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> | |
<key>ApplePressAndHoldEnabled</key> | |
<false/> | |
<key>AppleScrollAnimationEnabled</key> | |
<integer>0</integer> |
This file contains 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
// Paste this into your console on IMDB's episodes page for a TV show. | |
function waitForEpisodes() { | |
return new Promise((resolve, reject) => { | |
const callback = function (mutationsList, observer) { | |
resolve(mutationsList); | |
observer.disconnect(); | |
}; | |
const observer = new MutationObserver(callback); | |
observer.observe(document.getElementById("episodes_content"), { |
This file contains 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 randomColor() { | |
//Function that returns a random CSS hexadecimal color in string format | |
//Example output of randomColor() --> "#ff2c41" | |
let finalHexResult = '#'; | |
let integer, hexString; | |
//Loop 3 times to generate a hexadecimal number for each color: Red, Green and Blue. | |
for (let i = 0; i < 3; i++) { | |
//Random integer number between (0 - 255) | |
integer = Math.floor(Math.random() * 255); | |
//Convert number to the base 16 number system and to a String |
This file contains 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
/* | |
* Name = Abdulmohsen ali asiri | |
* ID = 36110218 | |
*/ | |
package testintegerdll; | |
/** | |
* | |
* @author asiri | |
*/ |
This file contains 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
/* | |
* Name = Abdulmohsen ali asiri | |
* ID = 36110218 | |
*/ | |
package testintegerdll; | |
public class DLL<T> { | |
private DLLNode<T> head, tail; |