foo bar
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
// ==UserScript== | |
// @name Path of Exile Trade Autofill | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-12-13 | |
// @description Copy and item in-game (CTRL+C) and click the button to process clipboard text | |
// @author BrunoLM | |
// @match https://www.pathofexile.com/trade2/search/poe2/Standard | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=pathofexile.com | |
// @grant none | |
// ==/UserScript== |
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
<div id="sudoku-solution"></div> | |
<canvas id="canvas" style="display: none;"></canvas> | |
<div id="blocks-container"></div> | |
<script src="https://cdn.jsdelivr.net/npm/tesseract.js@2.1.1/dist/tesseract.min.js"></script> | |
screenshot:<br /> | |
<textarea> | |
const canvas = document.querySelector('#game canvas'); | |
// Convert canvas to a Blob | |
canvas.toBlob(async (blob) => { |
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
// ==UserScript== | |
// @name Block Ad accounts on X (Twitter) | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-11-30 | |
// @description try to take over the world! | |
// @author You | |
// @match https://x.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=x.com | |
// @grant none | |
// ==/UserScript== |
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
#Persistent | |
#SingleInstance, Force | |
DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr") | |
SetMouseDelay, -1 | |
; Voice Command state | |
toggle := false | |
Menu, Tray, Icon, %A_ScriptDir%\IconFalse.ico |
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
{ | |
"root": true, | |
"parser": "@typescript-eslint/parser", | |
"plugins": ["@typescript-eslint"], | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/eslint-recommended", | |
"plugin:@typescript-eslint/recommended" | |
], | |
"rules": { |
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 Get-ImageBase64([string]$file) { | |
if ($file -like 'http*') { | |
return Get-ImageBase64FromUrl($file); | |
} | |
return Get-ImageBase64FromFile($file); | |
} | |
function Get-ImageBase64FromFile( | |
[string] |
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
/* Prototype | |
- Trying to make return type of Creators include the property TYPE | |
*/ | |
function createActions<T>(obj: T) { | |
const keys = Object.keys(obj); | |
return { | |
Creators: keys.reduce((creators, key) => { | |
creators[key] = (...args) => ({ type: key, ...obj[key](...args) }); | |
return creators; |
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 PropTypes from 'prop-types'; | |
import React, { Component } from 'react'; | |
import { View, Text } from 'react-native'; | |
export default class Header extends Component { | |
static propTypes = { | |
user: PropTypes.object, | |
} | |
render() { | |
return ( |
NewerOlder