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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://fb.me/react-with-addons-15.1.0.js"></script> | |
<script src="https://fb.me/react-dom-15.1.0.js"></script> | |
</head> | |
<body> |
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 { Component } from '@angular/core'; | |
import { ActivatedRoute } from '@angular/router'; | |
import { HeroesService } from '../services/heroes.service'; | |
@Component({ | |
selector: 'app-heroe', | |
templateUrl: './heroe.component.html' | |
}) | |
export class HeroeComponent { | |
heroe: any = { |
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
times in msec | |
clock self+sourced self: sourced script | |
clock elapsed: other lines | |
000.014 000.014: --- NVIM STARTING --- | |
000.187 000.173: locale set | |
001.880 001.693: inits 1 | |
001.888 000.008: window checked | |
002.014 000.126: parsing arguments | |
002.016 000.002: expanding arguments |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
Enabled minor modes: Anzu Async-Bytecomp-Package Auto-Composition | |
Auto-Compression Auto-Encryption Auto-Highlight-Symbol Bug-Reference-Prog | |
Clean-Aindent Column-Number Company Cursor-Sensor Diff-Auto-Refine Editorconfig | |
Electric-Indent Eval-Sexp-Fu-Flash Evil Evil-Escape Evil-Local Eyebrowse | |
File-Name-Shadow Flycheck Flycheck-Pos-Tip Font-Lock Git-Gutter+ Global-Anzu | |
Global-Auto-Revert Global-Eldoc Global-Flycheck Global-Font-Lock | |
Global-Git-Commit Global-Git-Gutter+ Global-Hl-Line Global-Page-Break-Lines | |
Global-Spacemacs-Leader-Override Global-Undo-Tree Global-Vi-Tilde-Fringe | |
Goto-Address-Prog Helm Helm-Descbinds Helm-Flx Highlight-Numbers | |
Highlight-Parentheses Hl-Todo Hs Ido-Vertical Js2-Imenu-Extras Line-Number Lsp |
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
Debugger entered--Lisp error: (wrong-type-argument lsp--workspace nil) | |
signal(wrong-type-argument (lsp--workspace nil)) | |
company-lsp(prefix) | |
apply(company-lsp prefix) | |
company-call-backend-raw(prefix) | |
apply(company-call-backend-raw prefix) | |
company--force-sync(company-call-backend-raw (prefix) company-lsp) | |
company-call-backend(prefix) | |
company--begin-new() | |
company--perform() |
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
/*Non finished*/ | |
/* | |
function markdownParser(n){ | |
let occurencesOf# = n.split('#'.length-1); | |
// Select the word that is different from # and ' ' | |
let differentWord; | |
switch(occurences){ |
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
;;; packages.el --- Language Server Protocol functions File for Spacemacs | |
;; | |
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors | |
;; | |
;; Author: Fangrui Song <[email protected]> | |
;; URL: https://github.com/syl20bnr/spacemacs | |
;; | |
;; This file is not part of GNU Emacs. | |
;; | |
;;; License: GPLv3 |
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
;;; packages.el --- Language Server Protocol packages File for Spacemacs | |
;; | |
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors | |
;; | |
;; Author: Fangrui Song <[email protected]> | |
;; URL: https://github.com/syl20bnr/spacemacs | |
;;;;; packages.el --- Language Server Protocol packages File for Spacemacs | |
;; | |
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors | |
;; |
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
function markupExercise(n) { | |
// Count the number of # occurrences in the file | |
let occurrences = n.split('#').length - 1; | |
// Get the different word | |
let arrayOfN = n.split(' '); | |
let differentWord = ''; | |
for (let element of arrayOfN) { | |
if (element !== '#') { |
OlderNewer