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
D [0-9] | |
L [a-zA-Z_] | |
H [a-fA-F0-9] | |
E ([Ee][+-]?{D}+) | |
P ([Pp][+-]?{D}+) | |
FS (f|F|l|L) | |
IS ((u|U)|(u|U)?(l|L|ll|LL)|(l|L|ll|LL)(u|U)) | |
%{ | |
#include <stdio.h> |
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
Copyright 2015 Matthew Brush | |
Permission is hereby granted, free of charge, to any person obtaining a | |
copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |
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
/* | |
* A very basic (and fast) fixed-sized queue data structure. | |
* | |
* Author: Matthew Brush <mbrush@codebrainz.ca> | |
* License: GNU Lesser General Public License, version 2.1 | |
* Edit Date: January 4th, 2011 | |
*/ | |
#include <stdlib.h> | |
#include "fixedqueue.h" |
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
import * as fs from "fs"; | |
import * as path from "path"; | |
function updateImportsToUseFileExtension(directoryPath: string): void { | |
const files = fs.readdirSync(directoryPath); | |
files.forEach((file) => { | |
const filePath = path.join(directoryPath, file); | |
// Check if the file is a TypeScript file |
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
module.exports = { | |
root: true, | |
parser: '@typescript-eslint/parser', | |
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], | |
plugins: ['svelte3', '@typescript-eslint'], | |
ignorePatterns: ['*.cjs'], | |
overrides: [ | |
{ | |
files: ['**/*.svelte'], | |
processor: 'svelte3/svelte3' |
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 min(arr) { | |
if (!arr) return NaN; | |
let min = Number.MAX_VALUE; | |
for (const element of arr) { | |
if (element < min) { | |
min = element; | |
} | |
} | |
return min; |
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
let str1 = "hello"; | |
let str2 = ""; | |
for (let i = str1.length - 1; i >= 0; i--) { | |
str2 += str1[i]; | |
} | |
console.log(str1, "=>", str2); |
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
diff --git a/src/client/pages/graphics.svelte b/src/client/pages/graphics.svelte | |
index 427638c..b2af00f 100644 | |
--- a/src/client/pages/graphics.svelte | |
+++ b/src/client/pages/graphics.svelte | |
@@ -38,7 +38,7 @@ | |
<!-- Per Bundle; this sets the name --> | |
<div class="font-bold wrapper-title bg-primary text-primary-content rounded-tl-lg border-neutral-focus border-1 p-1"> | |
<span class="text-xl">{bundle.name}</span> | |
- <div class="tooltip tooltip-bottom z-20" data-tip="Reload all graphics in this bundle"> | |
+ <div class="tooltip tooltip-bottom" data-tip="Reload all graphics in this bundle"> |
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
------------------------------------------------------------------------------ | |
| Dec | Oct | Hex | Binary | Asc | Description | | |
------------------------------------------------------------------------------ | |
| 0 | 0000 | 00 | 00000000 | NUL | Null char | | |
| 1 | 0001 | 01 | 00000001 | SOH | Start of Heading | | |
| 2 | 0002 | 02 | 00000010 | STX | Start of Text | | |
| 3 | 0003 | 03 | 00000011 | ETX | End of Text | | |
| 4 | 0004 | 04 | 00000100 | EOT | End of Transmission | | |
| 5 | 0005 | 05 | 00000101 | ENQ | Enquiry | | |
| 6 | 0006 | 06 | 00000110 | ACK | Acknowledgment | |
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
[theme_info] | |
name=No Theme | |
description=A colour theme with no language highlighting. | |
version=0.01 | |
author= | |
url= | |
[named_styles] | |
default=0x000000;0xffffff;false;false |
NewerOlder