Skip to content

Instantly share code, notes, and snippets.

View michaelmano's full-sized avatar
:octocat:
Focusing

Michael Mano michaelmano

:octocat:
Focusing
View GitHub Profile
5 0 59 0 0 0 4 4 UIParent 0.0 -520.0 -1 ##$$%/&&'%)$+$,$ 0 1 0 8 2 MainActionBar 0.0 4.0 -1 ##$$%/&&'%(#,$ 0 2 0 6 0 MultiBarBottomLeft 0.0 4.0 -1 ##$$%/&&'%(#,$ 0 3 0 0 0 UIParent 2.0 -551.0 -1 ##$$%/&%'%(#,# 0 4 0 7 7 UIParent -761.3 462.0 -1 ##$$%/&%'%(#,# 0 5 0 7 7 UIParent -820.0 222.0 -1 ##$$%)&&'%(#,$ 0 6 0 8 2 MultiBar5 0.0 4.0 -1 ##$$%)&&'%(#,# 0 7 0 8 2 BagsBar -0.5 3.5 -1 #$$%%-&$'%(#,$ 0 10 0 6 0 MultiBarBottomRight 0.0 4.0 -1 ##$$&%'% 0 11 0 7 7 UIParent 0.0 122.0 -1 ##$$&%'%,# 0 12 0 4 4 UIParent -360.0 -510.0 -1 ##$$&('% 1 -1 0 4 4 UIParent 0.0 -394.0 -1 ##$#%$ 2 -1 0 0 0 UIParent 1428.7 -931.0 -1 ##$#%(&& 3 0 0 7 7 UIParent -202.0 144.0 -1 $#3# 3 1 0 7 7 UIParent 202.0 144.0 -1 %$3# 3 2 0 8 2 PlayerFrame -4.5 -26.0 -1 %$&#3# 3 3 0 0 0 UIParent 576.0 -582.0 -1 '#(#)#-k.//#1#3#5%6(7-7$8(9( 3 4 0 0 0 UIParent 2.0 -0.0 -1 ,%--.'/$0$1#2(3#5#6&7-7$8'9& 3 5 0 2 2 UIParent -1450.5 -633.5 -1 &#*#3( 3 6 0 2 2 UIParent -11.0 -249.0 -1 -#.#/#4&5#6(7-7$8(9( 3 7 1 4 4 UIParent 0.0 0.0 -1 3# 4 -1 0 0 0 UIPar
--------------------------------------------------
-- SUNDER STACK DETECTION
--------------------------------------------------
function get_sunder_stacks()
for i = 1, 40 do
local texture, stacks = UnitDebuff("target", i)
if not texture then break end
-- Expose Armor (treated as full sunder)
if string.find(texture, "Ability_Warrior_Riposte") then
@michaelmano
michaelmano / .eslintrc.cjs
Last active October 7, 2022 04:40
Configurations
module.exports = {
root: true,
env: {
browser: true,
},
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 'latest',
sourceType: 'module',
project: ['tsconfig.json'],
@michaelmano
michaelmano / Coverage Badges
Last active July 29, 2022 07:11
Coverage Badges
Coverage Badges
[
{
"spanish": "el,la",
"english": "the"
},
{
"spanish": "de",
"english": "of, from"
},
{
<?php
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules(array(
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'native_function_invocation' => true,
'native_constant_invocation' => true,
'native_function_casing' => true,
@michaelmano
michaelmano / debounce.js
Last active June 11, 2018 07:16
ES6 Callback debounce
"use strict"
/**
* window.addEventListener('scroll', debounce(() => console.log('Window scrolled.')));
*/
const debounce = function debounce(callback, delay = 250) {
let timeout = null;
return () => {
clearTimeout(timeout);
timeout = setTimeout(() => callback.apply(this, arguments), delay);
# Clone the files
git clone git@github.com:Neilpang/acme.sh.git /home/ubuntu/.acme.sh
# Edit https://github.com/Neilpang/acme.sh/blob/master/dnsapi/dns_cf.sh#L4 and https://github.com/Neilpang/acme.sh/blob/master/dnsapi/dns_cf.sh#L6 and add your cloudflare API Key and email
nano /home/ubuntu/.acme.sh/dnsapi/dns_cf.sh
# Run
./acme.sh --issue -d example.com -d '*.example.com' --dns dns_cf
# Now create the cronjob to renew it
@michaelmano
michaelmano / .bash_profile
Last active January 23, 2019 23:11
Bash Profile
# Exports
## Development Paths
export DEV_DIR="${HOME}/Development"
export SCRIPTS_DIR="${DEV_DIR}/Scripts"
export TOOLS_DIR="${DEV_DIR}/Tools"
## Load all scripts from the SCRIPTS_DIR
for script in $SCRIPTS_DIR/*; do . $script; done
@michaelmano
michaelmano / README.md
Last active March 7, 2018 01:30
New Project Readme