Skip to content

Instantly share code, notes, and snippets.

View jason-hwang's full-sized avatar
🎯
Focusing

jasonbla jason-hwang

🎯
Focusing
View GitHub Profile
@WrathChaos
WrathChaos / statusbar-color-change.md
Last active June 15, 2022 08:52
iOS 13 and Below How to change Status Bar Color?
if #available(iOS 13.0, *) {
    let app = UIApplication.shared
    let statusBarHeight: CGFloat = app.statusBarFrame.size.height
    
    let statusbarView = UIView()
    statusbarView.backgroundColor = UIColor.red
    view.addSubview(statusbarView)
  
 statusbarView.translatesAutoresizingMaskIntoConstraints = false
@martinheld
martinheld / GraphQL introspection query via curl.md
Last active July 19, 2024 07:13
GraphQL introspection query via curl

GraphQL introspection query via curl

cat introspection_query.json

{ 
  "query": "query IntrospectionQuery {
      __schema {
        queryType { name }
        mutationType { name }
Updated 2025-01-17 thanks to Yemster's comment.
This should work on any architecture of Amazon Linux 2.
(_Although not tested , should also work for Amazon Linux 2023_).
**Prereq**
- visit https://johnvansickle.com/ffmpeg/ to grab the link to the relevant tarball for your specific server architecture.
- Use `uname -a` to find out your arch if unknown
### TL;DR
@markreid
markreid / gitflowrebasing.md
Created January 17, 2017 04:30
git flow with rebasing