This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using Microsoft.ApplicationInsights; | |
using Microsoft.ApplicationInsights.DataContracts; | |
using Microsoft.ApplicationInsights.Extensibility; | |
using Microsoft.AspNetCore.Http; | |
using Proposta.API.Utils; | |
using Proposta.Shared.Interfaces; | |
namespace Proposta.API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Coisinhas pra começar | |
# find /var/cache/pacman/pkg/ -iname "*.part" -exec rm {} \; | |
# rm -R /var/lib/pacman/sync/ | |
sudo pacman-mirrors -f 5 && sudo pacman -Syyu | |
sudo cp CA.cer /etc/ca-certificates/trust-source/anchors/ | |
sudo trust extract-compat | |
# Coisas de dev | |
pamac build visual-studio-code-bin | |
# https://www.hanselman.com/blog/side-by-side-user-scoped-net-core-installations-on-linux-with-dotnetinstallsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "Fake News Check", | |
"description": "Essa extensão indica as chances de determinada notícia ser falsa ou não", | |
"version": "1.0", | |
"browser_action": { | |
"default_icon": "icon.png", | |
"default_popup": "popup.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var urlStore = Device.OnPlatform("https://www.youtube.com/watch?v=W2Wnvvj33Wo", "https://www.youtube.com/watch?v=W2Wnvvj33Wo", "https://www.youtube.com/watch?v=W2Wnvvj33Wo"); //iOS,Android,Windows | |
Device.OpenUri(new Uri(urlStore)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application.Resources> | |
<ResourceDictionary> | |
<OnPlatform x:TypeArguments="Font" Android="30" iOS="40" WinPhone="20" x:Key="TitleFontSize" /> | |
<Style x:Key="MyTitleLabel" TargetType="Label" BaseResourceKey="TitleStyle"> | |
<Setter Property="LineBreakMode" Value="TailTruncation" /> | |
<Setter Property="XAlign" Value="Center" /> | |
<Setter Property="Font" Value="{StaticResource TitleFontSize}" /> | |
</Style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Cor do texto não estava sendo aplicada conforme estilo | |
* no iOS quando o status do entry é setado para false | |
* | |
* Para contornar este bug a alteração foi feita programaticamente | |
*/ | |
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e) | |
{ | |
base.OnElementPropertyChanged(sender, e); | |
if (e.PropertyName.Equals("IsEnabled")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var paddingview = new UIView(new RectangleF(0, 0, 100, 1)); | |
Control.LeftView = paddingview; | |
Control.LeftViewMode = UITextFieldViewMode.Always; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |