Skip to content

Instantly share code, notes, and snippets.

Avatar
😜
Codin' on

Costa Michailidis wamoyo

😜
Codin' on
View GitHub Profile
View about.html
<!DOCTYPE HTML>
<!--
Theory by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
<title>CoPe - Coastlines and People</title>
<meta charset="utf-8" />
View reasonable-people.js
!(function () {
"use strict"
window.addEventListener('load', function (event) {
// What is it we're modeling?
// The end goal is to model economic phenomena. And to 'combine' those models to model higher
// level economic phenomena.
// Modeling a single economic actor and how they make decisions.
// Are people rational or is there something else going on? (Inductive reasoning).
// Perfect information? What happens when you don't have it?
View git tree command and more
[user]
email =
name =
[core]
editor = nvim
[merge]
tool = vimdiff
[color]
ui = auto
[alias]
View installing neovim
$ sudo apt install neovim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ctags vim-scripts
The following NEW packages will be installed:
neovim
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 1,056 kB of archives.
View blockstack
Verifying my Blockstack ID is secured with the address 1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu https://explorer.blockstack.org/address/1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu
View function.js
// on hashchange
window.addEventListener('hashchange', function (event) {
// grab the hash
var hash = location.hash.split('#')[1]
// grab the links with selectable class
var links = document.querySelectorAll('a.selectable')
// loop through the links
for (var i = 0; i < links.length; i++) {
// if the hash matches the href of the link
var href = links[i].href.split('#')[1]
@wamoyo
wamoyo / world-map.html
Created Feb 13, 2019
A clickable map of the world
View world-map.html
This file has been truncated, but you can view the full file.
<!doctype html>
<html lang="en">
<head>
</a>
<meta charset="utf-8">
<title>World Map</title>
<meta name="viewport" content="width=device-width">
<style id="style_css_sheet" type="text/css">
/*
View stripe-styles.js
var style = {
base: {
fontFamily: 'Helvetica Neue, Helvetica, Arial, sans-serif',
fontSize: '16px',
lineHeight: '24px'
}
}
var card = elements.create('card', {style: style})
View git-quick-reference.md

Git Quick Reference

Git is awesome, but a lot of the time, I just need a quick reference for which commands to use in which situations. Here Goes!


Basics

git init

View init.vim
filetype plugin indent on
" Setting up vim plug
call plug#begin('~/.config/nvim/plugged')
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
Plug 'scrooloose/nerdtree'
Plug 'garbas/vim-snipmate'
Plug 'tpope/vim-surround'