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
const readline = require('readline'); | |
const fs = require('fs'); | |
const file = fs.createReadStream('yarn.lock'); | |
const rl = readline.createInterface(file); | |
let lastPkg, lastVer, lastLine, currPkg, currVer, currLine; | |
const re = /^"?(@?[^@]+)/; | |
rl.on('line', (line) => { |
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
# Stop emmet from hijacking tab from snippets and autocomplete | |
# https://github.com/atom/autocomplete-plus/issues/86#issuecomment-82661027 | |
'atom-text-editor.autocomplete-active:not([mini])': | |
'tab': 'autocomplete-plus:confirm' | |
# Stop emmet from hijacking tab from snippet tab stops | |
# https://github.com/atom/autocomplete-plus/issues/86#issuecomment-82661027 | |
'atom-text-editor[data-grammar="text html basic"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini])': | |
'tab': 'snippets:next-tab-stop' |
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
Enter these commands on a privileged command prompt in exact order: | |
diskpart | |
list disk (***then look for your flash drive***) | |
select disk N (***where N is your flash drive's number. e.g. select disk 2**) | |
clean | |
create partition primary | |
select partition 1 | |
active | |
format fs=fat32 quick |
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
<xsl:key name="product" match="/items/item/products/product/text()" use="." /> | |
<xsl:template match="/"> | |
<xsl:for-each select="/items/item/products/product/text()[generate-id() | |
= generate-id(key('product',.)[1])]"> | |
<li> | |
<xsl:value-of select="."/> | |
</li> | |
</xsl:for-each> |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Droid Sans Mono Dotted", | |
"font_options": | |
[ | |
"subpixel_antialias" | |
], |