This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for a go project | |
# | |
# Author: Jon Eisen | |
# site: joneisen.me | |
# | |
# Targets: | |
# all: Builds the code | |
# build: Builds the code | |
# fmt: Formats the source files | |
# clean: cleans the code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for p6spy:p6spy:jar:2.0-SNAPSHOT | |
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ line 234, column 15 | |
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ p6spy:p6spy-parent:2.0-SNAPSHOT, /home/peterb/all/prg/oss/p6spy_typekpb/pom.xml, line 511, column 15 | |
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ p6spy:p6spy-parent:2.0-SNAPSHOT, /home/peterb/all/prg/oss/p6spy_typekpb/pom.xml, line 530, column 15 | |
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ p6spy:p6spy-parent:2.0-SNAPSHOT, /home/peterb/all/prg/oss/p6spy_typekpb/pom.xml, line 543, column 15 | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for p6spy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet sel -t -m "messages" -m "note" -v "@id" < sample.xml | |
501502 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet sel -t -m "messages" -m "note" -c "from" < sample.xml | |
<from>Jani</from><from>Tove</from> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet sel -C -t -m "messages" -m "note" -v "from" < sample.xml | |
<?xml version="1.0"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exslt="http://exslt.org/common" version="1.0" extension-element-prefixes="exslt"> | |
<xsl:output omit-xml-declaration="yes" indent="no"/> | |
<xsl:template match="/"> | |
<xsl:for-each select="messages"> | |
<xsl:for-each select="note"> | |
<xsl:call-template name="value-of-template"> | |
<xsl:with-param name="select" select="from"/> | |
</xsl:call-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet sel -t -m "messages" -m "note" -v "from" < sample.xml | |
JaniTove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<messages> | |
<note id="501"> | |
<to>Tove</to> | |
<from>Jani</from> | |
<heading>Reminder</heading> | |
<body>Don't forget me this weekend!</body> | |
</note> | |
<note id="502"> | |
<to>Jani</to> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo virt-install --name=Xubuntu_13.04 --ram=512 --vcpus=1 --description 'Xubuntu_13.04' --os-type=linux --disk path=/var/lib/libvirt/images/xubuntu_13.04.img,size=4 --cdrom /home/peterb/all/tmp/install/xubuntu-13.04-desktop-amd64.iso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install galternatives |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notify-send it\'s\ alive! |
NewerOlder