Skip to content

Instantly share code, notes, and snippets.

View Askhento's full-sized avatar
🏠
Working from home

Askhat Mudarisow Askhento

🏠
Working from home
View GitHub Profile
ln -s /path/to/original /path/to/link
@Askhento
Askhento / trangle.txt
Last active November 18, 2020 21:10
triangle wave equation
# middle in .5 of progress
1 - abs(1 - 2 * progress)
@Askhento
Askhento / gist:5ab9c8334b88136fabed42c7a70970ce
Created November 13, 2020 02:08
last_non_empty_google_sh
=INDEX( FILTER( A:A ; NOT( ISBLANK( A:A ) ) ) ; ROWS( FILTER( A:A ; NOT( ISBLANK( A:A ) ) ) ) )
//Self-Signed Certificate for using with VS Code Live Server
//Save both files in a location you will remember
1. create a private key
openssl genrsa -aes256 -out localhost.key 2048
// you will be prompted to provide a password
//this will create localhost.key (call it whatever you like)
2. create the certificate
(*
-- Send the selected files in Finder to Keka (for compression)
--
-- @author Scott Buchanan <buchanan.sc@gmail.com>
-- @link http://wafflesnatcha.github.com
*)
tell application "Finder"
set _files to selection as alias list
if _files is {} then return display alert "No files selected!" as warning giving up after 5