Friday, November 9, 2012

Get youtube video info from id

https://gdata.youtube.com/feeds/api/videos/jjsUDlwhqsc?v=2

the jjsUD... is the id of the video

Piping the output of a log file into another program

to "follow" a log file, use:

tail -F <filename>

the output can be put into a fifo named pipe by doing:

mkfifo /tmp/nadafifo
tail -F access.log > /tmp/nadafifo&

Now use can do whatever you want with /tmp/nadafifo

e.g.
cat /tmp/nadafifo

Thursday, August 16, 2012

Tuesday, July 24, 2012

http://www.youtube.com/watch?v=4qlYGX0H6Ec&feature=youtube_gdata_player

Nice articulation of challenge of independent learning in the classroom

https://www.youtube.com/watch?v=-_UcDhzjOio&feature=youtube_gdata_player

Bozeman biology example

Thursday, March 22, 2012

Getting started with Sketchup - Part 4 - building a table

Getting started with Sketchup - Part 4 - YouTube:

'via Blog this'

SketchUpVideo - creating a table

SketchUpVideo - YouTube:

'via Blog this'

Google SketchUp New Users 4: Create a Chair - YouTube

Google SketchUp New Users 4: Create a Chair - YouTube:

'via Blog this'

Rhinoceros horn with sketchup (tutorial) - YouTube

Rhinoceros horn with sketchup (tutorial) - YouTube:

'via Blog this'

Sketchup Tutorial - Drawing Curved Surfaces - YouTube

Sketchup Tutorial - Drawing Curved Surfaces - YouTube:

'via Blog this'

Sketchup "CREATE" 3d text (speed modeling) - YouTube

Sketchup "CREATE" 3d text (speed modeling) - YouTube:

'via Blog this'

Google Sketchup Tutorial - Creating Various Shapes - YouTube

Google Sketchup Tutorial - Creating Various Shapes - YouTube:

'via Blog this'

Creating a Present | Blender Cookie

Creating a Present | Blender Cookie:

'via Blog this'

Monday, January 23, 2012

Problems enabling SSL on AD - Active Directory

Problems enabling SSL on AD - Active Directory: "I've found that if I clean out the Local Computer\Personal store and the
Local Computer\Certificate Enrollment Requests store, and then REBOOT
THE AD machine, and then go through the procedure in the MS KB article,
that works successfully.

From what I can tell, after you remove the server cert, you HAVE TO
bounce the AD machine, otherwise, AD seems to still think it has the
server cert.
"

'via Blog this'

Monday, January 9, 2012

Delete duplicates in form responses - Google Groups

Delete duplicates in form responses - Google Groups:

function deleteDuplicates() {
// SET UP - Indicate sheet name & columns to look at
// eg. for each row, look at data in columns emailAddress & event to find duplicates
var DATA_SHEET = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet1");
var FIRST_COLUMN = 3;
var SECOND_COLUMN = 6;
///////////////////////////////////////////////////////////
//This script deletes duplicates in form responses
//By default, it keeps the last response submitted
///////////////////////////////////////////////////////////
var data = DATA_SHEET.getDataRange().getValues();
var cleanupData = new Array();
var lastColumn = DATA_SHEET.getLastColumn();
for (var i = data.length - 1; i > -1; --i) {
if (data[i][FIRST_COLUMN - 1] != "DO NOT COPY"){

for (var j = 0; j < i; ++j) {
//IF duplicates, mark those duplicates as empty
if (data[j][FIRST_COLUMN - 1] == data[i][FIRST_COLUMN - 1] && data[j][SECOND_COLUMN - 1] == data[i][SECOND_COLUMN - 1] && j!=i) {
data[j][FIRST_COLUMN - 1] = "DO NOT COPY";
}
}
}
if (data[i][FIRST_COLUMN - 1] != "DO NOT COPY"){
cleanupData.unshift(data[i]);
}
}
DATA_SHEET.clearContents();
DATA_SHEET.getRange(1,1,cleanupData.length,lastColumn).setValues(cleanupData);
SpreadsheetApp.flush();
}
'via Blog this'