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
| git clone user@git-server:project_name.git -b branch_name /some/folder |
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
| rmdir /S /Q c:\temp |
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
| LET t1 = (num(timestamp#('2013-01-11 18:00:00', 'yyyy-mm-dd hh:mm:ss')) - 25569) * 86400; | |
| LET t2 = (num(Now(1) - 25569) * 86400; |
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
| for /r %%i in (*.txt) do echo %%i |
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
| psftp username@sftp.server.com -pw password -b commands.txt | |
| commands.txt contain all the psft commands that need to be executed like: | |
| lcd c:\test | |
| mget *.gz |
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
| Section Access; | |
| LOAD * INLINE [ | |
| ACCESS, USERID, PASSWORD, NTNAME | |
| ADMIN , admin , admin , * | |
| USER , * , * , DOMAIN\USERNAME | |
| ]; | |
| Section Application; |
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
| SET NULLINTERPRET=NULL; | |
| Orders: | |
| LOAD * INLINE [ | |
| OrderID, OrderDate | |
| 112233, 1/2/2008 | |
| 223344, 2/2/2008 | |
| 334455, NULL | |
| 445566, NULL | |
| 556677, 3/3/2008 |
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
| // to convert from Julian Date to normal Date (Gregorian) | |
| // subtract the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView): | |
| Date(JulianDateField - 2415019) | |
| //You probaly have to adjust the timezone since Julian Date is in UTC. | |
| // to convert from normal Date (Gregorian) to Julian Date | |
| // add the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView): |
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
| User.find({}, 'first last', function (err, usr) { | |
| //Got the result, saved a few bytes of code | |
| }); |
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
| Posts | |
| .find({}) | |
| .sort({}) | |
| .limit(5) | |
| .exec(function(err, posts) { | |
| console.log(posts) | |
| }); |
OlderNewer