Skip to content

Instantly share code, notes, and snippets.

Avatar
👶
Parenting

Jaime Vintharas

👶
Parenting
View GitHub Profile
@Vintharas
Vintharas / gist:bfa5709746f9dbea3794
Created Jan 28, 2015
Mocking IDBSet IQueryable with Moq
View gist:bfa5709746f9dbea3794
using System.Data.Entity;
using System.Linq;
using Moq;
namespace Platform.Domain.Tests.Helpers
{
public class QueryableDbSetMock
{
public static IDbSet<T> GetQueryableMockDbSet<T>(params T[] sourceList) where T : class
{
@Vintharas
Vintharas / input.scss
Created Apr 16, 2021
Generated by SassMeister.com.
View input.scss
.MyComponent {
$prefix: &;
&ButtonWrapper {
padding: 1rem;
#{$prefix}Button {
color: green;
}
View settings.json
{
"window.zoomLevel": 2,
// Define profile for specified syntax or use your own profile with specific rules.
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// prettier
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
// vim
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Oct 14, 2019
Testing drawing tree like structures
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Create Kirby's Face
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Create a simple bar chart
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Simple example axes
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Simple example scales
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 21, 2019
Simple example rect data bind
View .block
license: mit