Skip to content

Instantly share code, notes, and snippets.

View kukabi's full-sized avatar
🧩

Kutsal Kaan Bilgin kukabi

🧩
View GitHub Profile
@aaronlab
aaronlab / isDetailLink.swift
Last active July 24, 2022 09:38
SwiftUI Navigation Link Issue Solution: Navigation Bar overlapped
@0xjac
0xjac / private_fork.md
Last active May 8, 2024 05:12
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@androidcodehunter
androidcodehunter / Remove Highlighted ClickSpan
Created October 13, 2016 05:31
Removing highlighted color from ClickableSpan in Android
I’ve been struggling for some hours with TextView and Spannable.. ClickableSpan to be precise. It seems that when you tap the clickable text it gets an ugly orange stroke (might differ on devices) around the text and if you so happen to have this in a custom view as an item in e.g Gallery it really stands out by highlighting it everytime you scroll away from that view. Annoying, yes?
The solution is extremely simple and was provided by a thread over at Stackoverflow.com.
To edit or remove the higlight color you can simply set the TextViews highlight color itself to any color you want or Color.TRANSPARENT if you don’t want any color.
android:textColorHighlight="@color/something"
or in code
textView.setHighlightColor(Color.TRANSPARENT);
@clintel
clintel / gist:1155906
Created August 19, 2011 02:40
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code