Skip to content

Instantly share code, notes, and snippets.

View wamoyo's full-sized avatar
😜
Codin' on

Costa Michailidis wamoyo

😜
Codin' on
View GitHub Profile
@wamoyo
wamoyo / ffmpeg.md
Last active December 22, 2022 18:56 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
<!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" />
!(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?
[user]
email =
name =
[core]
editor = nvim
[merge]
tool = vimdiff
[color]
ui = auto
[alias]
$ 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.
Verifying my Blockstack ID is secured with the address 1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu https://explorer.blockstack.org/address/1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu
// 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 February 13, 2019 22:20
A clickable map of the world
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">
/*
var style = {
base: {
fontFamily: 'Helvetica Neue, Helvetica, Arial, sans-serif',
fontSize: '16px',
lineHeight: '24px'
}
}
var card = elements.create('card', {style: style})

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