Skip to content

Instantly share code, notes, and snippets.

@hackertron
hackertron / sql.go
Created January 25, 2019 10:55
go sqlite
package main
import (
"database/sql"
"fmt"
"time"
_ "github.com/mattn/go-sqlite3"
)
func main() {
# /------------------------------------------\
# | don't forget to download the .tp file |
# | and place it in the user's directory :› |
# | |
# | also install lolcat: |
# | https://github.com/busyloop/lolcat |
# \------------------------------------------/
alias test-passed='if [ "$?" -eq "0" ]; then lolcat ~/.tp -a -s 40 -d 2; fi;'
@hackertron
hackertron / InputController.cs
Last active September 28, 2020 11:01
InputController script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
public class InputManager : MonoBehaviour
{
public GameObject AR_object;
public Camera AR_Camera;
public ARRaycastManager raycastManager;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIHandler : MonoBehaviour
{
public Button btn;
public GameObject furniture;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Datahandler : MonoBehaviour
{
public GameObject furniture;
private static Datahandler instance;
public static Datahandler Instance
{
@hackertron
hackertron / InputHandler.cs
Last active July 8, 2021 15:24
InputHandler
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
public class InputManager : MonoBehaviour
{
public GameObject AR_object;
public Camera AR_Camera;
public ARRaycastManager raycastManager;
const app = Vue.createApp({
data() {
return {
title : 'List of countries',
countries : [],
country: {},
showCountry: false,
}
},
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@hackertron
hackertron / gist:f12edc999e2aed9834597133dd881f89
Created January 9, 2025 11:16
tlsn animechan plugin in json
{
"config": {
"title": "Anime Quote Notarization",
"description": "Notarize the response from the Anime Quote API",
"steps": [
{
"title": "Fetch a random anime quote",
"cta": "Get Quote",
"action": "start"
},