Skip to content

Instantly share code, notes, and snippets.

Avatar
🙈
Ahhhh bugs!

Francisco Presencia franciscop

🙈
Ahhhh bugs!
View GitHub Profile
@franciscop
franciscop / trainlines.js
Last active Sep 17, 2021
Japan train lines Mapbox+Leaflet
View trainlines.js
const map = ...;
const accessToken = "...";
// Add train lines (Shinkansen, metro, JR, etc) to Mapbox using LeafLet for a more
// accurate representation of Japan and Tokyo
// Using the layer mapbox.transit-v2 for trains and some custom styles
const trains =
"https://api.mapbox.com/v4/mapbox.transit-v2/{z}/{x}/{y}.vector.pbf?access_token={accessToken}";
const transit_line = (properties, zoom) => {
const isShinkansen = properties.mode === "high_speed_rail";
View app.js
const { app, BrowserWindow } = require("electron");
app.on("ready", () => {
const child = new BrowserWindow({ frame: false });
child.loadURL("https://github.com");
child.once("ready-to-show", () => {
child.show();
});
});
@franciscop
franciscop / FRANCISCO_CLA
Last active May 23, 2017 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
View FRANCISCO_CLA
###FRANCISCO Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Francisco IO LTD or its affiliates (“FRANCISCO”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to FRANCISCO in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact public@francisco.io.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to FRANCISCO a non-exclusiv