#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
| package MyApp::Schema::Result::Artist; | |
| use warnings; | |
| use strict; | |
| use base qw( DBIx::Class::Core ); | |
| __PACKAGE__->table('artist'); | |
| __PACKAGE__->add_columns( |
| #!/bin/bash | |
| PSQL="/usr/bin/psql" | |
| PGUSER="dpaikkos" | |
| DBNAME="import" | |
| DUMP="sirius-latest.pg" | |
| REMOTE="proxima" | |
| rm -f $DUMP | |
| /usr/bin/rsync -La --progress sirius:/data/pg_dumps/latest.pg ${DUMP} |
| #!/bin/bash | |
| PSQL="/usr/bin/psql" | |
| PGUSER="dpaikkos" | |
| DBNAME="for_import" | |
| DUMP="www-latest.pg" | |
| REMOTE="proxima" | |
| echo "Fetch $DUMP from $REMOTE" | |
| rm -f $DUMP |
| [alias] | |
| co = checkout | |
| di = diff | |
| st = status | |
| sh = show | |
| ci = commit | |
| br = branch | |
| cp = cherry-pick | |
| last = show -1 HEAD | |
| unstage = reset HEAD -- |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | |
| @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. | |
| @prefix xml: <http://www.w3.org/XML/1998/namespace>. | |
| @prefix skos: <http://www.w3.org/2004/02/skos/core#>. | |
| @prefix dcam: <http://purl.org/dc/dcam/>. | |
| @prefix dcterms: <http://purl.org/dc/terms/>. | |
| <http://purl.org/dc/dcmitype/> dcterms:modified "2010-10-11"; | |
| dcterms:publisher <http://purl.org/dc/aboutdcmi#DCMI>; |
| .sidebar_newsletter_sign_up, | |
| .sidebar_subscribe, | |
| .sign-up-form-single, | |
| .signup-form--header, | |
| .signup-with-checkboxes, | |
| .skinny-sign-up, | |
| .slidedown-newsletter, | |
| .small-newsletter, | |
| .social-link-mail, | |
| .social_newsletter_box, |
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
| package Maybe; | |
| use Moo::Role; | |
| has value => (is => 'ro', required => 1); | |
| use overload | |
| '>>='=> \&bind; | |
| sub bind { |
| #!/bin/bash | |
| hostname=$1 | |
| command=`basename $0` | |
| if [ -z "${hostname}" ]; then | |
| echo Usage: ${command} hostname | |
| exit 1 | |
| fi |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000