Skip to content

Instantly share code, notes, and snippets.

alisahanyalcin / LocalizeDropdown.cs
Created April 24, 2023 09:06
Unity Localize Dropdown Component
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Localization;
using UnityEngine.Localization.Settings;
using TMPro;
using UnityEditor;
public class LocalizeDropdown : MonoBehaviour
{
[SerializeField] private List<LocalizedString> dropdownOptions;
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
luizomf / README.md
Created July 25, 2022 11:23
Python Type Annotations Examples

Type annotations em Python

Observação: estou usando o Python 3.10.

O que é Type Annotation? São partes do código usadas para indicar tipos de dados em locais como: variáveis, parâmetros e retornos de funções e métodos. Em Python isso é usado para documentação e ajuda com auto completar dos editores, visto que a linguagem não impede a execução do código mesmo se as anotações estiverem incorretas.

Learning LLMs in 2025

So you know how the transformer works, and you know basic ML/DL, and you want to learn more about LLMs. One way to go is looking into the various "algorithmic" stuff (optimization algorithms, RL, DPO, etc). Lot's of materials on that. But the interesting stuff is (in my opinion at least) not there.

This is an attempt to collect a list of academic (or academic-like) materials that explore LLMs from other directions, and focus on the non-ML-algorithmic aspects.

Courses

Image for: Courses
  • David Chiang's Theory of Neural Networks course.
  • This is not primarily LLMs, but does have substantial section on Transformers. Formal/Theory. More of a book than a course.
VirusPilot / Collision Avoidance Information.md
Last active June 8, 2025 15:24
VirusPilot's Collision Avoidance Compilation of Information

VirusPilot's Compilation of Collision Avoidance Information

This is an effort to compile some fundamantal information about technologies for collision avoidance in aviation. I started this just for myself but maybe this is also relevant for others that need some initial information.

Basics

Radio Protocols

Image for: Radio Protocols
  • 868.2 - 868.4 MHz: OGN, FLARM, FANET, ADS-L, PilotAware (25 mW TX power)
    • amongst others, the following essential data is transmitted (and encrypted in case of FLARM):
      • GNSS position and altitude
      • ground speed, sink/climb rate, track over ground
      • aircraft ID (or ICAO hex code) and type
  • turn rate (FLARM only)
primaryobjects / hotspot-keep-alive.ps1
Last active June 8, 2025 15:16
Script to Enable Windows 10 Mobile Hotspot Automatically After Reboot
# https://superuser.com/a/1434648
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result
TrueCarry / Better proof
Last active June 8, 2025 15:14
TON Connect V2 Proof verification
https://github.com/ton-connect/demo-dapp-with-react-ui/blob/master/src/server/services/ton-proof-service.ts
charlenopires / agent.py
Created June 8, 2025 14:50
Agente de Google ADK que lê conteúdo de um Doc em PDF e interage por meio de um Chat em Streamlit
import os
from pathlib import Path
import google.generativeai as genai
import pdfplumber
import streamlit as st
# Tenta importar o Agent do Google ADK.
# Se não estiver disponível, define Agent como None para fallback.
try: