Treat git log as a book, exec git next or git prev to checkout the next or the previous commit.
Please check hutusi/git-paging for updates.
| /** | |
| * Generate Comments JSON Data | |
| */ | |
| const https = require('https'); | |
| const fs = require('fs'); | |
| const github = { | |
| client_id: '<your-client-id>', | |
| client_secret: '<your-client-secret>', | |
| repo: '<your-github-repo>', |
Treat git log as a book, exec git next or git prev to checkout the next or the previous commit.
Please check hutusi/git-paging for updates.
| # Sort a list of dictionary objects by a key - case sensitive | |
| from operator import itemgetter | |
| mylist = sorted(mylist, key=itemgetter('name')) | |
| # Sort a list of dictionary objects by a key - case insensitive | |
| mylist = sorted(mylist, key=lambda k: k['name'].lower()) |