React: Unexpected use of 'location';Solution: Use window.location instead of bare location.
| # Uninstall current version you want to downgrade | |
| brew cask uninstall <PackageName> | |
| # Edit Cask file | |
| brew cask edit <PackageName> | |
| # e.g. Vagrant | |
| brew cask edit vagrant | |
| ``` | |
| cask 'vagrant' do |
React: Unexpected use of 'location';Solution: Use window.location instead of bare location.
| // Originally found on | |
| //https://appendto.com/2017/04/use-javascript-to-export-your-data-as-csv/ | |
| function convertArrayOfObjectsToCSV(args) { | |
| var result, ctr, keys, columnDelimiter, lineDelimiter, data; | |
| data = args.data || null; | |
| if (data == null || !data.length) { | |
| return null; | |
| } |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| #!/usr/bin/env python2 | |
| # | |
| # Find and replace tracker urls in a Deluge torrents.state | |
| import os | |
| import sys | |
| import platform | |
| import shutil | |
| import cPickle |