- Generate Git authors file
- Create Git repository
- Handling irregular branch structures
- Create local branches from remotes/svn/*
- Create clean Git remote and populate
- Other useful links
This file contains hidden or 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
| #!/bin/sh | |
| if [[ `id -u` != 0 ]]; then | |
| echo "Must be root to run script" | |
| exit | |
| fi | |
| read -p "Enter user name and press [ENTER]: " UserName | |
| if [[ $UserName == `dscl . -list /Users UniqueID | awk '{print $1}' | grep -w $UserName` ]]; then |
This file contains hidden or 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
| using System; | |
| using System.IO; | |
| using System.Security.Permissions; | |
| using System.Diagnostics; | |
| using System.Timers; | |
| using System.Collections.Generic; | |
| public class Watcher | |
| { |
This file contains hidden or 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
| note | |
| description: "Summary description for {CONSOLE_ANSI_CONTROL}." | |
| date: "$Date$" | |
| revision: "$Revision$" | |
| EIS: "name=ANSI escape codes", "protocol=URI", "src=http://ascii-table.com/ansi-escape-sequences.php" | |
| EIS: "name=ANSI escape codes (MS)", "protocol=URI", "src=https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences" | |
| class | |
| CONSOLE_ANSI_CONTROL |
This file contains hidden or 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
| note | |
| description: "[ | |
| Enter class description here! | |
| ]" | |
| class | |
| APP | |
| create | |
| make |
This file contains hidden or 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
| note | |
| description: "[ | |
| Representation for byte array (item value between 0 and 255). | |
| Could be useful in protocol, encoding, ... computations. | |
| It provides useful representations as hex, bin, and also generic base N representation ... | |
| ]" | |
| date: "$Date$" | |
| revision: "$Revision$" |
This file contains hidden or 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
| note | |
| description: "Basic Service launcher" | |
| class | |
| APPLICATION | |
| inherit | |
| WSF_DEFAULT_SERVICE [APPLICATION_EXECUTION] | |
| redefine | |
| initialize |
This file contains hidden or 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
| #!/bin/python | |
| # print time for every thursday | |
| # modify code for other days. | |
| import sys; | |
| from time import * | |
| def print_time (t): | |
| print (strftime ("%d/%m/%Y", localtime(t))) |
NewerOlder