Skip to content

Instantly share code, notes, and snippets.

View tenshiAMD's full-sized avatar
🎯
Focusing

Angel Aviel Domaoan tenshiAMD

🎯
Focusing
View GitHub Profile
@lokimeyburg
lokimeyburg / pm-interview-questions.md
Last active May 11, 2025 07:10
Product Manager Interview Questions

Product Manager Interview Questions

General Questions:

  • Tell me about yourself.
  • Tell me about the most boring job you have ever had.
  • What changes would you make if you came on board?
  • What would you say to your boss if he is crazy about an idea, but you think it stinks?
  • Assuming that you are selected, what will be your strategy for next 60 days?
  • why are not you earning more money at this stage of your career?
@mrbar42
mrbar42 / README.md
Last active March 14, 2025 21:14
Secured HLS setup with Nginx as media server

Secured HLS setup with Nginx as media server

This example is part of this article.

This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:

  • Domain filtering
  • Referrer filtering
  • Embed buster
@tenshiAMD
tenshiAMD / cleanup.sh
Last active September 14, 2023 18:31
Clean up
docker system prune --force
docker rmi $(docker images -q)
gem cleanup
brew cleanup
rm -rf ~/Library/Caches/*
rm -rf ~/.cocoapods/repos/*
xcrun simctl delete all
rm -rf ~/Library/Developer/CoreSimulator/Caches/dyld/*
rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Developer/XCPGDevices/*
@neilsmithdesign
neilsmithdesign / swift-ui-protocol-view-models.swift
Last active July 16, 2025 04:47
SwiftUI views with protocol interfaces to view models.
import SwiftUI
/// View model protocol
protocol ViewModel: ObservableObject {
var count: Int { get }
func increase()
}
/// Concrete implementation
class MyViewModel: ViewModel {
@tlylt
tlylt / add-all-contributors.py
Created January 10, 2022 15:57
Automatically add all existing GitHub repo contributors with all-contributors-cli
import subprocess
import shlex
import sys
def init():
print("Initialize all-contributors")
subprocess.run(shlex.split("npx all-contributors-cli init"), shell=True)
@WorkingRobot
WorkingRobot / gitea-actions.py
Created May 1, 2022 08:01
Link your GitHub Actions to Gitea's CI API
#!/usr/bin/python3
import hashlib, hmac
import humanize
import json
import requests
from dateutil import parser
from http.server import HTTPServer, BaseHTTPRequestHandler
BIND_IP = "127.0.0.1"