Skip to content

Instantly share code, notes, and snippets.

View insign's full-sized avatar
🇧🇷
being open-sourcerer

Hélio insign

🇧🇷
being open-sourcerer
View GitHub Profile
@insign
insign / select-copy-middle-paste.ahk
Last active June 9, 2021 15:05
Auto copy on select paste with middle (no obstrutive)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force ; reloads if try to rerun
cos_mousedrag_treshold := 20 ; pixels
@insign
insign / LaravelCommandVersion.php
Created May 6, 2021 17:44
PHP Benchmark of algorithms
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class Benchmark extends Command
{
/**
* The name and signature of the console command.
@insign
insign / curl.sh
Last active November 2, 2021 18:30 — forked from exAspArk/curl.sh
Test CORS with cURL (case insensitive)
curl -I -X OPTIONS \
-H "Origin: http://EXAMPLE.COM" \
-H 'Access-Control-Request-Method: GET' \
http://EXAMPLE.COM/SOMETHING 2>&1 | grep -i 'Access-Control-Allow-Origin'
@insign
insign / AMD EPYC High Perf.md
Created March 19, 2022 01:24
Comparing new vultr servers

$ 100 to test vultr: (Use the link) https://www.vultr.com/?ref=9067267-8H

root@amd-epyc-high-perf:~# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2022-02-18                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Sat 19 Mar 2022 12:18:04 AM UTC