This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###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 [email protected]. | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Search Gandi.net for the cheapest domains | |
// Make sure you have expanded the list in gandi.net search to the end! | |
(() => { | |
const RESULTS = 10; | |
const ROW_SEL = '.ListCellGroup-root_29bXw'; | |
const DOMAIN_SEL = '.FqdnCell-textBreak__elahz'; | |
const PRICE_SMALL = '.Text-align-end_3rH75'; | |
const PRICE_LARGE = '.PriceText-root__lJT6S'; | |
const list = $$(ROW_SEL).map(it => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function git_prompt_info() { | |
# If we are on a folder not tracked by git, get out. | |
# Otherwise, check for hide-info at global and local repository level | |
if ! __git_prompt_git rev-parse --git-dir &> /dev/null \ | |
|| [[ "$(__git_prompt_git config --get oh-my-zsh.hide-info 2>/dev/null)" == 1 ]]; then | |
return 0 | |
fi | |
local ref | |
ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \ |