Click here to download old versions of Chrome for Linux, Mac and Windows.
The download_url field of the desired section houses the URL to the download.
Alternatively, for not too old versions, you can get it directly here.
Note
We'll be loosly following the Vite instructions for ShadCN since Wasp is using Vite + React: https://ui.shadcn.com/docs/installation/vite We'll skip some of the steps since they don't apply or they are done differently with Wasp.
You won't be able to use the @ alias setup since it's not currently supported by Wasp. Because of this you'll need to adjust some imports when we generate components, but it should be fairly straightforward to do.
| #!/usr/bin/env python3 | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| class S(BaseHTTPRequestHandler): | |
| def _set_headers(self): | |
| self.send_response(200) | |
| self.send_header('Content-type', 'text/html') | |
| self.end_headers() |
| // | |
| // Basic instrumentation profiler by Cherno | |
| // Usage: include this header file somewhere in your code (eg. precompiled header), and then use like: | |
| // | |
| // Instrumentor::Get().BeginSession("Session Name"); // Begin session | |
| // { | |
| // InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling | |
| // // Code | |
| // } |
| // | |
| // Basic instrumentation profiler by Cherno | |
| // Usage: include this header file somewhere in your code (eg. precompiled header), and then use like: | |
| // | |
| // Instrumentor::Get().BeginSession("Session Name"); // Begin session | |
| // { | |
| // InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling | |
| // // Code | |
| // } |
| ;;; WEB -- 18 June 2016 | |
| ;; Type inferencer in miniKanren, adapted from Oleg's Kanren polymorphic type inferencer | |
| ;; | |
| ;; http://kanren.cvs.sourceforge.net/viewvc/kanren/kanren/examples/type-inference.scm?view=markup | |
| ;; | |
| ;; Unlike the Kanren inferencer, this definition of !- is a pure | |
| ;; relation, with no cuts and no uses of project. This inferencer | |
| ;; also does not require a parser/unparser, and allows shadowing. |
| #include <iostream> | |
| #include <complex> | |
| #define PI 3.141592653589793 | |
| #define SAMPLE_RATE 64 | |
| using namespace std; | |
| // This lowpass is a weighted moving average | |
| // If you change the + to - it will become a highpass filter |
| #include "TransparentOpenGLComponent.h" | |
| using namespace juce; | |
| TransparentOpenGLComponent::TransparentOpenGLComponent() | |
| { | |
| openGLContext.setComponentPaintingEnabled (true); | |
| openGLContext.setRenderer (this); | |
| openGLContext.setContinuousRepainting (true); | |
| openGLContext.attachTo (*this); |
| #define _CRT_SECURE_NO_WARNINGS | |
| #include <stdio.h> | |
| #include <windows.h> | |
| #include <stdint.h> | |
| #define Assert(x) \ | |
| if (!(x)) { MessageBoxA(0, #x, "Assertion Failure", MB_OK); __debugbreak(); } | |
| enum Register { | |
| RAX = 0, |
| #define _CRT_SECURE_NO_WARNINGS | |
| #include <string.h> | |
| #include <stdio.h> | |
| #include <windows.h> | |
| #pragma warning (disable: 4146) | |
| #include <stdint.h> | |
| #ifdef _DEBUG | |
| #define Assert(x) \ | |
| if (!(x)) { MessageBoxA(0, #x, "Assertion Failure", MB_OK); __debugbreak(); } |