Skip to content

Instantly share code, notes, and snippets.

Zetta Garcia agrcrobles

Block or report user

Report or block agrcrobles

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
@agrcrobles
agrcrobles / netcore22-basic-principles.md
Last active Apr 28, 2019
Reviewing some basic concepts about netcoreapp2.2 with C#
View netcore22-basic-principles.md
@agrcrobles
agrcrobles / README.md
Created Dec 18, 2018
webpack bundle analyzer with create-react-app
View README.md
@agrcrobles
agrcrobles / DEPS.md
Created Dec 12, 2018
Minimum webpack 4 dev server
View DEPS.md

Install deps

npm init
npm i --save-dev webpack webpack-cli webpack-dev-server
@agrcrobles
agrcrobles / README.md
Created Dec 8, 2018
fcm web notification
View README.md
View index.js
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();
@agrcrobles
agrcrobles / README.md
Created Oct 29, 2018
express simple server
View README.md

Simple Server in Express

  1. Fix the route when necessary

  2. Run

npm init
yarn add express
node index.js
View aspnetcore.development.dockerfile
FROM microsoft/dotnet:sdk
LABEL author="Dan Wahlin"
ENV DOTNET_USE_POLLING_FILE_WATCHER=1
ENV ASPNETCORE_URLS=http://*:5000
EXPOSE 5000
View SimpleStarProviderDilemma.js
import Contract from 'truffle-contract';
import VotingArtifact from '../build/contracts/Voting.json';
import Web3 from 'web3';
function Star(candidate) {
const Voting = Contract(VotingArtifact);
var web3Provided;
View 1_initial_migration.js
var Migrations = artifacts.require('./Migrations.sol');
module.exports = function(deployer) {
deployer.deploy(Migrations, { gas: 4612388 });
};
@agrcrobles
agrcrobles / package.json
Created Jan 22, 2018 — forked from pelle/package.json
Uport Connect - React Native example
View package.json
{
"name": "exampleapp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node_modules/react-native/packager/packager.sh --nonPersistent",
"test": "jest",
"build-uport-connect": "node_modules/.bin/derequire node_modules/uport-connect/dist/uport-connect.js >src/vendor/uport-connect.js"
},
"dependencies": {
You can’t perform that action at this time.