Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am keloran on github.
  • I am keloran (https://keybase.io/keloran) on keybase.
  • I have a public key ASCBzdPek4-q81ytOexhiH4S47xG0dPs0EnZHLIA47-aMQo

To claim this, I am signing this object:

FROM alpine
ARG serviceName
RUN apk update
RUN apk upgrade
RUN apk add ca-certificates && update-ca-certificates
RUN apk add --update tzdata
RUN apk add curl
RUN rm -rf /var/cache/apk/*
# Set TimeZone
### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
build/
DerivedData
#include "./Markov.hpp"
namespace NordicArts {
namespace GameNS {
Markov::Markov() {
init();
}
Markov::Markov(NordicOS::Logger *pLogger) : m_pLogger(pLogger) {
m_bDebug = true;
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@Keloran
Keloran / CMakeLists.txt
Last active August 29, 2015 14:05
Cant find module
# CMake Version
cmake_minimum_required(VERSION 2.8)
# Project Name
project(Markov)
# Module Finder Path
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/../../../../CMakeModules/")
message(STATUS ${CMAKE_MODULE_PATH})
@Keloran
Keloran / cmake
Last active August 29, 2015 14:04
the cpp will include the file, the hpp will fail
# GLM
find_package(GLM REQUIRED)
include_directories(${GLM_INCLUDE_DIRS})
link_directories(${GLM_LIBRARY_DIRS})
add_definitions(${GLM_DEFINITIONS})
if (NOT GLM_FOUND)
message(ERROR "GLM Not Found")
endif(NOT GLM_FOUND)
Carprk::Application.routes.draw do
root :to => "home#index"
devise_for :users, :controllers => {:registrations => "registrations"}
resources :users
# Get Routes
get '/privacy' => 'privacy#index'
get '/careers' => 'careers#index'
get '/faq' => 'faq#index'
get '/terms' => 'terms#index'
@Keloran
Keloran / book_controller.rb
Created June 4, 2014 08:15
for some reason sentParams doesn't seem to be usable as a variable
class BookController < ApplicationController
def chooseCarpark
@sentParams = "work ffs"
end
end
@Keloran
Keloran / home.js.coffee
Created May 28, 2014 08:30
Select file not included
Uncaught TypeError: undefined is not a function === home.js?body=1:24