Skip to content

Instantly share code, notes, and snippets.

View squeaky-nose's full-sized avatar

Sushant Verma squeaky-nose

View GitHub Profile
@squeaky-nose
squeaky-nose / keybase.md
Created March 6, 2025 22:38
keybase.md

Keybase proof

I hereby claim:

  • I am squeaky-nose on github.
  • I am sushant40 (https://keybase.io/sushant40) on keybase.
  • I have a public key ASB6-kz_e8LaWICzQZDGPrpc4X7lSDEPjb78w0XypHM0hgo

To claim this, I am signing this object:

@squeaky-nose
squeaky-nose / AppUITests.swift
Last active July 1, 2024 22:46
XCUITest disable keyboard swipe
import XCTest
final class AppUITests: XCTestCase {
override func setUpWithError() throws {
SpringboardHelper.showKeyboardIfNeeded()
}
}
@squeaky-nose
squeaky-nose / toggleNightMode.sh
Created November 13, 2023 23:28
Toggle night mode
while [ 1 ]
do
xcrun simctl ui booted appearance dark
sleep 2
xcrun simctl ui booted appearance light
sleep 2
done
@squeaky-nose
squeaky-nose / toggleDynamicType.sh
Last active November 13, 2023 23:27
toggle dynamic type
while [ 1 ]
do
xcrun simctl ui booted content_size extra-extra-large
sleep 2
xcrun simctl ui booted content_size medium
sleep 2
done
UserDefaults.standard.set(false, forKey: "NSDoubleLocalizedStrings")
UserDefaults.standard.set(true, forKey: "NSAccentuateLocalizedStrings")
UserDefaults.standard.set(true, forKey: "NSSurroundLocalizedStrings")
UserDefaults.standard.set(true, forKey: "NSShowNonLocalizedStrings")
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
@squeaky-nose
squeaky-nose / gist:03158d67ab4803b0ad81e2047bf25ed1
Last active September 28, 2018 00:11
Load UI view from XIB file for use in storyboard with IBDesignable
//
// SVDesignableXibView.swift
// crypto
//
// Created by Sushant Verma on 29/1/18.
// Copyright © 2018 Sushant Verma. All rights reserved.
//
import UIKit