I hereby claim:
- I am abdisalan on github.
- I am abdisalan (https://keybase.io/abdisalan) on keybase.
- I have a public key ASB3kecOQHpOmOwzDSETb8odUOS2vpgxnL6IFkcfXqHjfgo
To claim this, I am signing this object:
| """ | |
| input: a variable name and a list of expressions | |
| output: the value of the variable | |
| eg: | |
| T1 | |
| T3 = 5 | |
| T1 = T2 + T4 | |
| T2 = 9 |
| import time | |
| import os | |
| import requests | |
| from bs4 import BeautifulSoup | |
| def get_results(): | |
| print("checking...") | |
| page = requests.get( | |
| "https://abcnews.go.com/Elections/2020-us-presidential-election-results-live-map/") |
| { | |
| "workbench.colorTheme": "Gruvbox Material Dark", | |
| "vim.insertModeKeyBindings": [ | |
| { | |
| "before": ["j", "k"], | |
| "after": ["<Esc>"] | |
| } | |
| ], | |
| "python.showStartPage": false, | |
| "editor.fontSize": 14, |
| type post = { | |
| img: string, | |
| title: string, | |
| alt: string, | |
| }; | |
| module Decode = { | |
| let post = post => | |
| Json.Decode.{ | |
| img: field("img", string, post), |
I hereby claim:
To claim this, I am signing this object:
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| // Archive older emals | |
| function ArchiveEmailGroup() { | |
| var Size = 100 // Process up to 100 emails at once | |
| var emails = GmailApp.search('label:inbox is:read older_than:14d'); // Archives 2 weeks old emails | |
| for (i = 0; i < emails.length; i+=Size) { | |
| GmailApp.moveThreadsToArchive(emails.slice(i, i+Size)); | |
| } | |
| } | |
| //Mark old unread emails as read |