Skip to content

Instantly share code, notes, and snippets.

Avatar

Mickael Daniel mklabs

View GitHub Profile
View YourGame.Build.cs
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class ARPG : ModuleRules
{
public ARPG(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
View .git-prompt.sh
. /etc/bash_completion.d/git-prompt
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch
export PS1='\[$(tput bold)\]\[\033[38;5;10m\]\u@\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]$(__git_ps1 " (%s)")\\$\[$(tput sgr0)\] \[$(tput sgr0)\]'
View draft
Rebirth & Rework
---
- rewrite from scratch
- ES6 / eslint standard config
- ES7 stuff, decorators, di (experimental)
- make / npm run scripts as default built tool
- popular build tools adapters (grunt, gulp, etc.)
- "progressive" / "immersive" cli
@mklabs
mklabs / fisherman.nvm.fish
Last active Jun 6, 2016
fisherman/nvm without node / npm before hand
View fisherman.nvm.fish
git clone https://github.com/edc/bass.git ~/.config/fish/bass
git clone https://github.com/fisherman/nvm.git ~/.config/fish/nvm
cp ~/.config/fish/{bass,nvm}/*.fish ~/.config/fish/
@mklabs
mklabs / index.md
Created Jun 1, 2016
component / browserify bundles
View index.md
@mklabs
mklabs / Makefile
Last active Aug 26, 2017
node makefile - babel / eslint / mocha / watch
View Makefile
test:
mocha test/
babel:
babel lib/ -d src/
lint:
eslint .
build: babel test lint
@mklabs
mklabs / Gruntfile.js
Last active Dec 10, 2015
A simple example of using yeoman on an express app
View Gruntfile.js
module.exports = function(grunt) {
function noop() {}
grunt.initConfig({
watch: {
reload: {
files: ['public/**', 'views/**'],
tasks: 'reload'
}
@mklabs
mklabs / docs.js
Created Sep 19, 2012
Grunt markdown task, compiling down to html, triggering reload
View docs.js
var path = require('path');
var hogan = require('hogan');
var marked = require('marked');
module.exports = function(grunt) {
// Basic grunt task to use along watch task, possibly the reload task
// of yeoman server. Designed to work with any given webserver, as
// long as the LiveReload extension for your favorite browser is used
// (http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions-).
@mklabs
mklabs / client.js
Created May 23, 2012
node script experiments at driving chrome via ws
View client.js
var nopt = require('nopt'),
parse = require('url').parse,
WebSocket = require('faye-websocket');
//
// All based and derived on: http://www.igvita.com/2012/04/09/driving-google-chrome-via-websocket-api
//
// The remote debugging protocol is... I don't have words right now.
// Other than thanks thanks thanks thanks x10e901920
View install.sh
#!/bin/sh
#
# A word about this shell script:
#
# It must work only on systems with a /bin/bash.
#
# cat readme.md || exit 1
You can’t perform that action at this time.