Skip to content

Instantly share code, notes, and snippets.

View Outsiders17711's full-sized avatar

Oluwaleke Umar Yusuf Outsiders17711

View GitHub Profile
@jph00
jph00 / embodiment.md
Created March 26, 2023 03:48
Bing chat about embodiment and grounding

Bing Chat at 2023-3-26 13:47:19

1

Q: Bing AI

2

Q: Some philosophers and AI researchers have claimed that AI can not be sentient, or be AGI, due to lack of "embodiment" or "grounding". Could you please summarize these claims, and points for and against? Who are the main people on each side of this debate?

@tvst
tvst / SessionState.py
Last active April 14, 2024 20:24
DO NOT USE!!! Try st.session_state instead.
"""Hack to add per-session state to Streamlit.
Usage
-----
>>> import SessionState
>>>
>>> session_state = SessionState.get(user_name='', favorite_color='black')
>>> session_state.user_name
''
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active May 24, 2024 16:30
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }

Displaying Configurations in TensorBoard

This is a simple demonstration of displaying training configuration in a TensorBoard, using text summaries.

Screenshot

@leonardreidy
leonardreidy / rotateImages.py
Created September 19, 2016 11:53
Simple function to rotate all images in the current directory with Python Pillow
# pip install Pillow if you don't already have it
# import image utilities
from PIL import Image
# import os utilities
import os
# define a function that rotates images in the current directory
# given the rotation in degrees as a parameter