There once was a Dev from East Mass.,
who wished to ensure his code could be passed.
Feeling most license types,
  weren't worth all the hype
Wrote his own as an iconoclast.
His peers thought him a narcissist,
  
    
      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 | |
| function diffall { | |
| unset MATCH | |
| unset DIFFALL_TERMINATE | |
| DIFFALL_TERMINATE=0 | |
| MODIFIED="M" | |
| WHITESPACE="-w --ignore-blank-lines" | |
| INCLUDING="" | |
| EXCLUDING="" | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>title</title> | |
| </head> | |
| <body> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.8.0/jszip.js"></script> | 
  
    
      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
    
  
  
    
  | .contemp-link > .contemporary-menu { | |
| display:none; | |
| } | |
| .contemp-link:hover > .contemporary-menu { | |
| display:block; | |
| } | |
| .contemporary-menu { | |
| position: absolute; | 
  
    
      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
    
  
  
    
  | <div id="op"></div> | 
  
    
      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
    
  
  
    
  | <div id="op"></div> | 
  
    
      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
    
  
  
    
  | alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" | 
  
    
      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
    
  
  
    
  | var stringToPermute="ABC"; | |
| function iterativePermute(str, sIndex=0, strLength=(str.length-1)) { | |
| if (sIndex == strLength) console.log(str); // Recursive call; means we gotta new match. Cram it into the stack | |
| else { // Otherwise... | |
| for (let i = sIndex; i <= strLength; i++) { // From teh next shortest starting index... | |
| str = transposeChars(str, sIndex, i); // Swap out chars at the current starting index with the one at the end | |
| iterativePermute(str, sIndex + 1, strLength); // Recall this self-same function to log the result and kick off again | |
| } | |
| } | 
  
    
      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
    
  
  
    
  | function id(x) { | |
| // id :: a -> a | |
| return x | |
| } | |
| // v :: (a -> Bool) -> Bool -> [a] -> Bool | |
| //return ((predicate === true) ? Bool : !Bool); | |
| function v(pred, bool, xs) { | |
| for (var i = 0; i < xs.length; i++) { | |
| if (pred(xs[i]) === bool) { | 
  
    
      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
    
  
  
    
  | # Caesar cipher encoding | |
| echo "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" | tr '[A-Z]' '[X-ZA-W]' | |
| # output: QEB NRFZH YOLTK CLU GRJMP LSBO QEB IXWV ALD | |
| # Caesar cipher decoding | |
| echo "QEB NRFZH YOLTK CLU GRJMP LSBO QEB IXWV ALD" | tr '[X-ZA-W]' '[A-Z]' | |
| # output: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG | |
| # Can also be adjusted to ROT13 instead | 
NewerOlder