Monthly Archives: February 2015

Format Time of File Modification to use in a Shell Script

$ ls -l --full-time make.sh
-rw-------+ 1 AndreasB mkpasswd 5772 2015-02-12 11:35:54.323703100 +0100 make.sh

$ perl -MPOSIX=strftime -le 'print strftime("%Y%m%d", localtime((stat shift)[9]))' make.sh
20150212

$ stat make.sh
  File: 'make.sh'
  Size: 5772            Blocks: 8          IO Block: 65536  regular file
Device: 7a51ec0fh/2052189199d   Inode: 12384898975415113  Links: 1
Access: (0600/-rw-------)  Uid: (  400/AndreasB)   Gid: (  401/mkpasswd)
Access: 2015-02-12 11:35:54.323703100 +0100
Modify: 2015-02-12 11:35:54.323703100 +0100
Change: 2015-02-13 14:48:31.352376000 +0100
 Birth: 2014-11-26 17:16:45.173977800 +0100

$ stat -c %y make.sh
2015-02-12 11:35:54.323703100 +0100

$ stat -c %x make.sh
2015-02-12 11:35:54.323703100 +0100

file date format
HowTo Format Date For Display or Use In a Shell Script

Lasersaur

CAD Model Files

  • Lasersaur CAD Models
  • MechParts
  • Mount Panels
  • DriveBoard PCB

DriveBoard
Lasersaur Software
BeagleBone Setup

LaserSaur Photos
github: LaserSaur Manual

Wiki

FabLab Winti: Laser Cutter
HappyLab: Laser Cutter

FAQ

Lasersaur and is it right for you?

buildlog

Why Are My Laser Cut Edges Not Straight?
Getting More Power and Cutting Accuracy Out of Your Home Built Laser System

Blackhole 60W Laser
Home Built 40W CNC Laser
Home Built 40W CNC Laser
Home Built 40W CNC Laser

axFord / axCut

axCut DIY laser cutter
axRap
github: axFord

Jenkins

Installing Jenkins on Ubuntu
How To Install and Use Jenkins on Ubuntu 12.04

Security and Resetting User

Disable security
Reset Jenkins Configuration Command Line

...
<useSecurity>true</useSecurity>
...

Windows

C:\Program Files (x86)\Jenkins\jobs\project1\workspace

c:\cygwin\bin\mintty --hold always --exec /cygdrive/c/path/to/bash/script.sh

How to make Cygwin the default shell for Jenkins?
Can I use cygwin to script a hudson build step?
Jenkins on windows with cygwin