Skip to content

Instantly share code, notes, and snippets.

View glennhefley's full-sized avatar
💭
I may be slow to respond.

Glenn Hefley glennhefley

💭
I may be slow to respond.
View GitHub Profile
// ==UserScript==
// @name Compteur de mots et caractères Notion
// @name:en Notion word and caracters count
// @namespace https://github.com/paulverbeke
// @version 1.2
// @downloadURL https://gist.github.com/paulverbeke/092fbc514267b2fa56af6ffe43141119/raw/Compteur%2520de%2520mots%2520et%2520caract%25C3%25A8res%2520Notion.user.js
// @updateURL https://gist.github.com/paulverbeke/092fbc514267b2fa56af6ffe43141119/raw/Compteur%2520de%2520mots%2520et%2520caract%25C3%25A8res%2520Notion.user.js
// @description Affiche un simple compteur de mots et caractères dans Notion
// @description:en Displays a simple word and caracters count in Notion
// @author paulv
<style type="text/css">
h1,h2,h3,h4,h5,h6{color:#efefef; font-weight:100; font-family:Julius Sans One, serif;}
div,span, p{font-family:'Noto Sans', serif; font-size:18px;line-height:28px; font-weight:100px;text-indent:10px;}
li{padding-bottom:14px; font-size:16px; color:#fef7e8;}
a{color: #d0e0e3; font-family: Quicksand;}
a:hoover{color:#caf5f3;}
b, strong{color:#e8f3fe;}
.chat{
border-radius: 15px; width:100%; padding-bottom:23px;padding-left:16px; background-color: #087f5b; border-bottom:1px solid;
}
"0o", "0s", "3a", "3b", "3d", "6b", "6o", "a", "a1", "a2", "a3", "a4", "ab", "able", "about", "above", "abst", "ac", "accordance", "according", "accordingly", "across", "act", "actually", "ad", "added", "adj", "ae", "af", "affected", "affecting", "affects", "after", "afterwards", "ag", "again", "against", "ah", "ain", "ain't", "aj", "al", "all", "allow", "allows", "almost", "alone", "along", "already", "also", "although", "always", "am", "among", "amongst", "amoungst", "amount", "an", "and", "announce", "another", "any", "anybody", "anyhow", "anymore", "anyone", "anything", "anyway", "anyways", "anywhere", "ao", "ap", "apart", "apparently", "appear", "appreciate", "appropriate", "approximately", "ar", "are", "aren", "arent", "aren't", "arise", "around", "as", "a's", "aside", "ask", "asking", "associated", "at", "au", "auth", "av", "available", "aw", "away", "awfully", "ax", "ay", "az", "b", "b1", "b2", "b3", "ba", "back", "bc", "bd", "be", "became", "because", "become", "becomes", "becoming", "been", "before"
@glennhefley
glennhefley / README.md
Created April 11, 2024 07:16 — forked from TheOnlyWayUp/README.md
Wattpad: VoteAllParts.js

This script votes for all the parts in a Wattpad Story at once.

How to use:

  • Visit the URL of a Story (Ensure this is the page which has a table of contents, the story's tags, ...)
  • Press ctrl + shift + j. This opens the Developer Console.
  • Copy the script in this gist (below, and in script.js. Copy from whatever's convenient.)
  • Paste the code into the Developer Console on the Wattpad Tab, hit enter.
  • Great, you're done!

Star ⭐ this gist if it was useful. Follows to my GitHub Profile are appreciated.

@glennhefley
glennhefley / concat.py
Created January 3, 2024 11:51
A ConCat in Python
#I need a python script that will cat
#all of the *.html files in a single level directory
# into one file: newfile.html
import glob
import shutil
html_files = glob.glob('*.html')
with open('newfile.html', 'wb') as outfile:
@glennhefley
glennhefley / animated-tab-bar.markdown
Created November 18, 2022 17:48
Animated Tab Bar
@glennhefley
glennhefley / blob.py (perfect size)
Created February 21, 2022 07:38
NLTK passage into with TextBlob.py
#!python
'''
In a nut shell textBlob fits all my needs. This little gem took less than thirty minutues from discovery to completion. Prototyping will now be a simple matter, and proofs of concepts down to the improv level of setup requirments.
'''
import re
from textblob import TextBlob
px = 'VB?' # search for later
@glennhefley
glennhefley / nav_concept_index.html
Last active January 9, 2022 10:11
Navigation Awesome
<html>
<head>
<meta charset="utf-8">
<title>The Page with No Name</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.3/gsap.min.js"></script>
@glennhefley
glennhefley / ExportAllCSVinOneSpreadsheet.gs
Created July 14, 2020 19:58 — forked from simongcc/ExportAllCSVinOneSpreadsheet.gs
Google script to export all csv in one spreadsheet
/*
* script to export data in all sheets in the current spreadsheet as individual csv files
* files will be named according to the name of the sheet
* Note: This script uses the DocsList.createFile() method, which is only available for Google Apps accounts.
* author: Michael Derazon
*/
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var csvMenuEntries = [{name: "export as csv files", functionName: "saveAsCSV"}];
@glennhefley
glennhefley / shBrushJScript.js
Created July 14, 2020 19:48 — forked from mhawksey/shBrushJScript.js
SyntaxHighlighter which includes Google Apps Script services
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*