Skip to content

Instantly share code, notes, and snippets.

View ATHellboy's full-sized avatar
🐔
!

Alireza Tarahomi ATHellboy

🐔
!
View GitHub Profile
@pjmartorell
pjmartorell / vimeo_download_subtitles.md
Last active September 23, 2023 07:56
How to download subtitles/text tracks of a On Demand Vimeo video

Download subtitles/text tracks of an On-Demand Vimeo video

It works with on-demand videos that have the subtitles/captions included (CC symbol). You need to be registered in Vimeo in order to retrieve subtitles.

Steps

  1. Open Chrome Developer Tools
  2. Start playing the Vimeo video
  3. Look for any request named segment-XX.m4s (where XX is a number)
  4. Select the request and inspect the request payload, which is something in the form:
@vertxxyz
vertxxyz / GUIDebuggers.cs
Last active July 30, 2023 02:35
Early access to the GUIViewDebuggerWindow and UIElementsDebugger
using System;
using UnityEditor;
public static class GUIDebuggers {
[MenuItem("Window/Analysis/GUI View Debugger")]
public static void GUIViewDebuggerWindow() { EditorWindow.GetWindow(Type.GetType("UnityEditor.GUIViewDebuggerWindow,UnityEditor"));}
// [MenuItem("Window/Analysis/UIElements Debugger")]
// public static void UIElementsDebuggerWindow() { EditorWindow.GetWindow(Type.GetType("UnityEditor.Experimental.UIElements.Debugger.UIElementsDebugger,UnityEditor"));}
}
@staltz
staltz / introrx.md
Last active May 9, 2024 07:59
The introduction to Reactive Programming you've been missing
@soarez
soarez / ca.md
Last active May 3, 2024 00:04
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

using UnityEngine;
using System.Collections;
using System;
public class Math3d : MonoBehaviour {
private static Transform tempChild = null;
private static Transform tempParent = null;
public static void Init(){