Skip to content

Instantly share code, notes, and snippets.

View ship9599's full-sized avatar

John IV ship9599

View GitHub Profile
@ship9599
ship9599 / feidmath_v0_1.scala
Created January 31, 2024 20:12 — forked from taruma/feidmath_v0_1.scala
Official GIST feidmath (feidlambda-math) v0.1
/*
feidmath v0.1.0 - MATH FUNCTIONS BY FIAKO ENGINEERING
OFFICIAL GIST (feidmath v0.1.x):
https://gist.github.com/taruma/8b0978227dffbee50c3a9d56e31d34f3
REPOSITORY:
https://github.com/fiakoenjiniring/feidlambda
CONTRIBUTOR: @taruma, @iingLK
TESTED: Microsoft Excel 365 v2304
*/
@ship9599
ship9599 / feidlambda_v0_4.scala
Created January 31, 2024 20:11 — forked from taruma/feidlambda_v0_4.scala
Official GIST feidlambda (feid) v0.4
/*
feidlambda v0.4.0 - LOGIC / UTILITIES FUNCTIONS BY FIAKO ENGINEERING
OFFICIAL GIST (feidlambda v0.4.x):
https://gist.github.com/taruma/b4df638ecb7af48ab63691951481d6b2
REPOSITORY:
https://github.com/fiakoenjiniring/feidlambda
CONTRIBUTOR: @taruma, @iingLK
TESTED: Microsoft Excel 365 v2304
*/
@ship9599
ship9599 / medium.user.js
Created January 17, 2024 18:44 — forked from mathix420/medium.user.js
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 1.5
// @inject-into content
@ship9599
ship9599 / obsidian-web-clipper.js
Created May 12, 2022 17:32 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@ship9599
ship9599 / get_url.scpt
Created May 28, 2020 17:01 — forked from prashanthrajagopal/get_url.scpt
AppleScript to get url from Safari, Firefox and Chrome
display dialog "Name of the browser?" default answer "Safari"
set inp to text returned of result
tell application "System Events"
if inp is "Google Chrome" then
tell application "Google Chrome" to return URL of active tab of front window
else if inp is "Safari" then
tell application "Safari" to return URL of front document
else if inp is "Firefox" then
tell application "Firefox" to activate
@ship9599
ship9599 / outline-bookmarklet.js
Last active June 16, 2019 05:19 — forked from giodamelio/outline-bookmarklet.js
A bookmarklet to process the current page to Outline.com and redirect afterwards.
javascript:(function()%7Bwindow.location.href %3D 'https%3A%2F%2Foutline.com%2F' %2B window.location.href%7D)()
@ship9599
ship9599 / crossopen.py
Created April 2, 2019 13:50 — forked from bennr01/crossopen.py
Use the Pythonista App to open an URL on your PC
"""
Open an URL on pc.
You need to configure pythonista to run this script when "open in" is used.
Replace YOUR_HOST_OR_IP with your ip or hostname.
"""
#!python2
import socket
import appex
HOST = "YOUR_HOST_OR_IP" # host/IP to connect to
@ship9599
ship9599 / AutoHotkey.ahk
Created March 8, 2019 01:02 — forked from endolith/AutoHotkey.ahk
AutoHotkey_L Hotstrings and other utilities
;------------------------------------------------------------------------------
; Disable Insert key
;------------------------------------------------------------------------------
$Insert::return
!Insert::Send, {Insert} ; Use Alt+Insert to toggle the 'Insert mode'
;------------------------------------------------------------------------------
; Hand tool with middle button in Adobe Reader
;------------------------------------------------------------------------------
#IfWinActive ahk_class AdobeAcrobat
@ship9599
ship9599 / FileExist.vbs
Last active February 6, 2018 15:43
Visual Basic - Functions - FileExist, FileOrDirExists, TestItWithWindows, TestItWithMacintosh
Function FileExist(FilePath As String) As Boolean
'PURPOSE: Test to see if a file exists or not
'SOURCE: www.TheSpreadsheetGuru.com/The-Code-Vault
'RESOURCE: http://www.rondebruin.nl/win/s9/win003.htm
Dim TestStr As String
'Test File Path (ie "C:\Users\Chris\Desktop\Test\book1.xlsm")
On Error Resume Next
TestStr = Dir(FilePath)
REM YTD Parameters***************
REM Set a=$({bdty})
REM Set b=$({toda})
ASK a "Enter a start date in the format mmddyyyy"
ASK b "Enter an end date in the format mmddyyyy"
MESSAGEBOX d ! YesNoCancel 2 "Do you want to run for an individual portfolio? (<> @BIPortfolios)?"
IF "%d" == "cancel" GOTO end