Filter
Exclude
Time range
-
Near
This is the exact prompt I use before building any app infrastructure. 1. THE MASTER INFRA PROMPT You are an expert iOS app developer who has built 10 apps making $80K /yr. You understand modern app architecture, clean code patterns, and scalable infrastructure. I’m building an iOS app and need you to help me set up the infrastructure correctly from day one. Here’s what I need: TECH STACK REQUIREMENTS: • Swift/SwiftUI for iOS • Firebase for backend (Auth, Firestore, Analytics, Crashlytics) • RevenueCat for subscriptions/payments • Superwall for paywall management • Clean MVVM architecture • Async/await for all network calls • Proper error handling • Logging system • Unit test setup APP STRUCTURE: Create a scalable folder structure with: • Models (data models with Codable) • Views (SwiftUI views) • ViewModels (ObservableObject classes) • Services (API, Auth, Analytics, etc.) • Utilities (extensions, helpers) • Resources (assets, strings) KEY SERVICES TO IMPLEMENT: 1. AuthService - Firebase Auth with email/password and social login 2. DatabaseService - Firestore operations with proper error handling 3. AnalyticsService - Firebase Analytics custom events 4. SubscriptionService - RevenueCat integration 5. PaywallService - Superwall integration 6. UserService - user data management 7. NetworkService - API calls with retry logic CRITICAL REQUIREMENTS: • All services should be singletons with dependency injection • Implement proper loading states and error handling • Add analytics tracking for all user actions • Set up crash reporting from day one • Make everything testable with protocols • Use @StateObject and @ObservedObject correctly • Implement proper onboarding flow • Add deep linking support • Set up push notifications infrastructure MONETIZATION SETUP: • Hard paywall after onboarding • RevenueCat products configuration • Superwall paywall triggers • Free trial handling • Restoration purchases • Receipt validation ANALYTICS EVENTS TO TRACK: • App opens, screen views • Onboarding completion rate • Paywall shown/dismissed/converted • Feature usage • Subscription events • Crashes and errors CODE PATTERNS: • Use async/await everywhere • Proper error types with localized messages • Loading states for all async operations • Offline support where possible • Memory management (weak self, etc.) • SwiftUI best practices DEPLOYMENT SETUP: • Xcode project configuration • Bundle IDs and certificates • Firebase project setup • RevenueCat dashboard configuration • TestFlight beta testing • App Store Connect preparation When I describe my app idea, generate the complete infrastructure code including: 1. Project structure with all folders 2. All service classes with full implementation 3. Base ViewModels and Views 4. AppDelegate/SceneDelegate setup 5. Info.plist configuration 6. Package.swift dependencies 7. Firebase configuration files 8. Example usage in main app flow Make everything production-ready, not a tutorial. Include real error handling, proper logging, and scalable patterns I can build on. No shortcuts.
3
137
Replying to @ErnestoSOFTWARE
Extracted content. Enjoy 🤘 # Claude Code — App Infrastructure Prompt > the only prompt you need to build an app infra the right way ## Paste this to Claude before you start: This is the exact prompt I use before building any app infrastructure. --- ## 1. THE MASTER INFRA PROMPT You are an expert iOS app developer who has built 10 apps making $300K/yr. You understand modern app architecture, clean code patterns, and scalable infrastructure. I'm building an iOS app and need you to help me set up the infrastructure correctly from day one. Here's what I need: --- ## TECH STACK REQUIREMENTS: - Swift/SwiftUI for iOS - Firebase for backend (Auth, Firestore, Analytics, Crashlytics) - RevenueCat for subscriptions/paywalls - Superwall for paywall management - Clean MVVM architecture - Async/await for all network calls - Proper error handling - Logging system - Unit test setup --- ## APP STRUCTURE: Create a scalable folder structure with: - Models (data models with Codable) - Views (SwiftUI views) - ViewModels (ObservableObject classes) - Services (API, Auth, Analytics, etc.) - Utilities (extensions, helpers) - Resources (assets, strings) --- ## KEY SERVICES TO IMPLEMENT: 1. AuthService — Firebase Auth with email/password and social login 2. DatabaseService — Firestore operations with proper error handling 3. AnalyticsService — Firebase Analytics custom events 4. SubscriptionService — RevenueCat integration 5. PaywallService — Superwall integration 6. UserService — user data management 7. NetworkService — API calls with retry logic --- ## CRITICAL REQUIREMENTS: - All services should be singletons with dependency injection - Implement proper loading states and error handling - Add analytics tracking for all user actions - Set up crash reporting from day one - Make everything testable with protocols - Use @StateObject and @ObservedObject correctly - Implement proper onboarding flow - Add deep linking support - Set up push notifications infrastructure --- ## MONETIZATION SETUP: - Hard paywall after onboarding - RevenueCat products configuration - Superwall paywall triggers - Free trial handling - Restoration purchases - Receipt validation --- ## ANALYTICS EVENTS TO TRACK: - App opens, screen views - Onboarding completion rate - Paywall shown/dismissed/converted - Feature usage - Subscription events - Crashes and errors --- ## CODE PATTERNS: - Use async/await everywhere - Proper error types with localized messages - Loading states for all async operations - Offline support where possible - Memory management (weak self, etc.) - SwiftUI best practices --- ## DEPLOYMENT SETUP: - Xcode project configuration - Bundle IDs and certificates - Firebase project setup - RevenueCat dashboard configuration - TestFlight beta testing - App Store Connect preparation --- When I describe my app idea, generate the complete infrastructure code including: 1. Project structure with all folders 2. All service classes with full implementation 3. Base ViewModels and Views 4. AppDelegate/SceneDelegate setup 5. Info.plist configuration 6. Package.swift dependencies 7. Firebase configuration files 8. Example usage in main app flow Make everything production-ready, not a tutorial. Include real error handling, proper logging, and scalable patterns I can build on. No shortcuts.
3
99
People tagged me saying this is malware. It's not malware. It's a false positive. It's flagged as malware because it functionality present which modifies system components and settings (in the name of gaming, or something) which some malware families may also try to do. It also has some unusual stuff inside which looks like malware, but it's not. 1. It's 144MB because it's the new fancy .NET "hostfxr" stuff, so it's all bundled together and comes with all the necessary dependencies. Inside of the binary though is an RCData section (custom section) which is (probably) flagged as malware because it contains a .DLL which is (yet another) .NET dependency. However, this is all unironically normal stuff. 2. The binary loads an internal module called "XillyGameMode". XillyGameMode is fancy, has a bunch of fancy graphics, but it ultimately contains a few core services 3. Internal "services" - "GameDetector" GameModeService - MemoryService - NetworkService - PowerService - RegistryService - UpdateService Each "service" also has settings associated with it. 4. GameModeService checks for the presence of a bunch of random video games based on their process in-memory string (how they appear in Task Manager). It looks for: Call of Duty, Fortnite, Apex, CS2, Valheim, DOTA2, LoL, Overwatch, Valorant, GTA5, RDR2, Cyberpunk2077, and Minecraft. If any of these are identified it sets it to focus. In other words, it makes sure it's not in the background of something. This service also functions as the thingie that handles all the other services. 5. MemoryService invokes PSAPI!EmptyWorkSet and attempts to flush unused memory to disk. 6. NetworkService disables multicasting stuff, for DNS stuff, or something. It also disables NetBIOS. 7. PowerService attempts to determine if it's a desktop using Win32_SystemEnclosure from WMI. If it thinks it's a Desktop, it changes power settings to High Performance. If it thinks you're a laptop, or can't determine if it's a Desktop, it tries modifying power read scheme thingies. Some weird power stuff I never cared to look more into. 8. RegistryService modifies registry stuff to give GPU priority, disables explorer.exe restart functionality (???), enables Game Bar auto start stuff 9. UpdateService looks for updates on GitHub. It has some weird update logic by dropping a *.BAT file, but it just kills the current process. There is smarter ways to do this, but whatever. 10. It's not malware. It has malware-like functionality because it changes system settings. I don't think changing some of these things really matters a whole lot, but I'm not a gamer NERD, so I don't know. Thanks
Jan 25
I've been gatekeeping this for months. Windows steals 30-40% of your FPS through background bloat. I built a tool that reclaims it in one click. Completely free. No BS. Download: github.com/xillyservices-cod…
67
127
3,419
695,415
27 Aug 2025
米国CISAが悪用を確認した脆弱性 #KEV をカタログに追加しました。 🛡️No.1403 CVE-2024-8069 Citrix Session Recording Deserialization of Untrusted Data Vulnerability ============= CVSSスコア:5.1 (Base) / Citrix Systems, Inc. CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N 種別:信頼できないデータのデシリアライゼーション (CWE-502 / Citrix Systems, Inc.) 深刻度:警告 ---------------------- 悪用時影響: セッション録画サーバーと同一イントラネット上で認証済みの攻撃者により、NetworkServiceアカウントの権限でリモートから任意のコードを実行される恐れがあります。 🛡️No.1404 CVE-2024-8068 Citrix Session Recording Improper Privilege Management Vulnerability ============= CVSSスコア:5.1 (Base) / Citrix Systems, Inc. CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N 種別:不適切な権限管理 (CWE-269 / Citrix Systems, Inc.) 深刻度:警告 ---------------------- 悪用時影響: セッション録画サーバーと同一のADドメイン上で認証済みの攻撃者により、NetworkServiceアカウントへ特権昇格される恐れがあります。 support.citrix.com/external/… 🛡️No.1405 CVE-2025-48384 Git Link Following Vulnerability ============= CVSSスコア:8.0 (Base) / GitHub, Inc. CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H 種別:解釈の競合、リンク解釈の問題 (CWE-436,CWE-59 / GitHub, Inc.) 深刻度:重要 ---------------------- 悪用時影響: 認証済みの攻撃者により、変更されたパスを指すシンボリックリンクがサブモジュール フックのディレクトリに存在し、サブモジュールに実行可能なポストのチェックアウト フックが含まれている場合、チェックアウト後にそのスクリプトが意図せず実行される恐れがあります。 github.com/git/git/security/… access.redhat.com/errata/RHS… alas.aws.amazon.com/AL2/ALAS… linux.oracle.com/errata/ELSA… msrc.microsoft.com/update-gu… CISA Adds Three Known Exploited Vulnerabilities to Catalog | CISA cisa.gov/news-events/alerts/… #vulnerability

3
4,601
Singleton Pattern: • Ensures a class has only one instance. • Example: NetworkService, DatabaseService
1
3
217
Wrote a Beacon Object File (BOF) version of PrintSpoofer for Cobalt Strike. It enables privilege escalation from NetworkService to SYSTEM. Based on work by @tiraniddo and @itm4n. Repo is here: github.com/slimeonsecurity/P…
6
42
2,565
Replying to @santaizi258
未命名浏览器 错误 异常关闭,请尝试重启任务。 Target page, context or browser has been closed Browser logs: <launching> C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,Netwo
38
4,393
Replying to @networkservice
dude it's nvidia proprietary isa docs.nvidia.com/cuda/paralle…

1
2
183
Singleton Pattern: • Ensures a class has only one instance. • Example: NetworkService, DatabaseService
1
4
234
Replying to @susornah @raratoman
it runs on this: WHICH WILL GET YOU BANNED if you use VANGUARD . C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s StorSvc C:\Windows\System32\svchost.exe -k NetworkService -p
7
144
There's one ebay seller that has a real, complete evaluation board with all stuff. I will see if I can explain to them that likely I'm the only person left who would ever want that and they just need to discount it by like 90%. Dead arch, sure. 100s of cheap cores? Absolutely.
1
11
--->!IT LIVES!<--- Welcome to Alpine Linux 3.14 Kernel 4.9.57-Cavium-Octeon on an mips64 (/dev/ttyS0) localhost login:
1
2
24
Any idea if it's related to them losing their decided backbone links with the recently "anchor incident"? I can imagine it changes economics their offerings.
1
5
2,888
Replying to @networkservice
This though lol
Replying to @pstavirs
This 👆 And various Facebook and LinkedIn groups as well.
1
2
104
My life has taught me that collecting deep arcana has enormous value to the right person/ organization.
5
153
Replying to @networkservice
insane to ever tell someone that acquiring knowledge is going to make them unemployable!!!
1
1
60
2,755
Replying to @networkservice
There's nowhere to hide! Mwahahaha!
2
61
Replying to @networkservice
I mean they are already providing various network services though, from 5G/LTE transport providers to the usual L2/3VPN to IP Transit and other stuff.
1
2
46