As configured in my dotfiles.
start new:
tmux
start new with session name:
| package main | |
| import ( | |
| "net/http" | |
| "fmt" | |
| ) | |
| func main() { | |
| http.Handle("/string", String("I'm a frayed knot.")) | |
| http.Handle("/struct", &Struct{"Hello", ":", "Gophers!"}) |
| git shortlog -s -n --after "48 hours ago" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| cat temp.txt | ruby -nae 'BEGIN { x = 0 }; puts "#{ x += $F[0].to_f }"' |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
| // Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/ | |
| // See also: http://www.paulund.co.uk/change-url-of-git-repository | |
| // These are steps for moving a git repo from Bitbucket to TFS | |
| // 1. add your SSH keys to the TFS project (google for a guide) | |
| // 2. follow the steps below | |
| git clone git@bitbucket.org:<bitbucket_user>/<repo_name>.git | |
| cd repo_name | |
| git remote rename origin bitbucket |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Tue Aug 8 12:33:35 2017 | |
| @author: paul | |
| """ | |
| from math import * | |
| from pylab import plot,show,suptitle,xlabel,ylabel,scatter,grid,legend,title,figure,ylim,xlim,subplots |
| find . -maxdepth 1 -exec echo {} \; -exec sh -c "find {} | wc -l " \; |
| tf history /collection:http://tfs.molina.mhc:8080/tfs/HSS/ $/HSS /recursive /v:D11/09/2017~D11/09/2018 /noprompt | |
| Changeset User Date Comment | |
| --------- ----------------- ---------- | |
| 212041 Pawar, Ganeshrao 11/9/2018 CPL Vendor | |
| 212040 TFSSERVICE 11/9/2018 Updating file | |
| 212039 TFSSERVICE 11/9/2018 Updating file | |
| 212038 TFSSERVICE 11/9/2018 Updating file | |
| 212037 Kottam, Archana 11/9/2018 added checkpoint to avoid transaction log full error |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "os" | |
| ) |