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
Witam, | |
prosze zastapic tabele w `dritte tabele` ponizsza tabela. | |
Aby tabela byla na srodku, nalezy ustawic wartosci "width" wg swojego uznania. | |
<!-- Dritte Tabellenzeile - Gibt unter der gesamten Seite noch einmal eine Zeile aus | |
für weitere Dinge wie Copyright oder Link zum Impressum welche auf jeder Seite zu sehen sein sollen | |
--> |
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
10:55:50 web.1 | Started POST "/admin/api/run_api_request" for 127.0.0.1 at 2023-05-17 10:55:50 +0200 | |
10:55:50 web.1 | Processing by Motor::RunApiRequestsController#create as HTML | |
10:55:50 web.1 | Parameters: {"data"=>{"body"=>{"reason"=>"sdafasdfadsf"}, "api_config_name"=>"/api", "path"=>"v1/event/{id}/status", "method"=>"post"}} | |
10:55:50 web.1 | Motor::ApiConfig Load (0.2ms) SELECT "motor_api_configs".* FROM "motor_api_configs" WHERE "motor_api_configs"."name" = $1 LIMIT $2 [["name", "/api"], ["LIMIT", 1]] | |
10:55:50 web.1 | bad URI(is not URI?): "/api/v1/event/{id}/status" | |
10:55:50 web.1 | /Users/sfistak/.rubies/ruby-3.2.1/lib/ruby/3.2.0/uri/rfc3986_parser.rb:66:in `split' | |
10:55:50 web.1 | /Users/sfistak/.rubies/ruby-3.2.1/lib/ruby/3.2.0/uri/rfc3986_parser.rb:71:in `parse' | |
10:55:50 web.1 | /Users/sfistak/.rubies/ruby-3.2.1/lib/ruby/3.2.0/uri/common.rb:193:in `parse' | |
10:55:50 web.1 | /Users/sfistak/.rubies/ruby-3.2.1/lib/ruby/3.2.0/uri/common.rb:722:in `URI' | |
10:55:50 web.1 | /Users/sfistak/cod |
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
023-02-26 19:55:44 --> customer.created [evt_1MfpNsLqQSw5ZyY2v2b9iDp7] | |
2023-02-26 19:55:44 [ERROR] Failed to POST: Post "http://localhost/pay/webooks/stripe": dial tcp [::1]:80: connect: connection refused | |
2023-02-26 19:56:08 --> charge.succeeded [evt_3MfpOELqQSw5ZyY20Brhtbf4] | |
2023-02-26 19:56:08 [ERROR] Failed to POST: Post "http://localhost/pay/webooks/stripe": dial tcp [::1]:80: connect: connection refused | |
2023-02-26 19:56:08 --> payment_method.attached [evt_1MfpOGLqQSw5ZyY2fD62i7gg] | |
2023-02-26 19:56:08 [ERROR] Failed to POST: Post "http://localhost/pay/webooks/stripe": dial tcp [::1]:80: connect: connection refused | |
2023-02-26 19:56:08 --> customer.updated [evt_1MfpOGLqQSw5ZyY22mHPURoN] |
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
stripe listen --forward-to localhost:3000/pay/webooks/stripe | |
> Ready! You are using Stripe API Version [2022-11-15]. Your webhook signing secret is whsec_0a8171d6b4418d4f240805576b9ad12f3be713b436f540f27034112f80529ae4 (^C to quit) | |
2023-02-26 18:59:49 --> checkout.session.completed [evt_1MfoVlLqQSw5ZyY2FrWwKf5x] | |
2023-02-26 18:59:49 --> charge.succeeded [evt_3MfoVjLqQSw5ZyY21Y9KIlq4] | |
2023-02-26 18:59:49 <-- [404] POST http://localhost:3000/pay/webooks/stripe [evt_1MfoVlLqQSw5ZyY2FrWwKf5x] | |
2023-02-26 18:59:49 <-- [404] POST http://localhost:3000/pay/webooks/stripe [evt_3MfoVjLqQSw5ZyY21Y9KIlq4] | |
2023-02-26 18:59:49 --> invoice.created [evt_1MfoVlLqQSw5ZyY27QxgwooV] | |
2023-02-26 18:59:49 <-- [404] POST http://localhost:3000/pay/webooks/stripe [evt_1MfoVlLqQSw5ZyY27QxgwooV] | |
2023-02-26 18:59:49 --> invoice.finalized [evt_1MfoVlLqQSw5ZyY2peHwQuzi] | |
2023-02-26 18:59:49 <-- [404] POST http://localhost:3000/pay/webooks/stripe [evt_1MfoVlLqQSw5ZyY2peHwQuzi] |
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
simultaneously satisfy constraints. | |
Probably at least one of the constraints in the following list is one you don't want. | |
Try this: | |
(1) look at each constraint and try to figure out which you don't expect; | |
(2) find the code that added the unwanted constraint or constraints and fix it. | |
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) | |
( | |
"<NSAutoresizingMaskLayoutConstraint:0x60000040c730 h=--& v=--& _UIToolbarContentView:0x14ea07100.width == 0 (active)>", | |
"<NSLayoutConstraint:0x60000041edf0 H:|-(0)-[_UIButtonBarStackView:0x14dd0be30] (active, names: '|':_UIToolbarContentView:0x14ea07100 )>", | |
"<NSLayoutConstraint:0x60000041eda0 H:[_UIButtonBarStackView:0x14dd0be30]-(0)-| (active, names: '|':_UIToolbarContentView:0x14ea07100 )>", |
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
require 'capybara' | |
require 'cucumber/rails' | |
Capybara.register_driver :selenium_chrome_headless do |app| | |
browser_options = ::Selenium::WebDriver::Chrome::Options.new.tap do |opts| | |
opts.args << "--window-size=1920,1080" | |
opts.args << "--headless" | |
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
➜ clojure lein new figwheel-main test_app -- --reagent | |
Generating fresh figwheel-main project. | |
To get started: | |
--> Change into the 'test_app' directory | |
--> Start build with 'lein fig:build' | |
➜ clojure cd test_app | |
➜ test_app lein fig:build | |
2021-11-05 23:06:56.678:INFO::main: Logging initialized @1656ms to org.eclipse.jetty.util.log.StdErrLog | |
[Figwheel] Validating figwheel-main.edn |
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
➜ kotek lein figwheel | |
Figwheel: Cutting some fruit, just a sec ... | |
Figwheel: Validating the configuration found in project.clj | |
Figwheel: Configuration Valid ;) | |
Figwheel: Starting server at http://0.0.0.0:3449 | |
Figwheel: Watching build - dev | |
Compiling build :dev to "resources/public/js/compiled/kotek.js" from ["src"]... | |
Successfully compiled build :dev to "resources/public/js/compiled/kotek.js" in 0.293 seconds. | |
clojure.lang.ExceptionInfo: Error in component :figwheel-system in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key :figwheel-system, :component #figwheel_sidecar.system.FigwheelSystem{:system #object[clojure.lang.Atom 0x4269ff03 {:status :ready, :val #<SystemMap>}]}, :system #<SystemMap>} | |
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:120) |
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
C02XN106JHD4:aging grzegorz$ lein repl | |
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. | |
Exception in thread "main" java.lang.ExceptionInInitializerError | |
at clojure.main.<clinit>(main.java:20) | |
Caused by: Syntax error compiling at (clojure/core.clj:338:1). | |
at clojure.lang.Compiler.load(Compiler.java:7648) | |
at clojure.lang.RT.loadResourceScript(RT.java:381) | |
at clojure.lang.RT.loadResourceScript(RT.java:372) | |
at clojure.lang.RT.load(RT.java:459) | |
at clojure.lang.RT.load(RT.java:424) |
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
(defn speak-it | |
"Call the google translate with language and value of the atom" | |
[lang] | |
(let [speech-syn (.-speechSynthesis js/window)] | |
(def msg (js/SpeechSynthesisUtterance. @number)) | |
(aset msg "lang" lang) | |
(.speak speech-syn msg))) | |
NewerOlder