warning.js:36 Warning: Failed prop type: Invalid prop `dragPosition` of type `boolean` supplied to `QueueListItem`, expected `string`.
in QueueListItem (created by QueueList)
in QueueList (created by Queue)
in Queue (created by PlayingBar)
in div (created by PlayingBar)
in div (created by PlayingBar)
in PlayingBar (created by Header)
in div (created by Header)
in header (created by Header)
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
module ActionDispatch | |
module Routing | |
class HashFormatter | |
attr_reader :result | |
def initialize | |
@result = {} | |
end | |
def section_title(title); 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
rails_env = ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' | |
Split.redis = YAML.load_file(Rails.root.join('config/split.yml')).fetch(rails_env) | |
Split.configure do |config| | |
adapter = Split::Persistence::RedisAdapter.with_config( | |
lookup_by: :params_user_id, | |
namespace: 'abtesting_participant_id', | |
expire_seconds: 2_592_000, # 30 days | |
) |
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
source 'https://rubygems.org' | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
ruby '2.5.0' | |
gem 'pg_jruby' | |
gem 'rails', '~> 5.2.1' | |
gem 'activerecord-jdbcpostgresql-adapter' |
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 ipc = require('async-ipc'); // symmetrical in both main and renderer | |
const SomeAPI = require('some-api'); | |
// events: | |
ipc.on('create-new-window', (...args) => { | |
// create new BrowserWindow(...args); | |
}); | |
ipc.emit('ready', 'some-important-string', 'other-important-arg'); |
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 class-names [& args] | |
(clojure.string/join " " | |
(mapv name | |
(reduce (fn [arr arg] | |
(cond | |
(or (string? arg) | |
(symbol? arg) | |
(keyword? arg)) (conj arr arg) | |
(vector? arg) (vec (concat arr arg)) | |
(map? arg) (vec (concat arr |
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
case | |
when user.subscriber? subscriber_redirect_path | |
when user.assistant? assistants_dashboard_index_path | |
else | |
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
$ ./script/build.py -c D | |
ninja: Entering directory `out/D' | |
[1/4] CXX obj/atom/common/api/electron_lib.atom_api_native_image.o | |
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/atom/common/api/electron_lib.atom_api_native_image.o.d '-DATOM_PRODUCT_NAME="Electron"' '-DATOM_PROJECT_NAME="electron"' -DNODE_WANT_INTERNALS=1 -DNODE_SHARED_MODE -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DGLIB_DISABLE_DEPRECATION_WARNINGS -DV8_USE_EXTERNAL_STARTUP_DATA -DENABLE_PLUGINS -DENABLE_PEPPER_CDMS -DUSE_PROPRIETARY_CODECS -DENABLE_WEBRTC -DNDEBUG -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DDISABLE_NACL -DTOOLKIT_VIEWS -DUSE_AURA -DUSE_X11 -DUSE_NSS_CERTS -DUSE_NSS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DUSING_V8_SHARED -DWEBKIT_DLL -I../.. -I../../chromium_src -I../../vendor/brightray -I../../vend |
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
diff --git a/.babelrc b/.babelrc | |
index 45c1a9f..022b341 100644 | |
--- a/.babelrc | |
+++ b/.babelrc | |
@@ -1,5 +1,9 @@ | |
{ | |
- "presets": ["es2015", "stage-2", "react"], | |
+ "presets": [ | |
+ "node6", | |
+ "stage-2", |
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 count-by-type [items] | |
(vals (frequencies (map :type items)))) |
NewerOlder