- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "Superpool API", | |
"version": "0.1.0", | |
"description": "API for Superpool", | |
"contact": { | |
"name": "Unyte Africa LTD.", | |
"url": "https://ng.unyte.africa", | |
"email": "[email protected]" |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
// main.cpp : Defines the entry point for the console application. | |
// My name: My student id: | |
// ------------------------------------------ | |
// Helpful Notes | |
// | |
// - At any given moment, only two taxis can commute on a bridge simultaneously | |
// due to its two-track structure | |
// - Max. of 4 passengers is allowed on a taxi trip | |
// |
local cmp = require("cmp") | |
local capabalities = vim.lsp.protocol.make_client_capabilities() | |
capabalities = require("cmp_nvim_lsp").default_capabilities(capabalities) | |
local mason = require("mason") | |
local mason_lspconfig = require("mason-lspconfig") | |
cmp.setup({ | |
snippet = { |
--- Utility functions to aid development of other modules | |
--- | |
--- @module utils | |
local M = {} | |
function M.get_file_extension(path) | |
return path:match("^.+(%..+)$") | |
end | |
function M.get_file_name(path) |
--- Defines the bindings for various operations performed by the LSP with combination of | |
--- chords. | |
local map = require('utils').remap | |
local M = {} | |
M.on_attach = function(client, bufnr) | |
client = client | |
buffer = bufnr |
-- This configuration file is licensed under the MIT License | |
-- The user (You) is permitted to modfiy, use or re-distribute the configuration | |
-- file as he/she/they/them/other see pleased. | |
-- | |
-- It would be nice, if you could mention the author. Thanks! | |
-- Global configuration | |
-- | |
-- :h <options> would give you the options |
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this: