Skip to content

Instantly share code, notes, and snippets.

View aarthykc's full-sized avatar

Aarthy Chandrasekhar aarthykc

View GitHub Profile
@aarthykc
aarthykc / repos.md
Last active June 18, 2024 04:31
Other repositories I've contributed to
@aarthykc
aarthykc / gist:ff2dbac04cd1a57c9480a9ffc53adbfc
Created September 8, 2016 14:00 — forked from jedi4ever/gist:7677d62f1414c28a1a8c
Some notes on travisci remote debugging via ssh or screenshot or remote desktop of Mac VM builds
Some notes on remote debugging mac builds on Travisci. It's hard to tell when something hangs what the cause it. Trial and error via commits is tedious. And on Mac , sometimes it's the gui asking for input. So I worked my around to get the access I needed for faster debugging a build.
#################################################
# Enable remote ssh access to travisci build for debugging
#################################################
# Add a key so we can login to travisci vm
- cat ssh/travisci.pub >> ~/.ssh/authorized_keys
- chmod 600 ssh/travisci
# Install netcat

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@aarthykc
aarthykc / example.md
Created August 8, 2016 07:24 — forked from ericclemmons/example.md
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 <summary>Summary Goes Here</summary>
@aarthykc
aarthykc / test.geojson
Created March 19, 2016 18:13
geojason
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aarthykc
aarthykc / josm.md
Created December 18, 2015 06:34
Improving JOSM configuration plugin

Objective

The plugin is an update of the Task configuration plugin which I had written a diary post on. When I first created the JOSM configuration plugin it was with the intention of allowing users to directly load the configuration file by providing the gist link. It then occured to me that it would probably be better to save the configuration files incase the user wishes to revisit the task. In order to do that I decided to automatically load a set of task configurations to a list which would be displayed once the plugin loads.This allows the user to load the configurations as many times as he/she wants and additionally switch between different configurations. A new configuration can be addedhere. To create a custom confgiuration the user can use this JSON structure:

  "project": {
    "type": "task",
    "name": " ",
{
"project": {
"type": "task",
"name": "Turn Lanes",
"description": "Mapping turn lanes from satellite imagery",
"doc_url": "https://github.com/mapbox/mapping/issues/144",
"changeset": {
"source" : " ",
"comment": "Add missing turn lanes from satellite imagery https://github.com/mapbox/mapping/issues/144"
},
@aarthykc
aarthykc / taskList.json
Last active November 30, 2015 16:53
list of tasks
{
"tasks" : [
{
"name" : "Japan" ,
"URL" : "https://api.github.com/gists/c02c7c8817084a826110"
},
{
"name" : "Bangalore" ,
"URL" : "https://api.github.com/gists/c02c7c8817084a826110"
}
@aarthykc
aarthykc / todo.md
Created November 30, 2015 16:49
things to do
  • Create a JSON of tasks
  • Call them from main and populate the menu
  • for each task load the URL.
@aarthykc
aarthykc / taskingmanager.json
Last active December 8, 2015 10:39
JSON for tasking manager
{"task":
{ "layers": [
{"url": "http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg",
"name": "Japan GSI layer"},
{ "url": "http://www.bing.com/maps/",
"name": "Bing"}
],
"filters": "highway=motorway|trunk|primary|secondary|*link|motorway_link",
"comment": "#japan-road-improvement-45 http://tasks.openstreetmap.in/project/45 Aligning existing highways to GSI orthorectified imagery",
"source": "GSImaps/ort",