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
| <html> | |
| <head> | |
| <title>SignalMan</title> | |
| <script src="/Scripts/jquery-1.6.4.min.js"></script> | |
| <script src="/Scripts/jquery.signalR-1.1.2.js"></script> | |
| <script type="text/javascript"> | |
| window.signalman = { connected: false, hub: null, argumentCount: 0 }; | |
| $(function() { |
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
| # Check if you get GCC instaled | |
| # You should see the version, if not you can install with | |
| # sudo yum groupinstall "Development tools" | |
| gcc -v | |
| # Change into your download folder | |
| cd | |
| cd Downloads | |
| # Download lastest git version from git-scm.com (at this time 2.9.5) |
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/bash | |
| # drop this in the destination folder then run: | |
| # $ chmod 755 hello_world | |
| # usage: | |
| # $ ./gitgo "your message" | |
| # to run this scrip in any context, drop the file in some folder, like ~/bin | |
| # then add to path: |
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 (let i = 0; i < 100; i++) { | |
| // if (i % 15 == 0) { | |
| if (i % 3 == 0 && i % 5 == 0) { | |
| console.log('FizzBuzz'); | |
| } else { | |
| if (i % 5 == 0) { | |
| console.log('Buzz'); | |
| } else { | |
| if (i % 3 == 0) { | |
| console.log('Fizz'); |