Skip to content

Instantly share code, notes, and snippets.

View stefanceriu's full-sized avatar
🔥

Stefan Ceriu stefanceriu

🔥
View GitHub Profile
@stefanceriu
stefanceriu / PRs.sh
Last active August 31, 2026 08:39
PRs stats
#!/usr/bin/env bash
set -euo pipefail
# Usage: ./pr_review_stats.sh [week|month|year|last-week|last-month] [--no-links] (defaults to month, links shown)
PERIOD_UNIT="month"
SHOW_LINKS=true
for arg in "$@"; do
case "$arg" in
week|month|year|last-week|last-month) PERIOD_UNIT="$arg" ;;
--no-links) SHOW_LINKS=false ;;
@stefanceriu
stefanceriu / UITableView+CTX.h
Last active November 20, 2021 04:13
Enabled iOS style UITableView multiple selection on Catalyst applications
//
// UITableView+CTX.m
// EFClass-Mac
//
// Created by Stefan Ceriu on 29/11/2019.
// Copyright © 2019 EF Education First. All rights reserved.
//
#import <Foundation/Foundation.h>
@stefanceriu
stefanceriu / UITextView+CTX.h
Last active February 4, 2020 13:28
Remove default Mac Catalyst application text view focus rings
//
// UITextView+CTX.h
// EFClass
//
// Created by Stefan Ceriu on 27/11/2019.
// Copyright © 2019 EF Education First. All rights reserved.
//
#import <UIKit/UIKit.h>
@stefanceriu
stefanceriu / UITextField+CTX.h
Last active April 3, 2021 09:23
Remove default Mac Catalyst application text field focus rings
//
// UITextField+CTX.h
// EFClass
//
// Created by Stefan Ceriu on 27/11/2019.
// Copyright © 2019 EF Education First. All rights reserved.
//
#import <UIKit/UIKit.h>
@stefanceriu
stefanceriu / UICollectionView+CTX.h
Last active June 21, 2024 05:12
Enabled iOS style UICollectionView multiple selection on Catalyst applications
//
// UICollectionView+CTX.h
// EFClass-Mac
//
// Created by Stefan Ceriu on 29/11/2019.
// Copyright © 2019 EF Education First. All rights reserved.
//
#import <Foundation/Foundation.h>
@stefanceriu
stefanceriu / UINSSceneView+CTX.h
Last active January 24, 2025 18:59
Disable Mac Catalyst 77% app scaling
//
// UINSSceneView+CTX.h
// EFClass
//
// Created by Stefan Ceriu on 28/11/2019.
// Copyright © 2019 EF Education First. All rights reserved.
//
#import <Foundation/Foundation.h>