Skip to content

Instantly share code, notes, and snippets.

@aabccd021
aabccd021 / burn-iso.sh
Created March 13, 2025 12:14
Burn ISO
isoFile=${1:-}
if [ -z "$isoFile" ]; then
echo "Checking for iso files in ./result/iso"
isoFile=$(ls ./result/iso/*.iso | head -n 1)
fi
media_dir="/run/media/$USER"
if [ ! -d "$media_dir" ] ; then
echo "$media_dir does not exist"
[
{
"animeEng": "Boku no Imouto wa \"Osaka Okan\"",
"animeRomaji": "Boku no Imouto wa \"Osaka Okan\"",
"songName": "Motteke! Taisou Fuku",
"artist": "Kana Asumi",
"type": "Ending 9",
"correctCount": 28,
"startTime": 0,
"songDuration": 25.161333,
@damadorPL
damadorPL / agent loop
Created March 13, 2025 12:13 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
https://docs.google.com/forms/d/e/1FAIpQLSch6PbZPbPKwl0a3IOLxNI2Uq8y9QLfLwESvul5OrcGqo_5nw/viewform?usp=pp_url&entry.1175305726=5&entry.756296171=Gen%20Z%20(1997%20-%202010)&entry.1915775774=Yes%20%2F%20C%C3%B3&entry.1942814050=18-22%20%2F%20T%E1%BB%AB%2018-22%20tu%E1%BB%95i&entry.818140994=Male%20%2F%20Nam&entry.1421751229=Over%208%20million%20VND%20%2F%20Tr%C3%AAn%208%20tri%E1%BB%87u%20VND&entry.822011090=H%C3%A0ng%20tu%E1%BA%A7n%20(Weekly)&entry.188630822=D%C6%B0%E1%BB%9Bi%205%20m%C3%B3n%20(Less%20than%205%20items)&entry.1678513644=H%C6%A1n%20500%2C000%20VND%20%2F%20More%20than%20500%2C000%20VND&entry.2130161866=Facebook&entry.111286277=Often%20%2F%20Th%C6%B0%E1%BB%9Dng%20xuy%C3%AAn&entry.1480743739=Greatly%20increases%20%2F%20T%C4%83ng%20%C4%91%C3%A1ng%20k%E1%BB%83&entry.624099616=1&entry.1594427050=1&entry.1698722485=Fashion%20trends%20%2F%20Tr%C3%A0o%20l%C6%B0u%20th%E1%BB%9Di%20trang&entry.1675493514=3&entry.1312095269=Often%20%2F%20Th%C6%B0%E1%BB%9Dng%20xuy%C3%AAn&entry.343167298=4&entry.1673898042=1&e
@aabccd021
aabccd021 / zerotier-sops.sh
Created March 13, 2025 12:13
Zero tier secret to sops secret
public=$(cat /var/lib/zerotier-one/identity.public)
secret=$(cat /var/lib/zerotier-one/identity.secret)
id=$(echo "$public" | cut -d: -f1)
sops --set '["zt-client-'$id'-public"] "'$public'"' "$@"
sops --set '["zt-client-'$id'-secret"] "'$secret'"' "$@"
@xiaoliu
xiaoliu / marketing_price_range.js
Last active March 13, 2025 12:14
Userscript: Marketing Price Range for realestate.com.au
// ==UserScript==
// @name Marketing Price Range for REA
// @namespace userscript.realestatecomau.com
// @version 0.1(20250313)
// @description Shows the embeded marketing price range for a property or rental
// @author xiaoliu
// @include https://www.realestate.com.au/*
// @include https://realestate.com.au/property*
// @icon https://www.google.com/s2/favicons?sz=64&domain=realestate.com.au
// @grant none
@Maclovi
Maclovi / docker.yaml
Last active March 13, 2025 12:13
ansible docker playbook
---
- name: Install Docker on Ubuntu
hosts: all
become: true
vars:
arch_mapping:
x86_64: amd64
aarch64: arm64
tasks:
@lvanasse
lvanasse / ci-sim-03.log
Created March 13, 2025 12:11
[sim-03] CI Log for nuttx @ e0b02314e6e28b10ee84837bfe62b1e48700f85a / nuttx-apps @ 3b03636e95f6202b512d8af32629da4c0dc4af2c
Script started on 2025-03-13 11:48:26+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh sim-03" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=sim-03
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssssdMMMNysssso.
/ssssssssssshdmmNNmmyNMMMMhssssss/
@dicenull
dicenull / main.dart
Created March 13, 2025 12:11
webHtmlElementStrategy demo
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@d1b
d1b / dhcpcd apparmor profile
Created March 13, 2025 12:11
/etc/apparmor.d/dhcpcd
# vim:syntax=apparmor
#include <tunables/global>
profile dhcpcd /{usr/,}{sbin,bin}/dhcpcd {
#include <abstractions/base>
#include <abstractions/nameservice>
capability chown,
capability net_admin,