Both methods need you to provide a teknoparrot release archive. You can find it here.
Note : TeknoParrot is at the moment pending on Lutris.net, and so is my installer. You can find my install script on Lutris
import { useEffect, useState } from "react"; | |
const defaultEvents = [ | |
"mousemove", | |
"mousedown", | |
"touchstart", | |
"keydown", | |
"wheel", | |
"resize", | |
]; |
function doStuff(text) { | |
// Convert the text to lower characters | |
const lowerCased = text.toLocaleLowerCase(); | |
// Split the characters with the space delimeter | |
const words = lowerCased.split(' '); | |
// Reverse split array | |
words.reverse(); |
import { useCallback } from 'react'; | |
import { object, ValidationError } from 'yup'; | |
const useYupValidationResolver = ( | |
validationSchema: ReturnType<typeof object> | |
) => | |
useCallback( | |
async (data) => { | |
try { | |
const values = await validationSchema.validate(data, { |
/** | |
* Writing tests for functions that use external dependencies is tough. | |
* We can get past this by using sinon sandboxes to temporarily overwrite the | |
* prototypes of those dependencies, just for testing | |
* | |
* Before running these tests run: | |
* $ npm install --save-dev aws-sdk sinon mocha | |
*/ | |
/** |
// ### About this Flow ### | |
// Using Custom Auth Flow through Amazon Cognito User Pools with Lambda Triggers to complete a 'CUSTOM_CHALLENGE'. This is the same flow as one-time passcode generated and sent via SMS or Email. | |
// Instead, the service and user share a secret that was created during registration and both generate a 6-digit code based on the shared secret. | |
// If the two codes (typically only good for 30 seconds) match, the user is authenticated. | |
// | |
// ### About this function ### | |
// This DefineAuthChallengeCustom function (1st and 4th of 4 triggers) defines the type of challenge-response required for authentication. | |
// For HOTP, TOTP, U2F, or WebAuthn flows, we'll always use 'CUSTOM_CHALLENGE' and this function code won't change between the various auth methods. | |
// ### Next steps ### |
Take note this is my personal edited version and the command related to Arch has been changed to work on my Arch system.
#!/usr/bin/perl | |
## | |
## binge - curses torrent client with 'top' mode. | |
## | |
## keys - Press 'h' to show key bindings, then ESC. | |
## | |
## urxvt -name binge -n binge -T binge -e sh -c "exec binge 2>>/tmp/binge_$(date +%s).log" | |
## | |
## apt-install libcurses-perl libwww-perl libjson-maybexs-perl libjson-xs-perl libdata-dump-perl | |
## libmath-round-perl libtext-unidecode-perl transmission-daemon |
// Hex to Base64 | |
function hexToBase64(str) { | |
return btoa(String.fromCharCode.apply(null, | |
str.replace(/\r|\n/g, "").replace(/([\da-fA-F]{2}) ?/g, "0x$1 ").replace(/ +$/, "").split(" ")) | |
); | |
} | |
// Base64 to Hex | |
function base64ToHex(str) { | |
for (var i = 0, bin = atob(str.replace(/[ \r\n]+$/, "")), hex = []; i < bin.length; ++i) { |
## | |
## Supermodel | |
## A Sega Model 3 Arcade Emulator. | |
## Copyright 2011-2016 Bart Trzynadlowski, Nik Henson | |
## | |
## This file is part of Supermodel. | |
## | |
## Supermodel is free software: you can redistribute it and/or modify it under | |
## the terms of the GNU General Public License as published by the Free | |
## Software Foundation, either version 3 of the License, or (at your option) |