- GitHub Staff
- https://jdenn.es
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
# A more valuable git log | |
alias gl='git log --graph --pretty="format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset"' |
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
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:apigee="http://api.apigee.com/wadl/2010/07/" | |
xmlns="http://wadl.dev.java.net/2009/02" | |
xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd"> | |
<resources base="https://api.createsend.com/api/v3"> | |
<resource path="clients.{format}"> | |
<param name="format" type="xsd:string" style="template" required="true" default="json"> | |
<option value="json" mediaType="application/json"/> |
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
.DS_Store | |
*.pyc | |
web | |
feedparser.py | |
sgmllib3.py |
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
The MIT License (MIT) | |
Copyright (c) James Dennes | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
# Automatically download the http://www.ivyleague.com.au/ playlist | |
require 'rexml/document' | |
`wget http://www.ivyleague.com.au/medias/audioplayer/data.xml` | |
file = File.open('data.xml', 'r') | |
doc = REXML::Document.new(file.read) | |
files = [] | |
doc.elements.each('songs/song') do |s| | |
files << "http://www.ivyleague.com.au#{s.attributes["url"]}" |
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
# Automatically download the http://www.riceisnice.net playlist | |
require 'rexml/document' | |
`wget http://www.riceisnice.net/player/playlist.xml` | |
file = File.open('playlist.xml', 'r') | |
doc = REXML::Document.new(file.read) | |
files = [] | |
doc.elements.each('playlist/item/path') do |p| | |
files << p.text |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<style type="text/css"> | |
span.label,span.spacer,span.multiple span {width:120px;float:left;} | |
span.multiple {float:left;} | |
span.button {padding-left:120px;} | |
div.clear {clear:both;padding-top:5px;} | |
</style> |
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
GNU Make 3.81 | |
Copyright (C) 2006 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. | |
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A | |
PARTICULAR PURPOSE. | |
This program built for i386-apple-darwin10.0 | |
Reading makefiles... | |
Updating goal targets.... | |
File `all' does not exist. |
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
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for program gcc or cc : /usr/bin/gcc | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for gcc : ok | |
Checking for library dl : yes |
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
In the case of cygwin producing an error of the form "*** fatal error - unable to remap ...": | |
1. Make sure rebase package is installed (use cygwin setup.exe utility) | |
2. Kill all cygwin processes | |
3. Run cmd.exe | |
4. cd C:\cygwin\bin\ | |
5. .\ash.exe | |
6. ./rebaseall |