[CentralOH] 2017-09-28 道場 Scribbles 落書/惡文? recursive prime search; watching refactoring; coming events

Joe Shaw joe at joeshaw.org
Tue Oct 3 14:59:03 EDT 2017


Oooh, sharing .gitconfig aliases is my favorite.  Mine:

[alias]
        find = !sh -c 'git ls-files | grep --color=auto -i "$@" | less
-FRSX' -
        fixup = "!f() { TARGET=$(git rev-parse "$1"); git commit
--fixup=$TARGET ${@:2} && EDITOR=true git rebase -i --autostash
--autosquash $TARGET^; }; f"
        squash = "!f() { TARGET=$(git rev-parse "$1"); git commit
--squash=$TARGET ${@:2} && git rebase -i --autostash --autosquash $TARGET^;
}; f"
        ri = rebase --interactive --autosquash --autostash
        lt = log --graph --pretty=changes
        ll = log --numstat --pretty=changes
        ds = diff --staged
        dw = diff --word-diff
        ego = shortlog -s -n --no-merges
        pr = pull-request
        rbs = !git for-each-ref --sort=committerdate
--format='%(refname:short) * %(authorname) * %(committerdate:relative)'
refs/remotes/ | column -t -s '*'
        undo = reset HEAD^
        fpr = "!f() { git fetch origin pull/$1/head:pr-$1; git checkout
pr-$1; }; f"
        append = commit --amend --no-edit
        reword = commit --amend --reedit-message HEAD
        reauthor = commit --amend --no-edit --reset-author

[pretty]
        changes = format:%Cred%h%Creset -%C(yellow)%d%Creset %s
%Cgreen(%cr) %C(bold blue)<%an>%Creset

Joe


On Fri, Sep 29, 2017 at 5:23 PM, <jep200404 at columbus.rr.com> wrote:

> https://github.com/joseph-albrecht/Project-Euler
> https://github.com/joseph-albrecht/Project-Euler/blob/
> master/Problem%203%20-%20Largest%20Prime%20Factor.ipynb
>
> doj at sbc:~$ cat .gitconfig
> ...
>
> [alias]
>         co = checkout
>         ci = commit
>         st = status
>         br = branch
>         hist = log --pretty=format:\"%h %ad %s%d [%an]%n%P parents%n%T
> tree%n\" --graph --date=iso
>         hist = log --pretty=format:\"%h %ad %s%d [%an]%n\" --graph
> --date=short
>         hist = log --pretty=format:\"%h %ad %cd %s%d [%an]%n\" --graph
> --date=iso-local
>         hist = log --pretty=format:\"%h %ad %s%d [%an]\" --graph
> --date=iso-local
>         hist = log --pretty=format:\"%h %ad %s%d [%an]\" --graph --date=raw
>         hist = log --pretty=format:\"%h %ad %cd %s%d [%an]\" --graph
> --date=format-local:'%Y-%m-%d %H:%M:%S'
>         hist = log --pretty=format:\"%h %ad %s%d [%an]\" --graph
> --date=format-local:'%Y-%m-%d %H:%M:%S'
>         type = cat-file -t
>         dump = cat-file -p
>         df = diff --color
>         dw = diff --color --word-diff
>         dm = difftool -t meld
>         dy = difftool -t meld -y
> doj at sbc:~$
>
> git clone https://github.com/james-prior/kraftur-math-game.git
> cd kraftur-math-game
> git co jep-dev
> git hist --color=always | grep --color=always '([^)].*)\|$'
> git hist | tac | awk 'NR > 1 {print $2}' | while read h; do git difftool
> -t meld -y "$h"^ "$h" simpleMathGame.py;done
>
> recent notebooks: (not all are posted yet)
>
>     http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/
> master/20170927-dojo-qtconsole-not-happy.ipynb
>     http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/
> master/20170928-dojo-iterating-over-dictionary-gets-keys.ipynb
>     http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/
> master/20170928-dojo-iter-sentinel-else.ipynb
>     http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/
> master/20170928-dojo-refactoring-kraftur-math-game.ipynb
>     http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/
> master/20170928-dojo-references-map-zip_longest-fstrings.ipynb
>
> wp:The Unix Programming Environment
>
> wp: prefix means Wikipedia
> To get good answers, consider following the advice in the links below.
> http://catb.org/~esr/faqs/smart-questions.html
> http://web.archive.org/web/20090627155454/www.greenend.
> org.uk/rjk/2000/06/14/quoting.html
>
> V. Anton Spraul's Think Like a Programmer, Python Edition
> http://www.linuxjournal.com/content/v-anton-sprauls-think-
> programmer-python-edition
>
> Open source-based business lessons from a seasoned CEO
> https://opensource.com/article/17/9/qa-evan-powell
>
> http://thefaradayproject.com/concept/
>
> xdpyinfo | less
>
> Facebook Relents on React.js License Issue
> http://windowsitpro.com/open-source/facebook-relents-reactjs-license-issue
>
> autonomous car uses Python
>
>     Donkey Car
>     http://www.donkeycar.com/
>
>     Joint Meetup with VR Columbus: VR demo and robotics racing in the works
>     https://www.meetup.com/AutonomyHub/events/243521906/
>
> Ohio Linuxfest 2017
> 2017-09-29 to 2017-09-30
>
> Columbus Code Camp
> 2017-10-14
> http://columbuscodecamp.com/
>
> DevOps Days
> https://www.devopsdays.org/events/2017-ohio/
> Wednesday, Nov 8, 2017 - Thursday, Nov 9, 2017
> The Bluestone
>
> Machine Vision with Python
>     openmv (open machine vision)
>     https://openmv.io/
>     https://github.com/openmv/openmv
>     (opencv is too slow)
>
> What are the 7 stages of becoming a Python programmer?
> The 7 stages of becoming a Go programmer
> https://opensource.com/article/17/9/seven-stages-becoming-go-programmer
>
> Microsoft is Doing to ‘Open Source’ (OSI) What it Did to W3C
> http://techrights.org/2017/09/28/osi-and-microsoft/
>
> https://www.reddit.com/r/dailyprogrammer/comments/
> 6zvjre/20170913_challenge_331_intermediate_sum_of_digits/
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20171003/afd02061/attachment.html>


More information about the CentralOH mailing list