Skip to content

Instantly share code, notes, and snippets.

@simonl65
simonl65 / show.blade.php
Created February 11, 2025 21:18
Use Leaflet in Laravel (instead of MapBox)
<script>
// Initialize the map with default coordinates
let map = L.map("map").setView([51.477928, 0], 5);
// Add the OpenStreetMap tile layer
L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
attribution: "&copy; OpenStreetMap contributors",
maxZoom: 20,
minZoom: 2,
tileSize: 512,
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 39 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 14
[get-pr-number : parse-pr-url] + echo -n 5940
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 5940
[acquire-lease : create-lease] + calculate_duration_in_seconds 90m
[acquire-lease : create-lease] + '[' m == m ']'
[acquire-lease : create-lease] + TOTAL_DURATION_IN_SECONDS=5400
[acquire-lease : create-lease] + export TOTAL_DURATION_IN_SECONDS
@jmlucjav
jmlucjav / .idea-lazy.vim
Created February 11, 2025 21:16 — forked from mikeslattery/.idea-lazy.vim
LazyVim mappings for Jetbrains IDEs
" ~/.idea-lazy.vim
" LazyVim mappings for Jetbrains IDEs
" Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle
" IDEAVim
" Which-Key
" IdeaVim-Sneak
" To install, add this to the top of your ~/.ideavimrc:
@carabalonepaulo
carabalonepaulo / reader.rs
Last active February 11, 2025 21:57
vxaos buffer
#[macro_export]
macro_rules! can_read {
($reader:expr, $($type:ty), *) => {{
let mut total_size = 0;
$(
total_size += if std::any::TypeId::of::<$type>() == std::any::TypeId::of::<String>() {
2
} else {
std::mem::size_of::<$type>()
};
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Página Teste</title>
<meta charset="utf-8">
</head>
<body>
<h1>Teste Git/Github</h1>
<h2>Branch</h2>
<p></p>
@jakka351
jakka351 / printerr.cs
Created February 11, 2025 21:16
0x7F Negative Response Codes, based on original "printerr" method by JasonACT
#region Copyright (c) 2024, Jack Leighton
// ///// __________________________________________________________________________________________________________________
// /////
// ///// __ __ __________ __
// ///// _/ |_ ____ _______/ |_ __________\______ \_______ ____ ______ ____ _____/ |_
// ///// \ __\/ __ \ / ___/\ __\/ __ \_ __ \ ___/\_ __ \_/ __ \ / ___// __ \ / \ __\
// ///// | | \ ___/ \___ \ | | \ ___/| | \/ | | | \/\ ___/ \___ \\ ___/| | \ |
// ///// |__| \___ >____ > |__| \___ >__| |____| |__| \___ >____ >\___ >___| /__|
// ///// \/ \/ \/ \/ \/ \/ \/
// ///// .__ .__ .__ __
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_application_1/padi.dart';
Future<void> main() async {
runApp(
PadiWidget(
create: GlobalScope.new,
child: const MyApp(),
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created February 11, 2025 21:14
pw932597-p13969366
WARNING: Argument 'task' is not used in function-like macro
#66: FILE: arch/riscv/include/asm/usercfi.h:53:
+#define is_shstk_locked(task) false
WARNING: Argument 'task' is not used in function-like macro
#68: FILE: arch/riscv/include/asm/usercfi.h:55:
+#define is_shstk_allocated(task) false
WARNING: Argument 'task' is not used in function-like macro
#70: FILE: arch/riscv/include/asm/usercfi.h:57:
model_name LoRA r dataset_size quantized learning_rate final eval loss
SmolLM2-360M-Instruct 4 small false 0.0005 0.16702
SmolLM2-360M-Instruct 4 small true 0.0005 0.17071
{
"certified": false,
"deleted": false,
"docker_image_digest": "sha256:fe658b0927d9e38c2676c825a8db2684183090f06e307120706d5188204c6819",
"docker_image_id": "sha256:1bb613b74789e7e20fcc8d3fcab67c0662e538d2a707095eb7cb50bb20a13fab",
"image_id": "sha256:fe658b0927d9e38c2676c825a8db2684183090f06e307120706d5188204c6819",
"parsed_data": {
"architecture": "amd64",
"created": "2025-02-11 20:43:27.210578432 +0000 UTC",
"image_id": "sha256:fe658b0927d9e38c2676c825a8db2684183090f06e307120706d5188204c6819",