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
// call it until you get error | |
document.getElementById('showMoreStations').click() | |
const select = document.getElementById('nctCentresDropdown') | |
const options = []; for (const child of select.children) { options.push(child) } | |
const selectedIndex = options.findIndex(option => option.selected) | |
const magic = localStorage['magic'] ? JSON.parse(localStorage['magic']) : [] | |
magic.push([options[selectedIndex].innerText, document.getElementsByClassName('owl-item active')[0].innerText.replace('\n', ' ')]) | |
localStorage['magic'] = JSON.stringify(magic) | |
select.value = options[selectedIndex + 1].value | |
document.getElementsByTagName('form')[0].submit() |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Site Title</title> | |
<link href="https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@4cac1a6/css/all.css" rel="stylesheet" type="text/css" /> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | |
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> |
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
/*-------------------------------------------------------------------------- | |
INTRINS.H | |
Intrinsic functions for C51. | |
Copyright (c) 1988-2004 Keil Elektronik GmbH and Keil Software, Inc. | |
All rights reserved. | |
--------------------------------------------------------------------------*/ | |
#ifndef __INTRINS_H__ | |
#define __INTRINS_H__ |
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
theme = "dark_plus" | |
[keys.normal.'space'.'space'] | |
# Extensions using custom script | |
# Interactive search in current working directory | |
s = ":pipe-to helix-ext search --current" | |
# Interactive search in current working directory (include path name in the search) | |
S = ":pipe-to helix-ext search --current-inc-path" | |
# Interactive search in current git directory | |
w = ":pipe-to helix-ext search --workspace" |
OlderNewer