Skip to content

Instantly share code, notes, and snippets.

View parth7676's full-sized avatar
🎯
Focusing

Parth Patel parth7676

🎯
Focusing
View GitHub Profile
@evansde77
evansde77 / mock_requests.py
Last active January 31, 2024 08:49
Example of mocking requests calls
#!/usr/bin/env python
"""
mocking requests calls
"""
import mock
import unittest
import requests
from requests.exceptions import HTTPError
@davidtavarez
davidtavarez / LineEntry.cs
Last active April 6, 2022 20:09
Xamarin.Forms Entry just with bottom border.
using Xamarin.Forms;
namespace YOUTNAMESPACE
{
public class LineEntry : Entry
{
public static readonly BindableProperty BorderColorProperty =
BindableProperty.Create<LineEntry, Color> (p => p.BorderColor, Color.Black);
public Color BorderColor {