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
    
  
  
    
  | n_week=$((($(date +%-d)-1)/7+1)) | |
| remainder=$(( $n_week % 2 )) | |
| #Uncomment line below and comment the 2 above to guarantee it runs this current week | |
| #remainder=0 | |
| if [ $remainder -eq 0 ] | |
| then | |
| DO SOME SHELL STUFF | |
| else | 
  
    
      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
    
  
  
    
  | /* Chromeo browser instructions for fancy footwork. | |
| - Open the bookmark manager from the Bookmarks menu. | |
| - Select the 'Add Page' option from the 'Organize' dropdown menu. | |
| - In the 1st input box, name your new life-altering bookmark. Think big. | |
| - In the 2nd input box, paste in the line below. | |
| - Be sure to include "javascript:" there at the beginning. Chrome needs this to know what's up. | |
| - Tab out of the 2nd input box to save. | |
| - Now, the fun is within reach. | |
| - Next time you're watching your videos, activate the bookmark & get the real theater experience */ | |
| javascript:(function() {var scpt = document.getElementById('yt-masthead-container').style.display = "None"; document.getElementById('body-container').style.marginTop = '-60px';})(); | 
  
    
      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
    
  
  
    
  | // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console | 
  
    
      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
    
  
  
    
  | meow=`git log | awk '/commit/ {++count; if (count == 3) print $2}'` | |
| meowjr=7ba3c555d407a7442d12d431807f2317f5df85f2 | |
| if [ $meow=$meowjr ]; then | |
| echo "MEOEOEOEOEOEOOEOE"; | |
| fi | 
  
    
      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
    
  
  
    
  | gg () { | |
| git grep --color -n "$1" | tee | |
| } | 
  
    
      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
    
  
  
    
  | import re | |
| import requests | |
| import time | |
| # example complete url | |
| # http://www.dharmarose.com/deadbase/dbquery110.php4?id=2314 | |
| counter = 0 | |
| base_request = "http://www.dharmarose.com/deadbase/dbquery110.php4?id=" | 
  
    
      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 | |
| # | |
| # Increment count up by 1 each time script is ran. | |
| if [ ! -f counter_file.txt ]; then | |
| echo '0' > counter_file.txt | |
| fi | |
| counter=$(cat counter_file.txt) | 
  
    
      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
    
  
  
    
  | import os | |
| # import pdb; pdb.set_trace() | |
| png_counter = 0 | |
| dir_contents = os.listdir('.') | |
| for d in dir_contents: | |
| # the try/except keeps it from erroring on non-directory contents | |
| try: | 
  
    
      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 i in posts.find(): | |
| string = str(i) | |
| if "Bonkus" in string: | |
| print 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
    
  
  
    
  | var commentCountGrabber = function () { | |
| var commentCountDiv = document.getElementsByClassName('fyre-comment-count')[0]; | |
| var textContent = commentCountDiv.textContent; | |
| jQuery('.meta_comments > a').html(textContent); | |
| }; | |
| setInterval(commentCountGrabber, 40000); | 
NewerOlder