Skip to content

Instantly share code, notes, and snippets.

View NaokiStark's full-sized avatar
Green ticks are cool

Lucía NaokiStark

Green ticks are cool
View GitHub Profile
// ==UserScript==
// @name VNT sonido
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Reproduce un sonido cuando se carga el formuulario
// @author Nekita Burger
// @match https://titulosvalidez.educacion.gob.ar/validez/detitulos/index.php
// @icon https://www.argentina.gob.ar/profiles/argentinagobar/themes/argentinagobar/argentinagobar_theme/favicon.ico
// @grant none
// ==/UserScript==
@NaokiStark
NaokiStark / vntreloader.user.js
Last active February 13, 2024 23:32
recarga la pagina
// ==UserScript==
// @name VNT Reloader
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Recarga cada 5 minutos la pagina de validez en caso de error
// @author Nekita Burger
// @match https://titulosvalidez.educacion.gob.ar/validez/detitulos/noaccess.php*
// @icon https://www.argentina.gob.ar/profiles/argentinagobar/themes/argentinagobar/argentinagobar_theme/favicon.ico
// @grant none
// ==/UserScript==
@NaokiStark
NaokiStark / twemoji.js
Created August 26, 2022 16:08
Use of twemoji on Svelte, the easiest way
import twemoji from "twemoji"; // npm i twemoji
export const stemoji = function (node, params) {
twemoji.parse(node);
return {
update(params) {
twemoji.parse(node);
},
};
}
@NaokiStark
NaokiStark / MediaKeyboard.cpp
Created April 23, 2021 03:36
From https://github.com/onetransistor/MediaKeyboard [modified for simultaneous keys and release for stm32]
#include "MediaKeyboard.h"
#if defined(USBCON)
#include "usbd_hid_consumer_if.h"
typedef struct
{
uint8_t MODIFIER;
uint8_t RESERVED;
uint8_t KEY1; //X
subst_span_main_tit&GeoFis | Professional GPS Tracking<script>alert(1)</script>
subst_span_head_compra&COMPRA AHORA
subst_span_head_contacto&CONTACTO
subst_span_menu_3&ACCESORIOS
subst_span_menu_4&CATALOGO
subst_span_menu_5&SOPORTE
subst_span_menu_6&TRABAJA CON NOSOTROS
subst_span_gpslive&GPS Live
subst_span_logo_sub&GPS Trackers&nbsp;&nbsp;&&nbsp;&nbsp;Professional GPS Tracking Software
subst_span_head_mail&info@geofis.net
public function get_price_html( $price = '' ) {
//$prices = $this->get_variation_prices( true );
$prices = ["price" => strval($this->price), "regular_price" => strval($this->price)];
if ( empty( $prices['price'] ) ) {
$price = apply_filters( 'woocommerce_variable_empty_price_html', '', $this );
@NaokiStark
NaokiStark / VideoDecoder.cs
Last active July 1, 2019 13:59
Video decoder (gets raw frames in rawformat in BGR32) using FFmpeg binary with managed code | It works on XNA and Monogame and Decodes all video supported in FFmpeg without audio
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
namespace App.Video
{
public class VideoDecoder : IDisposable
@NaokiStark
NaokiStark / BanchoClient_AntiCheat.cs
Created July 25, 2018 05:48
osu!shared/Online/Bancho_AntiCheat.cs
#region
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using Ionic.Zlib;
float4x4 World;
float4x4 View;
float4x4 Projection;
float4x4 xWorldViewProjection;
Texture xColoredTexture;
float DisplacementScroll;
sampler ColoredTextureSampler = sampler_state
{
@NaokiStark
NaokiStark / TestPlayer.cs
Last active February 28, 2018 10:28
test kyun engine
using kyun.GameScreen;
using kyun.GameScreen.UI;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System;
//Ignore hardcoded values
namespace kyun.game.GameModes.Test
{
public class TestPlayer : UIObjectBase