Skip to content

Instantly share code, notes, and snippets.

View NaridaL's full-sized avatar

Adrian Leonhard NaridaL

  • Microsoft
  • Dublin, Ireland
View GitHub Profile
import fs = require('fs');
import ts = require('typescript');
// Create the language service host to allow the LS to communicate with the host
const servicesHost: ts.LanguageServiceHost = {
getScriptFileNames: () => rootFileNames,
getScriptVersion: (fileName) => files[fileName] && files[fileName].version.toString(),
getScriptSnapshot: (fileName) => {
if (!fs.existsSync(fileName)) {
return undefined;
var path = require('path');
var webpack = require('webpack');
console.log(path.join(__dirname, 'node_modules/brepts/dist/bundle.js'))
module.exports = {
devtool: 'eval-source-map',
entry: [
'webpack-dev-server/client?http://localhost:2000',
'./src/index'
],
output: {
This file has been truncated, but you can view the full file.
(function(l, i, v, e) { v = l.createElement(i); v.async = 1; v.src = '//' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; e = l.getElementsByTagName(i)[0]; e.parentNode.insertBefore(v, e)})(document, 'script');
var viewer = (function (exports,svgPathdata) {
'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
@NaridaL
NaridaL / aligning-images.md
Last active September 18, 2018 18:26 — forked from DavidWells/aligning-images.md
Guide to aligning images in github readme.md files

Aligning images

s tag sub tag

details tag
s tag ## `left` alignment