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
| <template> | |
| <LandingPage> | |
| <div class="flex justify-between"> | |
| <SubMenu /> | |
| <g-image src="~/assets/images/team.jpg" alt="" class="" /> | |
| </div> | |
| <section class="flex flex-col pr-6 mb-16"> | |
| <h1 class="">Team</h1> | |
| <div class="flex flex-wrap justify-between w-1/2"> |
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
| ERROR Failed to compile with 46 errors friendly-errors 15:51:06 | |
| These dependencies were not found: friendly-errors 15:51:06 | |
| friendly-errors 15:51:06 | |
| * core-js/modules/es6.array.find in ./.nuxt/client.js, ./.nuxt/firebase-module/main.js friendly-errors 15:51:06 | |
| * core-js/modules/es6.array.from in ./.nuxt/client.js, ./.nuxt/components/nuxt-link.client.js friendly-errors 15:51:06 | |
| * core-js/modules/es6.array.iterator in ./.nuxt/client.js friendly-errors 15:51:06 | |
| * core-js/modules/es6.date.to-str |
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
| [ | |
| { | |
| departure: "Berlin", | |
| arrival: "Paris", | |
| departure_at: "2020-05-31T08:25:00.000Z", | |
| arrival_at: "2020-05-31T09:55:00.000Z", | |
| vehicle: "hyperloop", | |
| provider: { | |
| name: "Hyperloop One", | |
| slug: "hyperloop_one", |
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
| invoices = SmarterCSV.process('invoices.csv', { col_sep: ";" }) | |
| not_found = 0 | |
| ok = 0 | |
| invoices.each do |invoice| | |
| user = Refinery::User.where(id: invoice[:user_id].to_i).first | |
| if user | |
| user.invoices.create number: invoice[:number].to_i, file_path: invoice[:invoice_file_name] | |
| ok += 1 | |
| else |
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
| invoices = SmarterCSV.process('invoices.csv', { col_sep: ";" }) | |
| not_found = 0 | |
| not_matching_id = 0 | |
| ok = 0 | |
| invoices.each do |invoice| | |
| tracking_number = TrackingNumber.where(waybill: invoice[:waybill].to_s).first | |
| if tracking_number | |
| if tracking_number.user_id.to_i == invoice[:user_id].to_i | |
| tracking_number.update_attribute(:invoice, invoice[:invoice_file_name]) |
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
| File.open("invoices.csv", 'w+') { |file| | |
| file.write("user_id;waybill;invoice_file_name\n") | |
| } | |
| dir_path = File.join(Rails.root, 'private', 'invoices') | |
| invoices = Dir.entries(dir_path) | |
| invoices.each do |invoice| | |
| next if ['.', '..', '.DS_Store'].include?(invoice) | |
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
| payments = SmarterCSV.process('paypal1.csv', { col_sep: ";" }) | |
| File.open("paypal_payments.csv", 'w+') { |file| | |
| file.write("status;email;transaction_id;country;country_code\n") | |
| } | |
| payments.each do |payment| | |
| country_code = ISO3166::Country.find_country_by_name(payment[:country])&.alpha2 | |
| File.open("paypal_payments.csv", 'a') { |file| |
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
| - [ ] http://vuetron.io/ | |
| - [ ] https://vuejsbook.com/vuejs-storefront-all-in-one-front-end-for-ecommerce | |
| - [ ] https://medium.com/js-dojo/5-vuex-plugins-for-your-next-vuejs-project-df9902a70de2 | |
| - [ ] https://parceljs.org/ | |
| - [ ] https://medium.com/@ericsimons/introducing-turbo-5x-faster-than-yarn-npm-and-runs-natively-in-browser-cc2c39715403 | |
| - [ ] https://bootstrap-vue.js.org/ | |
| - [ ] https://medium.com/@znck/accessible-components-test-driven-approach-d4eb458305a1 | |
| - [ ] https://medium.com/pixelmatters/unit-testing-with-vue-approach-tips-and-tricks-part-1-b7d3209384dc |
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
| bunzip2 -f db/crawdio_production_2016-12-22-221526.sql.bz2 && psql -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'kingdomcomerpg_development' AND pid <> pg_backend_pid();;" ; dropdb kingdomcomerpg_development; createdb kingdomcomerpg_development; psql -d kingdomcomerpg_development < db/crawdio_production_2016-12-22-221526.sql |
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
| #= require 'module' | |
| $ = jQuery | |
| @module 'Hypo', -> | |
| class @Chat | |
| constructor: (@opt) -> | |
| @$container = $(@opt.container) | |
| @animation = new Hypo.ChatAnimation(container: @$container) |
NewerOlder