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 / 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>
@akobashikawa
akobashikawa / ejemplo-promises-user-centers-services.js
Last active Apr 3, 2018
Ejemplo promises user, centers, services
View ejemplo-promises-user-centers-services.js
const timeout = function () {
return new Promise(function (resolve, reject) {
setTimeout(function (name) {
resolve();
}, Math.random() * 3000);
});
};
const getUser = function (url, data) {
View Program.cs
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Your name?");
string name = Console.ReadLine();
@akobashikawa
akobashikawa / ping-test-ifchanges-host.js
Last active Dec 13, 2017
Internet test with ping in NodeJS
View ping-test-ifchanges-host.js
const ping = require('ping');
let host = '8.8.8.8';
if (process.argv[2]) {
host = process.argv[2];
} else {
console.log("Syntax: \nnode ping-test-ifchanges-host host");
}
View popbox code
<script src="http://dev.videocheckout.com:/js/embed-script-popbox.js"></script>
<script src="http://dev.videocheckout.com:/js/embed-script.js"></script>
<style>@import "http://dev.videocheckout.com:/css/embed-script-popbox.css"</style>
<div class="vco-modal">
<div id="vco-modal-58261014a1dda9000432e215" class="vco-modalbg" data-id="58261014a1dda9000432e215" >
<div class="vco-dialog">
<a id="vco-close-58261014a1dda9000432e215" href="#close" title="Close" class="vco-close" data-id="58261014a1dda9000432e215">&#10006;</a>
</div>
</div>
<a href="#vco-modal-58261014a1dda9000432e215" class="vco-button" data-url="https://dev-vcvideoplayer.herokuapp.com/58261014a1dda9000432e215l=false&embed=true" data-id="58261014a1dda9000432e215">
View bootstrap demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap Starter</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<style>
View footer-position-with-flexbox.markdown
@akobashikawa
akobashikawa / ShowPass
Created Mar 28, 2016
Bookmark to show passwords in current page
View ShowPass
javascript:%5B%5D.forEach.call(%20document.querySelectorAll(%27input%5Btype%3D%5C%27password%5C%27%5D%27),%20function(v,i)%7Bv.setAttribute(%27type%27,%20%27text%27)%3B%7D%20)%3B
@akobashikawa
akobashikawa / tipodecambio.html
Created Aug 17, 2015
Obteniendo el tipo de cambio desde la web de "El peruano"
View tipodecambio.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tipo de Cambio</title>
</head>
<body>
<h1>Tipo de Cambio</h1>
<p id="result">Cargando...</p>
<p><small>Tomado de: http://www.elperuano.com.pe/edicion/</small></p>
You can’t perform that action at this time.