I hereby claim:
- I am tenpn on github.
- I am tenpn (https://keybase.io/tenpn) on keybase.
- I have a public key whose fingerprint is 17CD 731F C8B6 3FB1 A36E E0D1 757A DD2D 39AC 1E84
To claim this, I am signing this object:
git branch -r --merged develop | %{$_.trim()} | select @{n='Branch';e={$_}},@{n='LastCommit';e={[datetime](git log $_ -1 --pretty=format:%ci)}} | sort LastCommit |
git branch -r --merged develop | %{$_ + " : " + (git log $_.Trim() -1 --pretty=format:%ct)} | sort {$_.Split(':')[1]} |
for branch in `git branch -r --merged develop`; do | |
echo $branch `git log $branch -1 --pretty=format:%ct` | |
done | sort -k2 |
public static float MapValue(float inVal, float inFrom, float inTo, float outFrom, float outTo) | |
{ | |
float inScale = (inFrom != inTo) | |
? ( ( inVal - inFrom ) / ( inTo - inFrom ) ) | |
: 0.0f; | |
float outVal = outFrom + ( inScale * ( outTo - outFrom ) ); | |
outVal = (outFrom < outTo ) | |
? SomeClampFunction( outVal, outFrom, outTo ) | |
: SomeClampFunction( outVal, outTo, outFrom ); | |
return outVal; |
#include <algorithm> | |
#include <vector> | |
#include <stdio> | |
int main() | |
{ | |
typedef std::pair<int,int> Pos; | |
typedef std::pair<Pos, unsigned char> PosChar; | |
typedef vector<PosChar> list; |
param([int]$changelistNum, [string]$destBranch) | |
$regex = "^\s+//[^/]+(/\S+)\s" | |
$sourceFiles = p4 change -o $changelistNum | select-string $regex | %{$_.matches[0]} | |
$sourceFiles | %{ | |
$sourcePath = (p4 where $_.groups[0].value.trim()).split(' ')[2]; | |
$destPath = (p4 where ($destBranch + $_.groups[1].value)).split(' ')[2]; | |
p4 edit $destPath; | |
copy $sourcePath $destPath; |
I hereby claim:
To claim this, I am signing this object:
// ****************************************************************************************** | |
// | |
// DecisionFlex, (c) Andrew Fray 2015 | |
// | |
// ****************************************************************************************** | |
using UnityEngine; | |
using System; | |
namespace TenPN.DecisionFlex | |
{ |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
cinst unity | |
cinst steam | |
cinst emacs | |
cinst googlechrome | |
cinst git | |
cinst dropbox |