Skip to content

Instantly share code, notes, and snippets.

Rulo Kobashikawa akobashikawa

Block or report user

Report or block akobashikawa

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
@akobashikawa
akobashikawa / app-con-mailer-ejemplo.js
Last active Jan 7, 2020
Ejemplo uso de mailer en express app
View app-con-mailer-ejemplo.js
const mailer = require('express-mailer');
//..
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');
//...
const GMAIL_USER = process.env.GMAIL_USER;
const GMAIL_PASSWORD = process.env.GMAIL_PASSWORD;
mailer.extend(app, {
from: 'no-reply@aviva.pe',
@akobashikawa
akobashikawa / About.js
Last active Sep 29, 2019
Vue Simple App
View About.js
const About = Vue.component('about', {
data() {
return {
hello: 'Hello About!'
};
},
template: `<div>
<v-card>
<v-card-title>About</v-card-title>
<v-card-text>
@akobashikawa
akobashikawa / html5-vue-router-vuex-vuetify.html
Last active Sep 29, 2019
HTML5 + Vue + Router + Vuex + Vuetify
View html5-vue-router-vuex-vuetify.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<title>HTML5 + Vue + Router + Vuex + Vuetify</title>
View html5-vue-router-vuex.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML5 + Vue + Router + Vuex</title>
</head>
<body>
<div id="app">
View html5-vue-router.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML5 + Vue + Router</title>
</head>
<body>
<div id="app">
View html5-vue.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML5 + Vue</title>
</head>
<body>
<div id="app">
View html5.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML5</title>
</head>
<body>
<h1>HTML5</h1>
@akobashikawa
akobashikawa / d3-manual-pie.html
Created Nov 2, 2018
learning d3 - manual pie
View d3-manual-pie.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Manually Pie</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<style>
View decision-tree.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Decision Tree</title>
</head>
<body>
<ul id="tree"></ul>
View Program.cs
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Your name?");
string name = Console.ReadLine();
You can’t perform that action at this time.