This file contains hidden or 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="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>Lean Proof: Linear Independence of Eigenvectors</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background: #fdfdfd; |
This file contains hidden or 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
| let t = 0; | |
| function setup() { | |
| createCanvas(400, 400); // Create a 400x400 pixel canvas | |
| colorMode(HSB, 255); // Use Hue-Saturation-Brightness color mode for vivid color control | |
| background(0); // Fill the background with black once at the start | |
| noFill(); // We won't use fill for shapes (optional in this sketch) | |
| } | |
| function draw() { |
This file contains hidden or 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
| # generated by @yacineMTB using deepseek r1 and claude | |
| import pygame | |
| import torch | |
| import torch.nn.functional as F | |
| import numpy as np | |
| pygame.init() | |
| WIDTH = 1200 | |
| HEIGHT = 600 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # 2023-11-27 MIT LICENSE | |
| Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com. | |
| It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town. | |
| Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same! | |
| Send me your ChatGPT text adventure game on X, I'd love to try it! |
This file contains hidden or 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
| aa |
This file contains hidden or 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
| " Comments in Vimscript start with a `"`. | |
| " If you open this file in Vim, it'll be syntax highlighted for you. | |
| " Vim is based on Vi. Setting `nocompatible` switches from the default | |
| " Vi-compatibility mode and enables useful Vim functionality. This | |
| " configuration option turns out not to be necessary for the file named | |
| " '~/.vimrc', because Vim automatically enters nocompatible mode if that file | |
| " is present. But we're including it here just in case this config file is | |
| " loaded some other way (e.g. saved as `foo`, and then Vim started with | |
| " `vim -u foo`). |
This file contains hidden or 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
| from tkinter import * | |
| from PIL import ImageTk,Image | |
| import time | |
| import os | |
| targetImageWidth = 850 | |
| targetImageHeight = 400 | |
| inputImageWidth = 0 | |
| inputImageHeight = 0 |
This file contains hidden or 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
| from time import sleep | |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| executable_path = '/usr/local/bin/chromedriver' | |
| options = Options() | |
| options.add_argument("--headless") | |
| browser = webdriver.Chrome(options=options, executable_path=executable_path) | |
| url = YOUR_PAPER_URL | |
| sender_name = 'Shao-Hua Sun' |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| """ | |
| Spyder Editor | |
| This is a temporary script file. | |
| """ | |
| from scipy.io import loadmat,savemat | |
| import torch | |
| from torchvision import models |
NewerOlder