Skip to content

Instantly share code, notes, and snippets.

View Danil0v3s's full-sized avatar
🏠
Working from home

Danilo Lemes Danil0v3s

🏠
Working from home
View GitHub Profile
@Danil0v3s
Danil0v3s / ClientSendJob.cs
Created November 4, 2023 16:51
Jobified Transport
namespace Common.Network.JobSystem
{
using Unity.Burst;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using Unity.Networking.Transport;
using UnityEngine;
public struct ClientSendJob : IJob
using System;
using System.Collections;
using UnityEngine;
//influence for programmatic animation controller
//https://www.youtube.com/watch?v=nBkiSJ5z-hE
public class VRShopperAnimationController : MonoBehaviour
{
private Animator _animator;
private GlobalAnimationManager _animationManager;
@Danil0v3s
Danil0v3s / fix.py
Last active August 12, 2023 10:12
Rotate SMD in Blender command line
import bpy, os
from math import radians
path = '<smd files path>'
error_file = '<error file path>'
with open(error_file, 'w', buffering=1) as f:
f.write("errors at files\n")
for root, dirs, files in os.walk(path):
@Danil0v3s
Danil0v3s / gist:6489a6d2ab682cf08cb27f314077754d
Created August 18, 2022 20:59
rAthena changes since packet 20200401
src/char/packets.hpp:37:#if PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:95:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:100:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/char/packets.hpp:105:#if PACKETVER_MAIN_NUM >= 20201007 || PACKETVER_RE_NUM >= 20211103
src/config/packets.hpp:16: #define PACKETVER 20211103
src/config/packets.hpp:22: #if ( PACKETVER > 20151104 && PACKETVER < 20180704 ) || PACKETVER >= 20200902
src/map/atcommand.cpp:10744:#if !( PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724 )
src/map/clif.cpp:1804:#if PACKETVER_MAIN_NUM >= 20210303 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:2195:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
src/map/clif.cpp:2298:#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
[MenuItem("UnityRO/Utils/Extract/Sprites")]
static void ExtractSprites() {
try {
var shouldContinue = true;
var config = ConfigurationLoader.Init();
FileManager.LoadGRF(config.root, config.grf);
var descriptors = FilterDescriptors(FileManager.GetFileDescriptors(), "data/sprite/Àΰ£Á·/¸öÅë/").Select(it => {
return it[..it.IndexOf(Path.GetExtension(it))].Replace("/", "\\");
}).Where(it => it.Length > 0).Distinct().ToList();
Loading D:/Projetos/RAG/client/System/PetEvolutionCln_true.lub...
Loading D:/Projetos/RAG/client/System/achievement_list.lub...
Loading D:/Projetos/RAG/client/System/PrivateAirplane_true.lub...
Loading D:/Projetos/RAG/client/System/CheckAttendance.lub...
Loading D:/Projetos/RAG/client/System/itemInfo_true.lub...
Loading D:/Projetos/RAG/client/System/tipbox.lub...
Loading C:/Users/danil/Desktop/data/luafiles514/lua files/datainfo/changedirectorylist.lub...
Loading C:/Users/danil/Desktop/data/luafiles514/lua files/msgstring_kr.lub...
Loading C:/Users/danil/Desktop/data/luafiles514/lua files/datainfo/npcidentity.lub...
Loading C:/Users/danil/Desktop/data/luafiles514/lua files/datainfo/jobname_f.lub...
@Danil0v3s
Danil0v3s / minimapui.cs
Created February 11, 2022 17:51 — forked from juliolitwin/minimapui.cs
Ragnarok Minimap
using System;
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.MapEditor;
using Poring.Shared.Extensions;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class MinimapUI : MonoBehaviour
<color='green'>Sent: CA_LOGIN Size:55</color>
0xac4 Received Size:224 Registered Size:-1 Remaining Size: 0 // AC_ACCEPT_LOGIN3
<color='green'>Sent: CH_ENTER Size:17</color>
Received Unhadled Command HC_ACCEPT_ENTER2
0x82d Received Size:29 Registered Size:29 Remaining Size: 204 // HC_ACCEPT_ENTER2
$ git diff
diff --git a/conf/groups.conf b/conf/groups.conf
index 0d83b0361..70a62d695 100644
--- a/conf/groups.conf
+++ b/conf/groups.conf
@@ -86,15 +86,16 @@ groups: (
level: 0
inherit: ( /*empty list*/ )
commands: {
- changedress: true
package br.com.firstsoft.historiconotificacoes.notificationrecorder.src.service
import android.app.Notification.EXTRA_BIG_TEXT
import android.app.Notification.EXTRA_TEXT
import android.app.Notification.EXTRA_TITLE
import android.content.pm.ApplicationInfo
import android.os.Bundle
import android.service.notification.NotificationListenerService
import android.service.notification.StatusBarNotification
import br.com.firstsoft.historiconotificacoes.domain.src.model.AppNotification