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 { useState } from "react"; | |
| import "./App.css"; | |
| function Counter() { | |
| const [count, setCount] = useState(0); | |
| return ( | |
| <button | |
| className="BOMTON" | |
| onClick={() => |
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 { useState, useEffect } from "react"; | |
| import "./App.css"; | |
| function Store() { | |
| const [form, setForm] = useState( | |
| window.localStorage.getItem("form"), | |
| ); | |
| useEffect(() => { | |
| window.localStorage.setItem( |
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 { useState } from "react"; | |
| type SearchResult = { | |
| index: number; | |
| content: string; | |
| }; | |
| const data: SearchResult[] = [ | |
| { index: 1, content: "apple" }, | |
| { index: 2, content: "banana" }, |
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 { useState, useEffect } from "react"; | |
| function Indicator() { | |
| const [online, setOnline] = useState( | |
| navigator.onLine, | |
| ); | |
| useEffect(() => { | |
| const timer = setTimeout( | |
| setOnline, |
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
| // ==UserScript== | |
| // @name Hello, Roblox! Userscript edition | |
| // @version 0.2 | |
| // @description Adds back the greeting text on the home page that was present up until around 2021. | |
| // @connect roblox.com | |
| // @author infinite health | |
| // @run-at document-start | |
| // @match https://www.roblox.com/home | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=roblox.com | |
| // @downloadURL https://gist.githubusercontent.com/nodomw/339efcd67005f6bb7a1d0147e50adbd8/raw/helloroblox.js |
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
| # -- HASZNÁLAT -- | |
| # 1. Nyiss meg egy PowerShell-t (rendes felhasználóként, nem admin-ként) | |
| # 2. Futtasd le a következőt: Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser | |
| # 3. Futtasd le a következőt: irm 'https://gist.githubusercontent.com/nodomw/d879234883acc61c2a6405873fd4a851/raw/xampp.ps1' | iex | |
| # Ha 'mysqli' hibát kapsz akkor a php.ini-ben keresd meg a 'extension=php_mysqli.dll' sort és vedd ki a ';' karaktert a sor elejéről | |
| function WriteToLine ([int]$lineNumber, [string]$filePath, [string]$replacementText) { | |
| $lines = Get-Content $filePath | |
| $lines[$lineNumber - 1] = $replacementText |
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
| Error: Request failed with status code 429 | |
| at evalmachine.<anonymous>:1:7730970 | |
| at evalmachine.<anonymous>:1:7731154 | |
| at XMLHttpRequest.k (evalmachine.<anonymous>:1:7734626) { | |
| config: { | |
| transitional: { | |
| silentJSONParsing: true, | |
| forcedJSONParsing: true, | |
| clarifyTimeoutError: false | |
| }, |
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
| local Timer = tick() | |
| local CharBytes = { | |
| ["a"] = "1", | |
| ["b"] = "2", | |
| ["c"] = "3", | |
| ["d"] = "4", | |
| ["e"] = "5", | |
| ["f"] = "6", | |
| ["g"] = "7", | |
| ["h"] = "8", |
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
| game:WaitForChild("MarketplaceService") | |
| setwindowtitle("Roblox - " .. (game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)).Name) |
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
| Drawing.WaitForRenderer() | |
| TextFont = DrawFont.Register( | |
| game:HttpGet'https://github.com/bluescan/proggyfonts/raw/master/ProggyVector/ProggyVector%20Regular.ttf', | |
| { PixelSize = 32, UseStb = false, Scale = true, Bold = false } | |
| ) | |
| local stats = game:GetService("Stats"):WaitForChild("Network"):WaitForChild("ServerStatsItem") | |
| local camera = workspace.CurrentCamera | |
| local RunService = game:GetService("RunService") |
NewerOlder