- Download virtualbox
- Download ubuntu
- Launch VirtualBox and create a new virtual machine instance using the downloaded Ubuntu ISO.
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
| "use client" | |
| import * as React from "react" | |
| import { buttonVariants } from "@/components/ui/button" | |
| import { ScrollArea } from "@/components/ui/scroll-area" | |
| import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select" | |
| import { cn } from "@/lib/utils" | |
| import { ChevronLeft, ChevronRight } from "lucide-react" | |
| import { DayPicker, DropdownProps } from "react-day-picker" |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # --------------------------------------------------------------------------------------------------------------------- | |
| format = """ | |
| [](#9A348E)\ | |
| $os\ | |
| $hostname\ | |
| [](bg:#DA627D fg:#9A348E)\ |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Scanner; | |
| public class BinarySearchTree { | |
| Scanner console = new Scanner(System.in); | |
| Node root; | |
| public static void main(String[] args) throws Exception { | |
| BinarySearchTree program = new BinarySearchTree(); |
| 'use client' | |
| import * as React from 'react' | |
| import { EyeIcon, EyeOffIcon } from 'lucide-react' | |
| import { Button } from '@/components/ui/button' | |
| import { Input, type InputProps } from '@/components/ui/input' | |
| import { cn } from '@/lib/utils' | |
| const PasswordInput = React.forwardRef<HTMLInputElement, InputProps>(({ className, ...props }, ref) => { |
You want to conditionally render components on the server side based on the device type (mobile, tablet, desktop). The goal is to avoid rendering all components server-side and hiding them with CSS, and to prevent client-side JavaScript from causing a flash of content as it loads.
Create a hook that determines the device type based on window size and stores it in a cookie. Use this context to conditionally render components according to the device type.
A simple one-line script that retrieves all stored WiFi network names and their passwords from a Windows system.
for /f "tokens=2 delims=:" %i in ('netsh wlan show profiles^|findstr "All User Profile"') do @for /f "tokens=* delims= " %j in ("%i") do @(echo. & echo %j & for /f "tokens=2 delims=:" %k in ('netsh wlan show profile name^="%j" key^=clear^|findstr /C:"Key Content"') do @for /f "tokens=* delims= " %l in ("%k") do @echo %l)| {"name":"Dev Mode","icon":"briefcase","extensions":"[{\"identifier\":{\"id\":\"albert.tabout\",\"uuid\":\"4ef6c2d5-de36-45a1-9015-18c1d4a3a25e\"},\"displayName\":\"TabOut\",\"disabled\":true,\"applicationScoped\":true},{\"identifier\":{\"id\":\"amodio.toggle-excluded-files\",\"uuid\":\"7a21e2ae-a6dd-4666-b31d-871b4862f214\"},\"displayName\":\"Toggle Excluded Files\",\"applicationScoped\":true},{\"identifier\":{\"id\":\"antfu.file-nesting\",\"uuid\":\"e53e2287-966c-445f-91b8-d77ab2ba18fc\"},\"displayName\":\"File Nesting Updater\",\"applicationScoped\":true},{\"identifier\":{\"id\":\"antfu.icons-carbon\",\"uuid\":\"659a35e1-7b7f-4b47-822d-0d96fd6e13e7\"},\"displayName\":\"Carbon Product Icons\",\"applicationScoped\":true},{\"identifier\":{\"id\":\"bierner.markdown-mermaid\",\"uuid\":\"f8d0ffc4-66bb-4a9c-8149-ef8f043691a1\"},\"displayName\":\"Markdown Preview Mermaid Support\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"bpruitt-goddard.mermaid-markdown-syntax-highlighting\",\"uuid\":\"08792992-bb56-4 |