View .bash_profile
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
echo adding alias chromecors | |
alias chromecors='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp' | |
# | |
# Install extension in VSCode | |
# https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug | |
# | |
# Set Firefox Developer Editionto support debug mode | |
# | |
# In about:config |
View GPX File example
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
<?xml version="1.0" encoding="UTF-8"?> | |
<gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="Open GPX Tracker for iOS"> | |
<wpt lat="40.762468446233115" lon="-73.99090283852468"> | |
<time>2019-12-06T14:19:25Z</time> | |
<name>09:19:25</name> | |
<desc>Dec 6, 2019 at 09:19:25</desc> | |
</wpt> | |
<wpt lat="40.80559910750484" lon="-73.95810627601767"> | |
<time>2019-12-06T14:19:29Z</time> | |
<name>09:19:29</name> |
View Component.js
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
# Import the tree component | |
import {Tree} from 'untree-react' | |
class MyComponent extends React.Component { | |
constructor() { | |
//initialize the Tree | |
this.state.tree = { | |
name: "Node 1" |
View Date+timeAgo.swift
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
// | |
// Date+timeAgo.swift | |
// OpenGpxTracker | |
// | |
// Created by merlos on 23/09/2018. | |
// | |
// Based on this discussion: https://gist.github.com/minorbug/468790060810e0d29545 | |
// | |
// If future dates are needed https://gist.github.com/jinthagerman/009c85b7bbd0a40dcbba747e89a501bf | |
// |
View topdf.js
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
/** | |
* Simple script to create a PDF from a URL. | |
* Usage: | |
* $ phantomjs topdf.js | |
* | |
*/ | |
var page = require('webpage').create(); |