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
const firstRepeating = /(\d)\1{1,2}/; | |
const checkRepeating = /(\d)\1{1,2}/; | |
const selectElements = document.getElementsByTagName('select'); | |
let matchingValues = ''; | |
for (const selectElement of selectElements) { | |
const matchingOptions = selectElement.getElementsByTagName('option'); | |
for (const option of matchingOptions) { | |
const value = option.value; |
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
$desktop = [Environment]::GetFolderPath("Desktop") | |
$outputFilePath = "$desktop\Directory.txt" | |
$dirList = "//film-tvserier/3D Film","//film-tvserier/Film","//film-tvserier/TV" | |
for($i=0;$i-lt $dirList.Length; $i++){ | |
gci -Path $dirList[$i] -r -af -exclude *.nfo,*.txt,*.srt,*.sub,*.jpg,*.png,*.exe,*.db,*.old | % fullname | Out-File -Append -FilePath $outputFilePath | |
} |
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
.bookmark-item[label="Github"] image { | |
width:0!important; | |
height:0!important; | |
padding: 0 0 16px 16px !important; | |
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGzmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC |
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
// Removes stuff from YouTube video names to make it easier to find the song on Spotify | |
// Add this to the filter section of your IFTTT applet after the Youtube Trigger, before Spotify. | |
// Spotify title in the applet settings can be whatever (so long as it's not empty) this replaces it. | |
var title = Youtube.newLikedVideo.Title | |
// Some videos use a dash or colon instead of hyphen. | |
var titleSplit = title.split('-') | |
if (titleSplit.length != 2){ | |
titleSplit = title.split('–') |