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 | |
| # Copyright 2024 The Qwen team, Alibaba Group and the HuggingFace Inc. team. All rights reserved. | |
| # | |
| # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX | |
| # and OPT implementations in this library. It has been modified from its | |
| # original forms to accommodate minor architectural differences compared | |
| # to GPT-NeoX and OPT used by the Meta AI team that trained the model. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. |
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
| # -------------------------------------------------------- | |
| # NVIDIA | |
| # Copyright (c) 2025 NVIDIA | |
| # Licensed under The MIT License [see LICENSE for details] | |
| # -------------------------------------------------------- | |
| import time | |
| from typing import List, Optional, Tuple, Union | |
| import numpy as np |
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
| # You will need to: | |
| # pip install yt-dlp | |
| # Put YouTube URLs in a text file, | |
| # optionally followed by a tab and a number for destination directories, for example: | |
| # https://www.youtube.com/watch?v=l7A0lDnlRMQ 15 | |
| # https://www.youtube.com/watch?v=x1VMJKOz9SI 15 | |
| # Usage: | |
| # python download_youtube_audio.py | |
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
| I am attesting that this GitHub handle golanlevin is linked to the Tezos account tz1eQThmh9yuuxjvFBWbRGKUr2goUw1gAd39 for tzprofiles | |
| sig:edsigtfpkYT5uWCuWwLFnRQ5xvhgGkcZ14fwFCUXNVFWuzq9BYi1aQChcxws83YZFS2e9QerSXu6VA8s9D5wHioSCFiYEuwC5GC |
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
| /** | |
| * concave_hull.pde -- THIS VERSION IS FOR PROCESSING 4 | |
| * by Udo Schlegel - Udo.3.Schlegel(at)uni-konstanz.de | |
| * Ported to Processing v4 by Golan Levin and Aren Davey | |
| * This is an implementation of the algorithm described by Adriano Moreira and Maribel Yasmina Santos: | |
| * CONCAVE HULL: A K-NEAREST NEIGHBOURS APPROACH FOR THE COMPUTATION OF THE REGION OCCUPIED BY A SET OF POINTS. | |
| * GRAPP 2007 - International Conference on Computer Graphics Theory and Applications; pp 61-68. | |
| * https://repositorium.sdum.uminho.pt/bitstream/1822/6429/1/ConcaveHull_ACM_MYS.pdf | |
| * With help from https://github.com/detlevn/QGIS-ConcaveHull-Plugin/blob/master/concavehull.py | |
| */ |
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
| // Utility for converting transcriptions produced by Zoom's speech-to-text, | |
| // into WebVTT Caption files suitable for Vimeo. | |
| /* | |
| Zoom transcription file looks like: | |
| 17:32:36 Thanks so much. Hi everybody, let me get my screen share going. | |
| 17:32:47 Right. | |
| ---------------------- |
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
| #ifdef GL_ES | |
| precision mediump float; | |
| #endif | |
| #define PROCESSING_COLOR_SHADER | |
| uniform vec2 u_resolution; | |
| uniform vec2 u_mouse; | |
| uniform float u_time; |
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
| // Quick-and-dirty Processing v.3.5.4 program to render the Amiga Kickstart vector art, as described here: | |
| // https://retrocomputing.stackexchange.com/questions/13897/why-was-the-kickstart-1-x-insert-floppy-graphic-so-bad | |
| // Note: this program ignores the flood fills and colors. | |
| // Processing program by Golan Levin, 4/1/2021. | |
| // Amiga artwork by Sheryl Knowles. | |
| void setup() { | |
| /* | |
| * Rendering algorithm: |
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
| float mysteryLag; | |
| float signalA[]; | |
| float signalB[]; | |
| float autoCorr[]; | |
| int nData; | |
| void setup() { | |
| size(512, 700); | |
| nData = 512; |
We can't make this file beautiful and searchable because it's too large.
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
| cameraid,name,url,latitude,longitude,last_width,last_height,mhash | |
| 1,VT,http://www.hazecam.net/images/main/burlington_right.jpg,44.478739,-73.19164,500,250, | |
| 2,Anthem school,http://wwc.instacam.com/instacamimg/PHNAS/PHNAS_l.jpg,33.2765,-112.1872,1280,720, | |
| 3,Coolidge High School,http://wwc.instacam.com/instacamimg/CLDGE/CLDGE_l.jpg,39.075880734474,-76.868118734,1280,720, | |
| 4,College of the Canyons,http://wwc.instacam.com/instacamimg/CLLCN/CLLCN_l.jpg,34.4044820734014,-118.569055939865,1280,1024, | |
| 5,Borrego Springs HS,http://wwc.instacam.com/instacamimg/BORYO/BORYO_l.jpg,33.2648176,-116.3834183,1280,720, | |
| 6,Potrero Hill,http://wwc.instacam.com/instacamimg/SANFR/SANFR_l.jpg,37.7603145925262,-122.422996428,1280,720, | |
| 7,City of Cripple Creek,http://wwc.instacam.com/instacamimg/CRPCK/CRPCK_l.jpg,38.8261,-105.1499,1280,720, | |
| 8,KOAA News First Cams,http://wwc.instacam.com/instacamimg/KOAAT/KOAAT_l.jpg,38.2886723,-104.6237902,1280,720, | |
| 9,Aspen ES/MS,http://wwc.instacam.com/instacamimg/ASPEN/ASPEN_l.jpg,0,0,640,480, |
NewerOlder