Skip to content

Instantly share code, notes, and snippets.

@giampaolotrapasso
giampaolotrapasso / Designing Event-Driven Systems links.md
Created August 1, 2018 09:56
List of links from Designing Event-Driven Systems by Ben Stopford
@ptseng
ptseng / NetworkingPlayground.swift
Last active November 24, 2022 21:38
Code Sample for Leveraging Structs and Generics in the Networking Layer with Swift 4 (An update to objc.io Swift Talk)
import Foundation
import UIKit
import PlaygroundSupport
// MARK: HttpMethod
enum HttpMethod<Body> {
case get
case post(Body)
}
@simonwuyts
simonwuyts / TooltipView.swift
Last active February 5, 2024 19:28
Customizable Tooltips
//
// TooltipView.swift
// Customizable Tooltips
//
// Copyright © 2017 Simon Wuyts
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@alexathylane
alexathylane / iOS Universal Links Support Checklist.md
Last active August 8, 2024 09:35
iOS Universal Links Support Checklist
@Blackjacx
Blackjacx / UITextField-Replace-TextTheRightWay.swift
Last active December 28, 2023 17:18
UITextField - Replace Text The Right Way
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
let strippedString = <change replacements string so it fits your requirement - strip, trim, etc>
// replace current content with stripped content
if let replaceStart = textField.position(from: textField.beginningOfDocument, offset: range.location),
let replaceEnd = textField.position(from: replaceStart, offset: range.length),
let textRange = textField.textRange(from: replaceStart, to: replaceEnd) {
textField.replace(textRange, withText: strippedString)
@YemenGeeks
YemenGeeks / Books - الكتب
Created April 7, 2017 07:53
جميع الكتب الألكترونية في جميع المجالات مجاناً
السلام عليكم
هذه القائمة تحتوي على جميع الكتب الألكترونية
جميع الكتب مرفوعة على سيرفرات قوقل درايف
اذا كان هناك كلمة سر لفك الضغط هي :
www.YemenGeeks.com
كل كتاب يوجد تحته روابط التحميل الخاص به
نتمنى ان تستفيدوا ولا تنسوا مشاركتها لجميع اصدقائكم
@YemenGeeks
YemenGeeks / Development & IT – التطوير وآمن المعلومات
Last active June 8, 2019 12:21
كل دورات قسم تقنية المعلومات والتطوير مجاناً
قائمة بجميع الدورات التعليمية
Development – التطوير
IT & Software تقنية المعلومات –
Office Productivity – الأعمال الأنتاجية
Deisgn – التصميم
Marketing – التسويق الألكتروني
Tools – الأدوات
وبقية الأقسام
@leonardofed
leonardofed / README.md
Last active April 28, 2025 06:57
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@davidfowl
davidfowl / Example1.cs
Last active September 2, 2024 12:36
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
@vasanthk
vasanthk / System Design.md
Last active April 26, 2025 18:45
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?