Skip to content

Instantly share code, notes, and snippets.

View itsdevcoffee's full-sized avatar

Dev Coffee itsdevcoffee

View GitHub Profile
import { Person } from '/lib/collections';
import { Groups } from '/lib/collections';
import { Realtor } from '/lib/collections';
import { Relocation } from '/lib/collections';
import { Meteor } from 'meteor/meteor';
import { check } from 'meteor/check';
export default function () {
Meteor.methods({
'person.map.model'() {
{
"userSecretsId": "SECRET_ID",
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002702",
"type": "platform"
},
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
Package Stormpath.AspNetCore 0.4.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Stormpath.AspNetCore 0.4.0 supports:
- net451 (.NETFramework,Version=v4.5.1)
- netstandard1.6 (.NETStandard,Version=v1.6)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
NuGet Config files used:
C:\Users\Cpena1\AppData\Roaming\NuGet\NuGet.Config
C:\ProgramData\nuget\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
User()
.Include(u => u.UserPreferences)
.Select(u => new ProfileVm {
FirstName = u.FirstName,
LastName = u.LastName,
Email = u.Email,
Phone = u.PhoneNumber,
UserPreferences = new UserPreferencesVm
{
IsTall = u.UserPreferences?.IsTall,
@itsdevcoffee
itsdevcoffee / .css
Last active January 17, 2017 16:02
Vue.js Styles
html, body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 16px;
margin-bottom: 16px;
}
div#app {
@itsdevcoffee
itsdevcoffee / .js
Created January 16, 2017 07:13
Vue.js Tutorial - Posts
[
new Post(
'Vue.js',
'https://vuejs.org/',
'Chris',
'https://vuejs.org//images/logo.png'
),
new Post(
'React.js',
'https://facebook.github.io/react/',
@itsdevcoffee
itsdevcoffee / eos-dev-setup.md
Last active June 5, 2018 17:42
Shortcut to getting started with EOS Smart Contracts

Getting started with EOS Smart Contracts

There are two options that I'll go over for getting nodeos up and running.

  1. Docker (Recommended)
  2. Local Automated Build

Install Docker

Click here to install Docker

EOSIO Dev Docker image

Run the following commands:

{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-06-06T20:57:09",
"version": "eosio::abi/1.0",
"types": [],
"structs": [{
"name": "lesson",
"base": "",
"fields": [{
"name": "id",
"type": "uint64"
<!DOCTYPE html>
<head>
<title>Pusher Test</title>
<script src="https://js.pusher.com/4.3/pusher.min.js"></script>
<script>
// Enable pusher logging - don't include this in production
Pusher.logToConsole = true;
var pusher = new Pusher('84e09133c83ec81132c9', {
var Pusher = require('pusher');
var pusher = new Pusher({
appId: '645212',
key: PUSHER_KEY,
secret: PUSHER_SECRET,
cluster: 'us2',
encrypted: true
});