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 Sankaku ads | |
// @namespace http://tampermonkey.net/ | |
// @version 0.16 | |
// @description Auto close sankaku ads | |
// @author Baku | |
// @match https://beta.sankakucomplex.com/* | |
// @match https://www.sankakucomplex.com/* | |
// @match https://sankaku.app/* | |
// @updateURL https://gist.github.com/kebien6020/6e709478155f41901a2f2bd7197f78bd/raw/sankaku-ads.user.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
// Compile: | |
// g++ -O3 -std=c++20 -lbenchmark main.cpp -o main | |
// You need google benchmark installed to compile: https://github.com/google/benchmark | |
// Run: | |
// ./main | |
#include <benchmark/benchmark.h> | |
#include <array> | |
#include <iterator> |
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 osu! Logo template | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description try to take over the canvas! | |
// @author oralekin, LittleEndu, ekgame | |
// @match https://hot-potato.reddit.com/embed* | |
// @match https://www.reddit.com/r/place* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com | |
// @require https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.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
#!/bin/sh | |
echo $SSH_AUTH_SOCK | |
chown 1000:1000 $SSH_AUTH_SOCK | |
docker run -itd --name dot -v projects:/home/kevin/projects -v /var/run/docker.sock:/var/run/docker.sock -v $SSH_AUTH_SOCK:/ssh-agent -e SSH_AUTH_SOCK=/ssh-agent kevinpena/dot | |
docker exec -it dot bash | |
docker rm -f dot |
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 Streaming live translate | |
// @namespace youtube.com | |
// @version 0.8 | |
// @author u/BakuhatsuK | |
// @description Get streaming translation comments easily. Based on extension made by u/konokalahola | |
// @include https://*.youtube.com/watch* | |
// @run-at document-start | |
// @updateURL https://gist.github.com/kebien6020/e18b489e40cd3767b1badcbb4d8b431c/raw/live-tranlation.user.js | |
// ==/UserScript== |
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
# Don't cd $HOME | |
set-environment -g CHERE_INVOKING 1 | |
# Change windows / resize panes using the mouse | |
set -g mouse on | |
# True color | |
set -g default-terminal "tmux-256color" | |
set -ga terminal-overrides ",*256col*:Tc" |
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
=SIFECHA(D17,E17,"y")&" años, " | |
&SIFECHA(D17,E17,"ym")&" meses, " | |
&E17-FECHA(AÑO(E17),MES(E17),1)&" dias" |
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
Sub ExportAsPDF() | |
'Instantly export as pdf in the same folder | |
Dim filename As String | |
filename = ActiveWorkbook.FullName | |
filename = Replace(filename, ".xlsm", ".pdf") | |
filename = Replace(filename, ".xlsx", ".pdf") | |
filename = Replace(filename, ".xls", ".pdf") | |
filename = Replace(filename, ".xlb", ".pdf") | |
ActiveWorkbook.ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, filename:= _ |
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
' Paste this into Module 1 of a new workbook | |
' Credit https://stackoverflow.com/a/27508116 | |
Option Explicit | |
Private Const PAGE_EXECUTE_READWRITE = &H40 | |
Private Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" _ | |
(Destination As Long, Source As Long, ByVal Length As Long) | |
Private Declare Function VirtualProtect Lib "kernel32" (lpAddress As Long, _ |
NewerOlder