Skip to content

Instantly share code, notes, and snippets.

Ashish Pandey ashishpandey001

Block or report user

Report or block ashishpandey001

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ashishpandey001 / stack-trace-for-yarn-run-package.txt
Created Nov 22, 2019
electron-react-boilerplate stack trace on running yarn and yarn run package
View stack-trace-for-yarn-run-package.txt
➜ yarn run package
yarn run v1.19.1
$ yarn build && electron-builder build --publish never
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production webpack --config ./configs/ --colors
$ cross-env NODE_ENV=production webpack --config ./configs/ --colors
[0] SyntaxError: Unexpected token v in JSON at position 0
[0] at JSON.parse (<anonymous>)
[0] at filter (/Users/ashish/work/brandmusiq/soniqspaces-desktop-v2/configs/webpack.config.base.js:24:22)
[0] at Array.filter (<anonymous>)
View sample.rb
print 'Hi!'
ashishpandey001 / combination_calculator.rb
Created Nov 9, 2017
A calculator to calculate the unique combinations of tracks on the basis of no of sets
View combination_calculator.rb
$total_count = 0
$no_of_tracks = 8
def combination_calculator(max_tracks_per_play)
local_count = 1
max_tracks_per_play.times do
local_count *= $no_of_tracks
return local_count
You can’t perform that action at this time.