- Braile and speak (piece of technology that would speak braile)
- Brailist (translator)
- Screen Readers:
- JAWS ($1100)
- NVDA (free, but seems to require a donation, but windows only)
This file contains 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
alert([2, 3, 5, 7, 11, 13, 17].map((x) => x * x).reduce((x, y) => x + y, 0)) |
This file contains 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
find src -type f -print | xargs wc -l |
By default this will look at the previous 100 commits from your local .git
folder in your project. To Add release notes to an older project you might want to bump that WAY up.
Also you will need a valid GitHub token in your .env
file.
GenerateReleaseNotes.new('your_org/your_project', 'path_to_location_of_prev_sha_file/previous-sha.yml', ENV['GITHUB_API_TOKEN'], true)
This file contains 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
(0..10).each do |num| | |
unless User.exists? username: "testie#{num}" | |
User.create! username: "testie#{num}", email: "testie#{num}@example.com", password: 'password', password_confirmation: 'password' | |
end | |
end |
This file contains 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
getWordFromSelection: (e) -> | |
selection = document.getSelection() | |
word = [] | |
text = selection.anchorNode?.wholeText || ' ' | |
wordArr = text.split('') | |
anchorPos = selection.anchorOffset - 1 | |
anchorPos = 0 if anchorPos < 0 | |
for index in [anchorPos..0] | |
letter = wordArr[index] | |
if letter.match(/\s/) |
This file contains 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
/(.+)@(.+)\.([a-z]{2,})/ |
This file contains 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
# keystore vars | |
keystore = 'path_to_your.keystore' | |
keystore_alias = 'alias_for_your_keystore' | |
keystore_password = 'password_for_your_keystore' | |
namespace :android do | |
namespace :google do | |
namespace :maps do | |
desc 'Generates a debug SHA1 specific to your machine.' | |
task :debug_sha do |
This file contains 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
roughSizeOfObject: (object) -> | |
objectList = [] | |
stack = [object] | |
bytes = 0 | |
while stack.length | |
value = stack.pop() | |
if typeof value is "boolean" | |
bytes += 4 | |
else if typeof value is "string" | |
bytes += value.length * 2 |