Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
| function sendReminder() { | |
| var idSpreadSheet = 'your-spreadsheet-id' | |
| var spreadSheet = SpreadsheetApp.openById(idSpreadSheet) | |
| var sheet = spreadSheet.getSheetByName('your-sheet-name') | |
| var rangeValues = sheet.getRange(2, 1, sheet.getLastRow() - 1, 5).getValues(); | |
| for (var i in rangeValues) { | |
| var employeeName = sheet.getRange(2 + Number(i), 1).getValue() | |
| var activity = sheet.getRange(2 + Number(i), 2).getValue() | |
| var phoneNumber = sheet.getRange(2 + Number(i), 4).getValue() |
| /** | |
| To solve the memory leak and crash problem caused by View.getViewTreeObserver returning different object instances | |
| */ | |
| fun View.safeViewTreeObserver(): SafeViewTreeObserver { | |
| return ViewTreeObserverRepository.get(this) | |
| } | |
| object ViewTreeObserverRepository { | |
| private val map = WeakHashMap<View, SafeViewTreeObserver>() |
Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
| import { IAgentRuntime, Memory } from "@ai16z/eliza"; | |
| import { SolanaAgentKit } from "solana-agent-kit"; | |
| export function getSakAgent(runtime: IAgentRuntime) { | |
| return new SolanaAgentKit( | |
| runtime.getSetting("SOLANA_PRIVATE_KEY"), | |
| runtime.getSetting("SOLANA_RPC_URL"), | |
| runtime.getSetting("OPENAI_API_KEY") | |
| ); | |
| } |
| # Debian 10 | |
| apt-get -y update | |
| apt-get -y upgrade --without-new-pkgs | |
| apt-get -y full-upgrade | |
| cat > /etc/apt/sources.list <<"EOF" | |
| deb http://deb.debian.org/debian/ bullseye main | |
| deb-src http://deb.debian.org/debian/ bullseye main | |
| deb http://security.debian.org/bullseye-security bullseye-security/updates main | |
| deb-src http://security.debian.org/bullseye-security bullseye-security/updates main |
| #Requires AutoHotkey v2 | |
| ; Install the keyboard hook to capture the real key state of the keyboard | |
| InstallKeybdHook(true) | |
| ; Disable the CapsLock key | |
| SetCapsLockState("alwaysoff") | |
| ; Send esc key when Capslock is pressed as default | |
| g_DoNotAbortSendEsc := true | |
| $*Capslock::{ ; Capture CapsLock key press | |
| global g_DoNotAbortSendEsc ; use global variable g_DoNotAbortSendEsc |
| *.intercomcdn.com | |
| *.tawk.to | |
| *.livechatinc.com | |
| *.olark.com | |
| *.onesignal.com | |
| *.freshdesk.com | |
| *.zopim.com | |
| *.freshchat.com | |
| *.novocall.co | |
| *.tidio.co |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
| // 1. Import everything | |
| import { Wallet, BigNumber, ethers, providers } from 'ethers' | |
| const { FlashbotsBundleProvider, FlashbotsBundleResolution } = require('@flashbots/ethers-provider-bundle') | |
| /* | |
| Mainnet | |
| const provider = new providers.JsonRpcProvider('https://eth-mainnet.g.alchemy.com/v2/cmHEQqWnoliAP0lgTieeUtwHi0KxEOlh') | |
| const wsProvider = new providers.WebSocketProvider('wss://eth-mainnet.g.alchemy.com/v2/cmHEQqWnoliAP0lgTieeUtwHi0KxEOlh') | |
| */ |