Skip to content

Instantly share code, notes, and snippets.

@outro56
outro56 / .gitignore
Created September 21, 2021 00:09 — forked from pdxjohnny/.gitignore
Setting Up k3s for Serverless (knative) on a $5 DigitalOcean Droplet Using k3d
.terraform/
*.pem
*.tf
*.tfstate
*.yaml
*.backup
istio-*/
cert-manager-*/
*.swp
env
#ifndef CMUOH_MAKE_VECTOR_HPP_
#define CMUOH_MAKE_VECTOR_HPP_
#include "make_vector_details.hpp"
namespace cmuoh {
template <typename T = void, typename... Args,
typename V = detail::vec_type_helper_t<T, Args...>,
typename std::enable_if<
@outro56
outro56 / version1.lua
Last active August 3, 2018 04:12 — forked from randrews/hoc4.lua
Toy calculator in Lua, version 4 - http://www.playwithlua.com/?p=73#more-73
function eval(num1, operator, num2)
if operator == '+' then
return num1 + num2
elseif operator == '-' then
return num1 - num2
elseif operator == '*' then
return num1 * num2
elseif operator == '/' then
return num1 / num2
else
@outro56
outro56 / .profile
Last active August 29, 2015 14:21 — forked from tamlyn/.profile
Terminal setup for windows using Console2 (http://sourceforge.net/projects/console/)
# always list in long format
alias ls='ls -la --color'
alias clear=cls
# set dynamic prompt and window/tab title
PS1='\[\e]0;${PWD##*/}\a\]\n' # set window title
#PS1="$PS1"'\u@\h ' # user@host<space>
PS1="$PS1"'\[\033[32m\]' # change color
PS1="$PS1"'\w' # current working directory
if test -z "$WINELOADERNOEXEC"
@outro56
outro56 / MiniOrm.cs
Last active September 29, 2021 06:14 — forked from SamSaffron/gist:893878
Mini C# Orm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Reflection.Emit;
using System.Collections.Concurrent;
using System.Data;
using System.Reflection;