Skip to content

Instantly share code, notes, and snippets.

@Jcalan8907
Jcalan8907 / all-angular-material-components-imports.txt
Created September 16, 2019 17:56 — forked from pimatco/all-angular-material-components-imports.txt
All Angular Material Components Imports from app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
//Angular Material Components
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {MatCheckboxModule} from '@angular/material';
import {MatButtonModule} from '@angular/material';
@Jcalan8907
Jcalan8907 / index.html
Created July 4, 2019 20:22 — forked from lossendae/index.html
Dynamic (single level) menu for Angular ui-router
<!DOCTYPE html>
<html ng-app>
<head>
<title>Example</title>
</head>
<body>
<nav class="main-nav" data-main-menu data-root="index"></nav>
<script type="text/javascript" src="angular.js"></script>
//Set the location of the user action
customUserAction.set_location('CommandUI.Ribbon.ListView');
//Add the properties for the custom action
var userActionExtension = '<CommandUIExtension xmlns="http://schemas.microsoft.com/sharepoint/">' +
'<CommandUIDefinitions>' +
'<CommandUIDefinition Location="Ribbon.List.CustomizeList.Controls._children">'+
'<Button Id="Ribbon.Documents.New.RibbonTest" '+
'Command="Notify" '+
'Sequence="0" '+ 'Image16by16="/_layouts/images/NoteBoard_16x16.png" '+ 'Image32by32="/_layouts/images/NoteBoard_32x32.png" '+
@Jcalan8907
Jcalan8907 / index.html
Created January 27, 2019 19:08 — forked from dnprock/index.html
World Map
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 960px;
height: 500px;
position: relative;
}
@Jcalan8907
Jcalan8907 / .block
Created October 27, 2018 23:37
fresh block
license: mit
@Jcalan8907
Jcalan8907 / .block
Created October 27, 2018 23:36
a complete globe
license: mit
@Jcalan8907
Jcalan8907 / .block
Last active October 27, 2018 23:36
a complete globe
license: mit
@Jcalan8907
Jcalan8907 / .block
Created October 27, 2018 23:36
fresh block
license: mit
<!DOCTYPE html>
<meta name="robots" content="noindex">
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->