Skip to content

Instantly share code, notes, and snippets.

View Nidal-Bakir's full-sized avatar
🏹
segmentation violation

Nidal Bakir Nidal-Bakir

🏹
segmentation violation
View GitHub Profile
@Nidal-Bakir
Nidal-Bakir / country_currency.dart
Last active January 13, 2023 10:29
Countries and Currencies with Native currency symbol
// MIT License
//
// Copyright (c) 2023 Nidal Bakir
//
// 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
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@Nidal-Bakir
Nidal-Bakir / countries.dart
Last active January 13, 2023 10:28
Countries with flag, currency, Arabic name,English name, and dial-code.
// MIT License
//
// Copyright (c) 2023 Nidal Bakir
//
// 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
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@Nidal-Bakir
Nidal-Bakir / geonames-all-cities-with-a-population-1000
Last active January 13, 2023 10:27
geonames all cities with a population 1000
# MIT License
#
# Copyright (c) 2023 Nidal Bakir
#
# 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
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@Nidal-Bakir
Nidal-Bakir / remove_old_revisions_of_snaps.sh
Last active January 13, 2023 10:27
Removes old revisions of snaps
#!/bin/bash
# MIT License
#
# Copyright (c) 2023 Nidal Bakir
#
# 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
@Nidal-Bakir
Nidal-Bakir / makeBootable.sh
Last active January 13, 2023 10:26
Make bootable USB using dd command
#!/bin/sh
# MIT License
#
# Copyright (c) 2023 Nidal Bakir
#
# 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
@Nidal-Bakir
Nidal-Bakir / conventional_commit_messages.md
Last active October 16, 2022 11:54 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@Nidal-Bakir
Nidal-Bakir / Enforce_conventional_Commit_Messages_locally.md
Last active October 16, 2022 20:51
Enforce Conventional-Commit messages locally

Enforce Conventional-Commit messages locally

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@Nidal-Bakir
Nidal-Bakir / either.dart
Last active January 13, 2023 10:24
Either class in dart to hold Either Left or Right value. useful for holding data OR error.
// MIT License
//
// Copyright (c) 2023 Nidal Bakir
//
// 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
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@Nidal-Bakir
Nidal-Bakir / logger.dart
Last active January 13, 2023 10:23
Flutter console logger with colors
// MIT License
//
// Copyright (c) 2023 Nidal Bakir
//
// 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
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@Nidal-Bakir
Nidal-Bakir / main.dart
Last active January 13, 2023 10:22 — forked from slightfoot/main.dart
A base line to code an overlay in flutter. like search overlay on Text-Field
// MIT License
//
// Copyright (c) 2023 Simon Lightfoot
//
// 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
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions: