Skip to content

Instantly share code, notes, and snippets.

View daledali's full-sized avatar
🎯
Focusing

Dale Dali daledali

🎯
Focusing
  • Los Angeles, CA 90014
View GitHub Profile
@mayneyao
mayneyao / notion2blog.js
Last active April 6, 2025 01:54
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@FrancesCoronel
FrancesCoronel / grant-application.md
Last active July 19, 2020 15:42
Sentry Open Source Grant Application 2019

1. Link to the project (it should already exist)

https://www.techqueria.org

https://github.com/techqueria/website

2. Project details: What is the project’s goal? Why is it important or interesting? Who uses it?

Techqueria is one of the largest communities of Latinx professionals in the tech industry. We build Latinx-centered spaces that revolve around career advice, technical talks, mentorship, open jobs, upcoming events/conferences, speaking opportunities, and open-source. We come from all walks of life and believe that the diversity of our community is the most reliable asset we have.

@Saibot942
Saibot942 / gmailKeys_2019.06.26.ahk
Last active October 11, 2023 07:48
AHK script to reproduce gmail's shortcut keys in Outlook
;*******************************************************************************
; Use gmail shortcut keys in Outlook desktop client
;*******************************************************************************
;
; Version: 2019.06.26
; Updated: for Outlook 2016 by Toby Garcia
; Source: https://gist.github.com/Saibot942/1698f89506bd608c9852a82dd0645cb4
;
; Author: Lowell Heddings (How-To Geek)
; URL: http://lifehacker.com/5175724/.....gmail-keys
@kaustavha
kaustavha / speedup.md
Last active February 28, 2025 02:08
Increase playback speed on any video
document.querySelector('video').playbackRate = 1.5
  • Videos on any page using a video tag. Youtube, vimeo etc

  • (Right click/2 finger click on mac -> inspect element); on the video to reveal the <video></video> tag, otherwise you might get a var v = document.querySelector('video'); var t = prompt('Set the playback rate'); v.playbackRate = parseFloat(t) err.

  • Paste this into the console (go to console from the window that pops up from inspect element or cmd + option + i):

@JonnyWong16
JonnyWong16 / notify_geodata.py
Last active February 25, 2020 08:26
Send a PlexPy notification with geolocation data
# 1. Install the requests module for python.
# pip install requests
# 2. Add script arguments in PlexPy. The following script arguments are available by default. More can be added below.
# -ip {ip_address} -u {user} -mt {media_type} -t {title} -pf {platform} -pl {player} -da {datestamp} -ti {timestamp}
import argparse
import requests
import sys
@seandavi
seandavi / getPubMetrics.R
Last active January 26, 2020 17:52
Get RCR and citation metrics for a list of pubmed IDs from https://icite.od.nih.gov/analysis
#' Get publication metrics from iCite
#'
#' iCite is a tool to access a dashboard of bibliometrics for papers
#' associated with a portfolio. Users upload the PubMed IDs of articles
#' of interest (from SPIRES or PubMed), optionally grouping them for
#' comparison. iCite then displays the number of articles, articles per
#' year, citations per year, and Relative Citation Ratio (a field-normalized
#' metric that shows the citation impact of one or more articles relative
#' to the average NIH-funded paper). A range of years can be selected,
#' as well as article type (all, or only research articles), and individual
@jmbeach
jmbeach / gmail-outlook.ahk
Created March 31, 2016 12:28
Gmail Hotkeys for Outlook
;*******************************************************************************
; Information
;*******************************************************************************
; AutoHotkey Version: 3.x
; Language: English
; Platform: XP/Vista/7
; Updated by: Toby Garcia
; Previously updated by: Ty Myrick
; Author: Lowell Heddings (How-To Geek)
; URL: http://lifehacker.com/5175724/.....gmail-keys