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
/* | |
Twitch chat browsersource CSS for OBS | |
Just set the URL as https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true | |
And paste this entire file into the CSS box | |
Original by twitch.tv/starvingpoet modified by github.com/Bluscream | |
General Settings | |
*/ | |
body { | |
color: #FFFFFF!important; |
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
// class `Service` | |
public void Add() | |
{ | |
// this is the code I want to test | |
var entry = await _dbContext.MyDbSetObject.AddAsync(data, cancellationToken); | |
if (entry.State != EntityState.Added) | |
{ | |
// log error & return | |
} |
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
param( | |
[Parameter(Mandatory=$true)] | |
[string]$testProjectPath, | |
[Parameter(Mandatory=$true)] | |
[string]$testSettingsPath, | |
[Parameter(Mandatory=$true)] | |
[string]$testResultsFolder | |
) | |
<# |
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
public class X { | |
public string y() => "oi"; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | |
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
version="1.0"> | |
<!-- derby --> |
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
defaults = { | |
textCropButton: "Cortar", // texto do botão de cortar | |
textCleanButton: "Limpar", // texto do boão de limpar | |
cropBackGroundColor: "#747474", // cor do background da área não selecionada | |
cropOpacity: .4, // opacidade do background da área não selecionada | |
cropBoxWidth: 500, // largura máximo da imagem cortada | |
cropBoxHeight: 300, // altura máxima da imagem cortada | |
previewPanel: undefined, // Div que será mostrado a imagem prévia do corte. Se não informada não será gerado um preview |
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
<h2>01 - Um simples seletor de imagem com opção de cortar</h2> | |
<div style="display:block"> | |
<label style="display:block">Resultado:</label> | |
<img class="imgTargetArea" src="#" /> | |
</div> | |
<script type="text/javascript"> | |
$(".imgTargetArea").clientImageSelectCropper({ |
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 Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace JsonTest | |
{ |