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
| #!/usr/bin/env python3 | |
| """Generate a middle-dot-delimited string of knowledge-sharing snack phrases.""" | |
| from __future__ import annotations | |
| import argparse | |
| import random | |
| from typing import Optional, Sequence | |
| Phrase = tuple[str, str] |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <ItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
| <name>Rogue (Melee)</name> | |
| <filterIcon>6</filterIcon> | |
| <filterIconColor>0</filterIconColor> | |
| <description /> | |
| <lastModifiedInVersion>1.0.3.3</lastModifiedInVersion> | |
| <lootFilterVersion>0</lootFilterVersion> | |
| <rules> | |
| <Rule> |
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
| [Display] | |
| fMaxAnisotropy=16 | |
| bPilotCameraShakerEnabled=0 | |
| [General] | |
| SIntroSequence=0 | |
| uMainMenuDelayBeforeAllowSkip=0 | |
| bEnableMessageOfTheDay=0 | |
| sStartingConsoleCommand=bat cheats | |
| sTestFile1=ShipStorage.esp |
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 { useRef, useCallback, useEffect } from 'react' | |
| /** | |
| * Creates a useScrollEffects hook | |
| * @param {number} safeZone - The vertical position beyond which you need to scroll before scroll effects will happen. | |
| * @param {boolean} reverse - If the behaviour should be reversed, i.e. it hides when scrolling down, not up. | |
| */ | |
| const useScrollEffects = (safeZone = 375, reverse = false) => { | |
| // Create ref to store our target element in. | |
| const ref = useRef(null) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 MyFirstComponent = function MyFirstComponent(props) { | |
| return /*#__PURE__*/React.createElement("div", props); | |
| }; | |
| MyFirstComponent.propTypes = { | |
| children: PropTypes.node, | |
| className: PropTypes.string | |
| }; | |
| MyFirstComponent.defaultProps = { |
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 MyFirstComponent = function MyFirstComponent(props) { | |
| return /*#__PURE__*/React.createElement("div", props); | |
| }; | |
| MyFirstComponent.propTypes = { | |
| children: PropTypes.node, | |
| className: PropTypes.string | |
| }; | |
| MyFirstComponent.defaultProps = { |
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
| #!/bin/bash | |
| # Exit on error and treat unset variables as errors | |
| set -eu | |
| # List all packages, in order to find com package name for app | |
| adb shell pm list packages -f | |
| # Backup specific application | |
| adb backup -noapk <com package name> |
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
| const jwt = require('jsonwebtoken') | |
| const jwksClient = require('jwks-rsa') | |
| const options = { | |
| algorithms: ['RS256'], | |
| } | |
| const client = jwksClient({ | |
| jwksUri: 'https://colleague-auth-service.dev.golf-noprod.js-devops.co.uk/jwks', | |
| }) |
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
| document.querySelectorAll('*').forEach((element) => { | |
| const dummy = document.createElement('element-' + Date.now()) | |
| document.body.appendChild(dummy) | |
| var defaultStyles = window.getComputedStyle(dummy) | |
| var elementStyles = window.getComputedStyle(element) | |
| for(var key in elementStyles) { | |
| if(elementStyles.hasOwnProperty(key) && defaultStyles[key] !== elementStyles[key]) { | |
| element.style[key] = elementStyles[key] |
NewerOlder