-
(multiple answer) Git is:
- a. A version control system
- b. Centralized
- c. Distributed
- d. The same as GitHub
-
(T/F) Git and GitHub are the same thing.
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 Undici from "undici"; | |
// Polyfill fetch() in the Node.js environment | |
// Simplified from https://github.com/vercel/next.js/blob/canary/packages/next/src/server/node-polyfill-fetch.ts | |
if (!global.fetch) { | |
function getFetchImpl() { | |
return Undici; | |
} |
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
{ | |
"text": "This bleet to @shinyakato.dev can be found on this Gist. 👍", | |
"facets": [ | |
{ | |
"index": { "byteStart": 14, "byteEnd": 29 }, | |
"features": [ | |
{ | |
"$type": "app.bsky.richtext.facet#mention", | |
"did": "did:plc:iijrtk7ocored6zuziwmqq3c" | |
} |
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
:root { | |
--columns: 2; | |
} | |
* { | |
box-sizing: border-box; | |
padding: 0; | |
margin: 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
<?php | |
$keyspace = '123456789abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'; | |
$keyspaceLength = mb_strlen($keyspace, 'utf-8') - 1; | |
$numberOfPasswords = 8; | |
$numberOfChars = 16; | |
$passwords = []; |
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
class ProductController extends Controller | |
{ | |
public function show(Request $request, string $product) | |
{ | |
dd($product, $request); | |
} | |
} |
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
// https://v1.tailwindcss.com/docs/controlling-file-size#purge-css-options | |
module.exports = { | |
future: { | |
removeDeprecatedGapUtilities: true, | |
purgeLayersByDefault: true, | |
}, | |
purge: { | |
content: ['./public/**/*.html'], | |
options: { | |
whitelistPatterns: [ |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:1CF6A3F772E82844A5CCDAD16AAA918BA6DF03CA]
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
@Override | |
public @Nullable List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args) { | |
return (args.length == 1) ? Bukkit.getServer().getOnlinePlayers().stream().map(Player::getName).collect(Collectors.toList()) : Collections.emptyList(); | |
} |
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
public final class PotionCommand implements CommandExecutor { | |
@Override | |
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { | |
if (sender instanceof Player) { | |
final Player PLAYER = ((Player) sender).getPlayer(); | |
final World WORLD = PLAYER.getWorld(); | |
// Give player the Splash Potion. | |
// PLAYER.getInventory().addItem(makeSplashPotionItemStack(PotionType.INSTANT_HEAL, false, true)); |
NewerOlder