Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove rows with missing values, from missing BMI or edu | |
data = data.dropna() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user> | |
<keys> | |
<key installerType="InnoSetup" displayName="PiBakery 0.3.4" displayVersion="0.3.4"> | |
<RegistryView>Registry32</RegistryView> | |
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CBF5F92-AFCA-42A7-A7FD-7A47356571DE}_is1</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[C:\Program Files (x86)\PiBakery\]]></InstallLocation> | |
<UninstallString><![CDATA["C:\Program Files (x86)\PiBakery\unins000.exe" /SILENT]]></UninstallString> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import board | |
import neopixel | |
from digitalio import DigitalInOut, Direction, Pull | |
switch = DigitalInOut(board.D3) | |
switch.direction = Direction.INPUT | |
switch.pull = Pull.UP | |
switchTwo = DigitalInOut(board.D4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[font] | |
normal = { family = "FiraMono Nerd Font", style = "Regular" } | |
size = 16 | |
[scrolling] | |
history = 10000 | |
multiplier = 3 | |
[selection] | |
save_to_clipboard = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[german]{babel} | |
\usepackage{amsmath,amsfonts,amssymb} | |
\usepackage{graphicx} | |
\usepackage{geometry} | |
\usepackage{multicol} | |
\usepackage{tikz} | |
\usepackage{pgfplots} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
let inactivityTimer; | |
let isModalOpen = false; | |
function getCartDataFromSession() { | |
console.log('Fetching cart data from session storage'); | |
const cartData = sessionStorage.getItem('cart'); | |
console.log('Cart data in session storage:', cartData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import analogio | |
import board | |
import neopixel | |
from digitalio import DigitalInOut, Direction, Pull | |
import math | |
pixel_pin = board.D2 | |
num_pixels = 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "AwAAAZS1fEYTkHOXnwAAABhBWlMxZkVhSEFBQnZxUG01TFhyVzh3QVAAAAAkMDE5NGI1ODUtZDdhMi00YzhiLWI0MGItZGQ3NTMxOGZlYzZjAAFlGg", | |
"content": { | |
"timestamp": "2025-01-30T04:33:28.083Z", | |
"tags": [ | |
"task_family:prd-uswest2-core0-canary-django", | |
"aws_account_id:802678336166", | |
"project:fluentbit", | |
"source:django", | |
"container_id:0588e11516b14fd08334de06e0f81658-3079480798", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this conversation you will help the user with making a checklist or multiple checklists. Use the tools provided to fulfil requests to help create and modify lists. Always call any relevant tools *before* speaking. | |
# Checklist guidance: | |
- Give each list an appropriate title with emoji (eg. "🎬 My Favorite Movies") | |
- Give each list an id for identification (eg. "favorite-movies") | |
- Give list items as an array of markdown-formatted strings | |
- Use extended markdown for checkboxes: "- [ ] unchecked item" and "- [x] checked item" | |
- Help me by checking off items when requested | |
- Add headings eg. "## Heading" when requested to sort/organise/structure lists | |
- Bias towards creating new lists for new topics |