Skip to content

Instantly share code, notes, and snippets.

View fayaz07's full-sized avatar
:octocat:
commit, rebase and merge

Mohammad Fayaz fayaz07

:octocat:
commit, rebase and merge
View GitHub Profile
@iPaulPro
iPaulPro / include_list_viewpager.xml
Last active March 7, 2024 11:13
CollapsingToolbarLayout with TabLayout
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
@takeshiyako2
takeshiyako2 / AndroidManifest.xml
Last active May 29, 2023 15:48
Android Sample YouTube API on the Fragment
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xxxx.xxxx.xxxx.fragmentdeyoutube" >
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@Chintan7027
Chintan7027 / currency-symbols.csv
Last active May 20, 2021 08:09 — forked from bzerangue/currency-symbols.xml
World currencies with their symbols in csv,JSON,sql and, xml
_code _unicode-decimal _unicode-hex __text
ALL 76, 101, 107 4c, 65, 6b Albania Lek
AFN 1547 60b Afghanistan Afghani
ARS 36 24 Argentina Peso
AWG 402 192 Aruba Guilder
AUD 36 24 Australia Dollar
AZN 1084, 1072, 1085 43c, 430, 43d Azerbaijan New Manat
BSD 36 24 Bahamas Dollar
BBD 36 24 Barbados Dollar
BYR 112, 46 70, 2e Belarus Ruble
@camh-
camh- / eol-at-eof.md
Created March 7, 2020 04:41
Please add newlines at end of files

See https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline

A newline in a text file is a terminator, not a separator. This means each line should have a newline at the end of it, including the last line of the file.

Many editors automatically add the newline at the end of the file. Some do not. If you can configure your editor to ensure there is always a newline at the end of every line, please do so.

Because many editors do add this newline, if you commit a text file without it, when someone else edits the file, their editor will (correctly) add the newline. This causes a spurious diff in the file. Spurious

@maratori
maratori / .golangci.yml
Last active July 1, 2024 12:18
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.59.1
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt and change it for your needs.
run: