- sticks to the original standard:
- one
-
is as long as 3.
's. - there is a pause of 1
.
's between symbols of a letter. - there is a pause of 3
.
's between letters of a word. - there is a pause of 7
.
's between words.
- one
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
version:3105 | |
autoJump:true | |
autoSuggestions:true | |
chatColors:true | |
chatLinks:true | |
chatLinksPrompt:true | |
enableVsync:true | |
entityShadows:true | |
forceUnicodeFont:false | |
discrete_mouse_scroll:false |
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
/** | |
* Find a cell at a given distance below the given cell. | |
* @param {jQuery} cell The origin cell below which to find the target. | |
* @param {number} steps The number of steps to take. | |
* @returns {jQuery} The target cell. | |
*/ | |
function below(cell, steps) { | |
return cell.parent().nextAll().eq(steps - 1).children().eq(cell.index()); | |
// Get the current row | |
// Step down the given amount of rows |
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 New-Repo { | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory = $false)] | |
[string]$RepoName = "New Repo", | |
[Parameter(Mandatory = $false)] | |
[string]$License = "mit", | |
[Parameter(Mandatory = $false)] |
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
/** | |
* Finds the lowest missing positive number in an array of numbers (quite efficiently). | |
*/ | |
function findLowestMissingPositive(subject: Array<number>): number { | |
/** | |
* The iterator, which will be the lowest missing number after the loop. | |
*/ | |
let x = -1; // start at -1 because we increment it before the first check | |
while (1) { // 1 = true | |
if (!subject.includes(++x)) { break; } // break if the next number isn't in the subject |
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 { denoLog } from "https://deno.land/std@/log/mod.ts"; | |
/** Singleton to keep track of the current groups */ | |
class Groups { | |
private static _groups: string[] = []; | |
public static get groups() { | |
return Groups._groups; | |
} |
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
from flask import Flask, request, jsonify | |
app = Flask(__name__) | |
@app.route('/for_me/', methods=['GET', 'POST', 'PUT', 'PATCH', 'DELETE']) | |
def index(): | |
print(request.json) | |
response = input('Enter your full response as json:\n') |
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
git clone https://github.com/seemoo-lab/owl.git /tmp/owl | |
pushd /tmp/owl | |
git submodule update --init | |
git submodule update --remote --merge # see issue #77 on seemoo-lab/owl | |
mkdir build | |
cd build | |
cmake .. | |
make | |
sudo make install | |
popd |
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
#!/bin/zsh | |
## Generate code with Shell GPT's code role and watch it being written in VSCode | |
aicode() { | |
# Check if input is available from the pipe | |
if [ -t 0 ]; then | |
# If no input from pipe, pass only the prompt to the AI | |
sgpt --code "$@" | codium - | |
else | |
# If input is received from pipe, concatenate it with the provided prompt |
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 { ReadWriteFileCacheManager } from "./FileCacheManager.ts"; | |
/** Cache manager for raw binary files | |
* | |
* @property {string} filePath Path to the file whose contents are to be cached | |
* @property {Promise<Uint8Array>} dataPromise Asynchronous getter for data | |
* @property {Uint8Array} data Synchronous getter for data | |
* @property {Promise<void>} set Asynchronous setter for data | |
* @property {Uint8Array} data Synchronous setter for data | |
*/ |
OlderNewer