If this codebase is production, handles money, or touches sensitive data: treat this audit loop as a high-risk operation. Run with least privilege, avoid exporting long-lived credentials in your shell, and keep the agent in read-only mode.
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
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
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
| using UnityEngine; | |
| public class AckermannSteering : MonoBehaviour | |
| { | |
| [SerializeField] private float steeringAngle; // ステアリングの切れ角 | |
| [SerializeField] private float tread; // 左右の車輪間の距離 (トレッド) | |
| [SerializeField] private float wheelBase; // 前後の車輪間の距離 (ホイールベース) | |
| public float leftWheelAngle { get; private set; } // 左車輪の角度 | |
| public float rightWheelAngle { get; private set; } // 右車輪の角度 |
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
| // | |
| // Created by Sean Heber on 8/11/22. | |
| // | |
| import Foundation | |
| enum ExponentialBackoffError : Error { | |
| case retryLimitExceeded | |
| } |
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
| using System; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Purchasing; | |
| using UnityEngine.Purchasing.Security; | |
| public class IAPManager : IStoreListener | |
| { | |
| public enum State { PendingInitialize, Initializing, SuccessfullyInitialized, FailedToInitialize }; |
wrk is the binary used as injector, always used with these options:
./wrk -t12 -c1000 -d15s http://127.0.0.1:8080/
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
| Shader "Universal Render Pipeline/Post-Processing/EdgeDetection" | |
| { | |
| Properties | |
| { | |
| [Toggle(ENABLED)] __enabled("Enabled", Float) = 1 | |
| [MainTex] [HideInInspector] _MainTex ("Base Map", 2D) = "white" { } | |
| [MainColor] _Color ("Color", Color) = (1, 1, 1, 1) | |
| _Thickness ("Thickness", Float) = 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
| // Youtube Video: https://youtu.be/SBvrvJ93gh4 | |
| import SwiftUI | |
| import WebKit | |
| struct ContentView: View { | |
| let webView = WebView(request: URLRequest(url: URL(string: "https://www.google.com")!)) | |
| var body: some View { | |
| VStack { |
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
| // MIT License (c) https://github.com/esnya | |
| Shader "Unlit/WorldNormal" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| _BumpMap ("Texture", 2D) = "bump" {} | |
| _BumpScale ("Normal Scale", Range(0, 1)) = 1.0 | |
| _MixFactor ("Mix Factor", Range(0, 1)) = 1 |
NewerOlder