Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Vitor Goncalves Piovezam vitorpiovezam

🎯
Focusing
Block or report user

Report or block vitorpiovezam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:6b3bb171be0e792f837c0b06792df98e
plugins: [
'hyper-dracula',
'hyperlinks',
'hyper-statusline',
'hypergoogle'
],
View gist:c82083daac5b81ba43ac6583c39ff64d
<a *ngIf="windowScrolled" (click)="scrollUp()">
<span class="scroll-top">
<
</span>
</a>
import { DOCUMENT } from '@angular/common';
windowScrolled: boolean;
lamp = faLightbulb;
@vitorpiovezam
vitorpiovezam / foo.cs
Last active Aug 29, 2019
Entediado na aula de c#
View foo.cs
using System;
public class FOO {
public static void Main() {
var category = new Category("Maquiagem");
var product = new Product("Vareta", "vitor@gmail.com", category);
var categoryRepository = new CategoryRepository();
var productRepository = new ProductRepository();
View minerar.link
View cli_outputs.txt
C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
2960-24TT starting...
Base ethernet MAC Address: 00E0.F75A.A5D6
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 1 files, 0 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 64016384
flashfs[0]: Bytes used: 4414921
View app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { ApolloModule } from 'apollo-angular';
import { ApolloConfigModule } from './apollo-config.module';
@NgModule({
declarations: [
AppComponent
View app.component.ts
import { Component } from '@angular/core';
import { Apollo } from 'apollo-angular'
import gql from 'graphql-tag'
/*
Apollo is needed to bring Apollo class to the constructor
gql is a lib to create larger strings - our queries - and permit
vscode syntax-highlight
*/
View app.component.ts
import { Component } from '@angular/core';
import { Apollo } from 'apollo-angular'
import gql from 'graphql-tag'
/*
Apollo is needed to bring Apollo class to the constructor
gql is a lib to create larger strings - our queries - and permit
vscode syntax-highlight
*/
View apollo-config.module.ts
import { NgModule } from '@angular/core';
import { ApolloModule, Apollo } from 'apollo-angular';
import { HttpClientModule } from '@angular/common/http';
import { HttpLinkModule, HttpLink } from 'apollo-angular-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
@NgModule({
imports:[
HttpClientModule,
ApolloModule,
You can’t perform that action at this time.