Skip to content

Instantly share code, notes, and snippets.

View danrasmuson's full-sized avatar
🎯

Dan Rasmuson danrasmuson

🎯
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div>Current Annotation</div>
<div id="current-annotation"></div>
This file has been truncated, but you can view the full file.
mkdir -p /usr/app/mapengine_trainer/Zone1-safe; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone1-safe/00360f79fd6e02781457eda48f85da90.png;
mkdir -p /usr/app/mapengine_trainer/Zone10-safe; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone10-safe/00360f79fd6e02781457eda48f85da90.png;
mkdir -p /usr/app/mapengine_trainer/Zone11-safe; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone11-safe/00360f79fd6e02781457eda48f85da90.png;
mkdir -p /usr/app/mapengine_trainer/Zone12-safe; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone12-safe/00360f79fd6e02781457eda48f85da90.png;
mkdir -p /usr/app/mapengine_trainer/Zone13-safe; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone13-safe/00360f79fd6e02781457eda48f85da90.png;
mkdir -p /usr/app/mapengine_trainer/Zone14-threat; cp /all_images/00360f79fd6e02781457eda48f85da90.png /usr/app/mapengine_trainer/Zone14

Codigo is going to send us a json string that represents the methods of an object

{
  "Marker":{
    "getLatLng":{"tunnelFuncId":1378085958112},
    "unproject":{"tunnelFuncId":255555924361.6694},
    "project":{"tunnelFuncId":110443166753.5969},
    "addMarker":{"tunnelFuncId":367293096637.76416}
  }
}
import {Component} from '@angular/core';
@Component({
selector: 'dronedeploy-plugin',
template: `
<h2>
Hello <span class="blue">{{name}}</span>
</h2>
`,
styles: [`
@danrasmuson
danrasmuson / PersistentRouterOutlet.ts
Last active June 21, 2021 06:35 — forked from waeljammal/PersistentRouterOutlet.ts
Angular 2 Persistent Router
import * as hookMod from 'angular2/src/router/lifecycle_annotations';
import * as routerMod from 'angular2/src/router/router';
import {isBlank, isPresent} from 'angular2/src/facade/lang';
import {StringMapWrapper} from 'angular2/src/facade/collection';
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
import {BaseException} from 'angular2/src/facade/exceptions';
import {
ElementRef, DynamicComponentLoader, Directive, Injector, provide, ComponentRef, Attribute
} from 'angular2/core';
import {
git rebase -i HEAD~4
// make sure this doesn't have any spaces
defaults write com.apple.screencapture location /Users/danielrasmuson/Documents/MGMT\ 346/Test2/
// next run
killall SystemUIServer
git mergetool
sudo npm install -g mean-cli
mean init yourNewApp
cd yourNewApp
npm install
// start mongo server
monogd
grunt
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">