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
sed -e 's/\"True\"/\"1\"/g' \ | |
-e 's/\"False\"/\"0\"/g' < /path/to/source.txt > /path/to/result.txt |
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
WITH SourceData AS | |
( | |
SELECT | |
[MyColumn] AS ID, -- 1. The column containing the sequence | |
RowNum = ROW_NUMBER() OVER (ORDER BY [MyColumn]) | |
FROM | |
dbo.[MyTable] -- 2. The table containing the column | |
), | |
Ranked AS | |
( |
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
import glob, os, sys | |
import pyexiv2 | |
import flickrapi | |
import subprocess | |
import flickrapi | |
import webbrowser | |
class MyFlickr: | |
def __init__(self, api_key, api_secret, flickr_userid): | |
self.flickr = self.connect(api_key, api_secret) |
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
<script src="tabletop.js"></script> | |
<script type="text/javascript"> | |
window.onload = function() { | |
init() | |
}; | |
var public_spreadsheet_url = 'https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AmYzu_s7QHsmdDNZUzRlYldnWTZCLXdrMXlYQzVxSFE&output=html'; | |
function init() { | |
Tabletop.init( { |