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/sh | |
| type=`head -c3 "$1"` | |
| echo "type: $type" | |
| if [ "$type" = "BZh" ]; then | |
| mv "$1" "$1".bz2 | |
| bunzip2 "$1".bz2 | |
| if [[ $? -eq 0 ]]; then | |
| echo "$1 succeeded" |
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
| [ValheimPlus] | |
| ; Change false to true to enable this section. | |
| enabled = true | |
| ; Display the Valheim Plus logo in the main menu | |
| mainMenuLogo = false | |
| ; Display the advertisement of our server hosting partner on the server browser menu | |
| serverBrowserAdvertisement = false |
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
| weights = { | |
| "0": 0, | |
| "1": 1, | |
| "2": 2, | |
| "3": 3, | |
| "4": 4, | |
| "5": 5, | |
| "6": 6, | |
| "7": 7, | |
| "8": 8, |
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
| fn b_to_s(bytes: &[u8]) -> String { | |
| let hex : String = bytes.iter() | |
| .map(|b| format!("{:02x}", b).to_string()) | |
| .collect::<Vec<String>>() | |
| .join(""); | |
| hex | |
| } |
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 script = document.createElement('script'); | |
| script.type = 'text/javascript'; | |
| script.src = 'https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js'; | |
| document.head.appendChild(script); | |
| const url = '/filebrowser/api/raw/230827_095441/TRACK07.m4a?auth=...' | |
| const audioElement = document.createElement('audio'); | |
| audioElement.src = url; | |
| document.body.appendChild(audioElement); |
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
| @property --x { | |
| syntax: '<percentage>'; | |
| inherits: false; | |
| initial-value: 0%; | |
| } | |
| @keyframes colorChange { | |
| 0% { | |
| --x:0%; | |
| } |
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 Hex = (props) => { | |
| const canvasRef = React.useRef(null); | |
| React.useEffect(() => { | |
| const a = (2 * Math.PI) / 6; | |
| const r = 40; | |
| const canvas = canvasRef.current; | |
| const ctx = canvas.getContext("2d"); |
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
| <html> | |
| <head> | |
| <style> | |
| body { background-color: #29a; } | |
| .bubble { | |
| border-radius: 50%; | |
| border: 3px solid black; | |
| width: 50px; | |
| height: 50px; |
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
| #include <thread> | |
| #include <ranges> | |
| #include <mutex> | |
| #include <array> | |
| #include <iostream> | |
| #include <chrono> | |
| #include <map> | |
| #include <format> | |
| #include <random> |
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
| ISO-10303-21; | |
| HEADER; | |
| /* Generated by software containing ST-Developer | |
| * from STEP Tools, Inc. (www.steptools.com) | |
| */ | |
| /* OPTION: strings as raw bytes, not using required /X/ escapes */ | |
| FILE_DESCRIPTION( | |
| /* description */ ('Unknown'), | |
| /* implementation_level */ '2;1'); |
NewerOlder