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
| Gem::Specification.new do |spec| | |
| spec.name = 'readability' | |
| spec.author = 'Michael Cetrulo' | |
| spec.email = 'michael.cetrulo@toptal.com' | |
| spec.version = '0.0.1' | |
| spec.summary = 'Calculates several readability indices.' | |
| spec.description = 'Readability indices or formulas attempt to represent an entire text with a single number that is representative of the comprehension level required for reading the given text.' | |
| spec.files = ['lib/readability.rb', | |
| 'lib/readability/abbreviations.rb', | |
| 'lib/readability/syllables.rb', |
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
| from datetime import datetime, timedelta | |
| last_seen = datetime.now() | |
| while True: | |
| serial_input = raw_input() # read from serial port | |
| if serial_input == "[FIT]": | |
| last_seen = datetime.now() | |
| elif datetime.now() - last_seen >= timedelta(minutes=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
| // ==UserScript== | |
| // @name Facebook Suarez Filter | |
| // @namespace git2samus | |
| // @include https://www.facebook.com/* | |
| // @match https://www.facebook.com/* | |
| // ==/UserScript== | |
| var suarez_re = /Su[aá]rez/i; | |
| for (contentNode in document.getElementsByClassName('userContentWrapper')) { |
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
| xlrd==0.9.3 |
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
| >Rosalind_8980 | |
| CACCCCCTAAGTTAGACAGCTACAAGTCACTATGATTTTTTAGCTGCCTAGCACTATTGT | |
| TTGAAACTCAGCGTCACACACAGCCAACATCTACCGGACGACCAGTTTTAATTCGTAAAG | |
| ACGTGCGGGCTACTGTGATCTAATGTAACCGCACTCTCGCGGAACGCCTTTTGTCTCGGG | |
| TCGGCCTATGTCCTTAGGAATGTCCGGTGAATTACAACTAAGAACGGCCTTGGTATCGCG | |
| GGTACACCTGTCTATTTTGCATGGTGTGTGTTAACGGTGGCTGCGAGGGGACGAAATCAA | |
| TGACCAAGGCAGGAAGTAGGTTAGCGGGCTAGTCGCACACTTTGTTGTCGGTCAAGTGAA | |
| TACCCTCAGGACCTGTGCGGTTACGGGTCACGGGAGATCCGCGAAGCTGCCAATTGTATT | |
| GACTTTGGCCACGGTATAGGTGTTCAGGTATCCTTGTCATCAACGATACCCTCAGGTCCT | |
| TTGAGGCCTCTACTGCCTAGGTGTTAGGCGCATTTTCGCTGAGTCCTAAAACAGTATTAC |
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 | |
| USAGE="list | <types> ..." | |
| LONG_USAGE="Generate/Append the repo's .gitignore file using the gitignore.io api | |
| `curl -s http://gitignore.io/api/`" | |
| SUBDIRECTORY_OK= | |
| OPTIONS_SPEC= | |
| . "$(git --exec-path)/git-sh-setup" |
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 | |
| # List of parameters passed through environment | |
| #* reason -- why this script was called, one of: pre-init connect disconnect | |
| #* VPNGATEWAY -- vpn gateway address (always present) | |
| #* TUNDEV -- tunnel device (always present) | |
| #* INTERNAL_IP4_ADDRESS -- address (always present) | |
| #* INTERNAL_IP4_MTU -- mtu (often unset) | |
| #* INTERNAL_IP4_NETMASK -- netmask (often unset) | |
| #* INTERNAL_IP4_NETMASKLEN -- netmask length (often unset) | |
| #* INTERNAL_IP4_NETADDR -- address of network (only present if netmask is set) |
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
| try: | |
| execfile('local_settings.py') | |
| except IOError: | |
| pass |
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
| try: | |
| from local_settings import * | |
| except ImportError: | |
| pass |
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
| fun! TextMode(mode) range | |
| if a:mode == 'textmode' | |
| setlocal filetype=text | |
| setlocal wrap | |
| setlocal nolist | |
| setlocal linebreak | |
| nnoremap <buffer> j gj | |
| nnoremap <buffer> k gk | |
| nnoremap <buffer> 0 g0 | |
| nnoremap <buffer> $ g$ |