Skip to content
Browse files

Normalize Line Endings [MAINTENINCE COMMIT, NO VERSION UPDATE]

  • Loading branch information...
1 parent 9da1789 commit da3c8ada0b05de539f41672a21ee275518e4b945 @602p committed
Showing with 49 additions and 38 deletions.
  1. +11 −0 .gitattributes
  2. +20 −20 bin/serpint
  3. +18 −18 licences/scratchboard_licence.txt
View
11 .gitattributes
@@ -0,0 +1,11 @@
+# Set default behaviour, in case users don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files we want to always be normalized and converted
+# to native line endings on checkout.
+*.txt text eol=lf
+*.py text eol=lf
+
+# Denote all files that are truly binary and should not be modified.
+*.pyc binary
+*.pyc binary
View
40 bin/serpint
@@ -1,20 +1,20 @@
-#! /usr/bin/env python
-print "SERPINT NETWORK GPIO TOOLKIT"
-print " V48 "
-print
-
-import sys, os
-cmd=""
-for i in sys.argv[1:]:cmd=cmd+" "+i
-path=""
-f=__file__.split("/")
-del f[len(f)-1]
-for i in f:
- path=path+i+"/"
-path=path.replace("./", "", 1)
-os.system("cd '"+path+"'; sudo -p 'Please Enter Your Password, To Authorize Serpint: ' python main.py"+cmd)
-print
-try:
- if sys.argv[1].upper()!="CLEANUP": print "To clean up your system, run ./serpint cleanup"
-except BaseException: print "To clean up your system, run ./serpint cleanup"
-print "EXIT"
+#! /usr/bin/env python
+print "SERPINT NETWORK GPIO TOOLKIT"
+print " V48 "
+print
+
+import sys, os
+cmd=""
+for i in sys.argv[1:]:cmd=cmd+" "+i
+path=""
+f=__file__.split("/")
+del f[len(f)-1]
+for i in f:
+ path=path+i+"/"
+path=path.replace("./", "", 1)
+os.system("cd '"+path+"'; sudo -p 'Please Enter Your Password, To Authorize Serpint: ' python main.py"+cmd)
+print
+try:
+ if sys.argv[1].upper()!="CLEANUP": print "To clean up your system, run ./serpint cleanup"
+except BaseException: print "To clean up your system, run ./serpint cleanup"
+print "EXIT"
View
36 licences/scratchboard_licence.txt
@@ -1,18 +1,18 @@
-Scratch Sensor Board Design License
-
-Copyright (c) 2007 Massachusetts Institute of Technology
-
-All Rights Reserved.
-
-Scratch and the Scratch Sensor Board were developed by Lifelong Kindergarten group at the MIT Media Lab. See scratch.mit.edu.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of the Scratch Sensor Board design, including the schematic diagram, printed circuit board design files, firmware source code, and accompanying documentation (the "Design"), to use, copy, modify, merge, publish, produce, or distribute hardware based on the Design or designs derived from it ("Derivative Works"), and to permit persons to whom the Design is furnished to do so, subject to the following conditions:
-
- 1. The above copyright notice and this permission notice shall be included in all copies of the Design and Derivative Works. When distributing hardware based on the Design or Derivative Works, it is sufficient to include a URL to a public website with this information.
-
- 2. The phrase "Scratch Sensor Board" shall not be used to refer to Derivative Works. Phrases such as "Compatible with Scratch" or "Works with Scratch" are permitted provided that such phrases are not used to imply that MIT endorses you or the Derivative Work.
-
- 3. The schematic diagram, printed circuit board design files, and firmware source code for any Derivative Work based on the Design shall be made readily available to the public, ideally on a public web site, free of charge.
-
-THE DESIGN IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE DESIGN OR THE USE OR OTHER DEALINGS IN THE DESIGN.
-
+Scratch Sensor Board Design License
+
+Copyright (c) 2007 Massachusetts Institute of Technology
+
+All Rights Reserved.
+
+Scratch and the Scratch Sensor Board were developed by Lifelong Kindergarten group at the MIT Media Lab. See scratch.mit.edu.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of the Scratch Sensor Board design, including the schematic diagram, printed circuit board design files, firmware source code, and accompanying documentation (the "Design"), to use, copy, modify, merge, publish, produce, or distribute hardware based on the Design or designs derived from it ("Derivative Works"), and to permit persons to whom the Design is furnished to do so, subject to the following conditions:
+
+ 1. The above copyright notice and this permission notice shall be included in all copies of the Design and Derivative Works. When distributing hardware based on the Design or Derivative Works, it is sufficient to include a URL to a public website with this information.
+
+ 2. The phrase "Scratch Sensor Board" shall not be used to refer to Derivative Works. Phrases such as "Compatible with Scratch" or "Works with Scratch" are permitted provided that such phrases are not used to imply that MIT endorses you or the Derivative Work.
+
+ 3. The schematic diagram, printed circuit board design files, and firmware source code for any Derivative Work based on the Design shall be made readily available to the public, ideally on a public web site, free of charge.
+
+THE DESIGN IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE DESIGN OR THE USE OR OTHER DEALINGS IN THE DESIGN.
+

0 comments on commit da3c8ad

Please sign in to comment.
Something went wrong with that request. Please try again.