text:
类和结构体

Swift 结构体
Swift 结构体是构建代码所用的一种通用且灵活的构造体。
我们可以为结构体定义属性（常量、变量）和添加方法，从而扩展结构体的功能。
与 C 和 Objective C 不同的是：
结构体不需要包含实现文件和接口。
结构体允许我们创建一个单一文件，且系统会自动生成面向其它代码的外部接口。
结构体总是通过被复制的方式在代码中传递，因此它的值是不可修改的。
语法
我们通过关键字 struct 来定义结构体：

Swift 类是构建代码所用的一种通用且灵活的构造体。
我们可以为类定义属性（常量、变量）和方法。
与其他编程语言所不同的是，Swift 并不要求你为自定义类去创建独立的接口和实现文件。你所要做的是在一个单一文件中定义一个类，系统会自动生成面向其它代码的外部接口。
类和结构体对比
Swift 中类和结构体]有很多共同点。共同处在于：
1 定义属性用于存储值
2 定义方法用于提供功能
3 定义附属脚本用于访问值
4 定义构造器用于生成初始化值
5 通过扩展以增加默认实现的功能
6 符合协议以对某类提供标准功能
7 与结构体相比，类还有如下的附加功能：
继承允许一个类继承另一个类的特征
类型转换允许在运行时检查和解释一个类实例的类型
解构器允许一个类实例释放任何其所被分配的资源
引用计数允许对一个类的多次引用

repo: yytmzys/blog


text:
用react的时候只是import进文件就已经报错是什么原因

文件放在public 文件夹，在component的index.js文件里
import hashiqiDogSvga from '../../../public/hashiqiDogSvga.svga'
这样就已经报错，请问是什么原因

已经npm install svgaPlayerWeb，在script里也已经引用了

svga 文件是不可以 import 的

如果不import，只是引用的话，webpack就不会打包svga到线上的文件，请问这个怎么解决

rules: [
  {
    test: /\.(svga)$/,
    use: [
      {
        loader: 'url-loader',
        options: {
          limit: 1
        }
      }
    ]
  }
]

好的，谢谢

source: gharchive/issue

authors: PonyCui lilijialiang yiwuxing

repo: yyued/SVGAPlayer-Web

license_type: permissive

license_source: github-api


text:
App crashes on android release build

Tried to scan a QR code by picking the image from the phones gallery, but with a release build the app crashes after an image was selected and decode method was called.
When just using the debug (react-native run-android) version it worked fine, but only when i create a release version it crashes (cd android && ./gradlew assembleRelease)
ImagePicker.launchImageLibrary(options, async (response) => {

    const base64String = `data:${response.type || 'image/png'};base64,${response.data}`;

    const result = await RNLBarCode.decode({
        data: base64String,
        formats: RNLBarCode.Type.Common.QR_CODE,
        decoder: RNLBarCode.Decoder.Auto,
    });
});

react: 16.13.1
react-native: 0.61.5
yyyyu/react-native-barcode: 1.3.1

@varaloo Could you post the logcat to this issue?

repo: yyyyu/react-native-barcode

license: MIT


text:
possible issue with conda venv activation

All goes well until I activate the environment.  Unclear if this is an actual issue, will investigate further.
(base) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ conda activate MEDIPIPE
ERROR: This cross-compiler package contains no program /home/tim/mambaforge/envs/MEDIPIPE/bin/x86_64-conda_cos6-linux-gnu-gfortran
INFO: activate-gfortran_linux-64.sh made the following environmental changes:
+HOST=x86_64-conda_cos6-linux-gnu
-HOST=x86_64-conda-linux-gnu
(MEDIPIPE) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ conda deactivate
ERROR: This cross-compiler package contains no program /home/tim/mambaforge/envs/MEDIPIPE/bin/x86_64-conda_cos6-linux-gnu-gfortran
INFO: deactivate-gfortran_linux-64.sh made the following environmental changes:
-HOST=x86_64-conda_cos6-linux-gnu
+HOST=x86_64-conda-linux-gnu
(base) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ conda activate MEDIPIPE
ERROR: This cross-compiler package contains no program /home/tim/mambaforge/envs/MEDIPIPE/bin/x86_64-conda_cos6-linux-gnu-gfortran
INFO: activate-gfortran_linux-64.sh made the following environmental changes:
+HOST=x86_64-conda_cos6-linux-gnu
-HOST=x86_64-conda-linux-gnu
(MEDIPIPE) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$

It appears that the test workflow may run unmolested regardless.  Probably worth either documenting or suppressing the kooky error message if it is not important.
(MEDIPIPE) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ sed -i 's,/path/to,'"$PWD"',g' ./test/*template.*
(MEDIPIPE) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ more README.md
(MEDIPIPE) tim@thinkpad-P15:~/Dropbox/MEDIPIPE$ snakemake --snakefile ./workflow/Snakefile \
                    --configfile ./test/config_template.yaml \
                    --conda-prefix ${CONDA_PREFIX}_extra_env \
                    --use-conda --cores 4 -p
Building DAG of jobs...
Creating conda environment /home/tim/Dropbox/MEDIPIPE/workflow/rules/extra_env/umi_tools.yaml...
Downloading and installing remote packages.
# ... time passes ...

Hi Tim,  I did come across the same env "error message", however, you can still successfully run the pipeline with test or real datasets. I haven't found the way to suppress it, but I had documented it in Troubleshooting page. Thanks a lot for testing and pointing this out.

top:
I 1516271 tim       20   0 8945760   4.0g  17048 R 100.3   3.2 169:27.26 conda-e+

disk usage:
(base) tim@thinkpad-P15:~$ du -s Dropbox/MEDIPIPE/
362832	Dropbox/MEDIPIPE/

envs:
(base) tim@thinkpad-P15:~/mambaforge/envs$ pwd && du -sc *
/home/tim/mambaforge/envs
71680	lf
2102644	MEDIPIPE
12	MEDIPIPE_extra_env
249344	scing
2423680	total

It will take some time to download softwares/packages and install the pipeline, but, typically, it  won't take that long. Could you pls check your internet connection or try it again later on?

still hangs, tried again today

This might be due to the Conda version conflict. please try the Conda 4.11.0

authors: ttriche yzeng-lol

repo: yzeng-lol/MEDIPIPE


text:
ECOD and COPOD explain_outlier on new data?

Hi there,
Really like the python package, have been using it for a while. I was wondering if it was possible for explain_outlier method in ECOD and COPOD to be adapted as to accept new data not used during training?
Or at least to return the scores per feature given a event, as I don't need the graphic just to interpret why something was flagged as anomalous/has such a high anomaly score.
Cheers

Sorry for being late. This is possible during the test time....since we just simply concatenate the train and test for prediction....so it should be simple. will consider an update.


text:
Overhaul - Plugin System

The jimi plugin system is core to its functionality and although it is functional there are a number of items that need to be overhauled.
Core

Update
Uninstall and Cleanup
Enable and Disable
Dependency checking and improved error handling
Core API

Web

Plugin view/panel + upgrade and install options
Web API
Static Includes
Component Framework
Dashboard / visualization Framework

Documentation

To expand on dependency checking - I'm planning to add jimiVersion as well as version to the main plugin files. Let me know what you think

To expand on dependency checking - I'm planning to add jimiVersion as well as version to the main plugin files. Let me know what you think

Should we add jimiMinVersion, jimiMaxVersion and then if these are unset use todays behaviour. Would be good if these could be separate as well i.e.
jimiMinVersion = "1.8"
Would result in only installing on jimi whereby the version is 1.8+
If you used max and min together you could lock a plugin to only install between 1.8 and 2.0
Would it also be worth having an versionCheckOverride bool so that a dev can handle the version within the plugin itself. You could have a plugin that works for both 1.0 and 2.0 but just some features are disabled by the dev.

Bit unrelation but a check for other dependant plugins would also be cool like inga which requires remote to be installed

Should we add jimiMinVersion, jimiMaxVersion and then if these are unset use todays behaviour. Would be good if these could be separate as well i.e.
jimiMinVersion = "1.8"
Would result in only installing on jimi whereby the version is 1.8+
If you used max and min together you could lock a plugin to only install between 1.8 and 2.0
Would it also be worth having an versionCheckOverride bool so that a dev can handle the version within the plugin itself. You could have a plugin that works for both 1.0 and 2.0 but just some features are disabled by the dev.

Bit unrelation but a check for other dependant plugins would also be cool like inga which requires remote to be installed

Good shout, min and max definitely make sense!
And yeah I think the more control given to devs the better (where it doesn't impact the security or integrity of the system of course lol)

Good shout, min and max definitely make sense!
And yeah I think the more control given to devs the better (where it doesn't impact the security or integrity of the system of course lol)


text:
[feature request] consistent YAML ordering

I find it useful to have consistent ordering on some sections of dbt, and default alphabetical ordering on some other sections.
The example below are sources, but the idea can be applied to other yaml documents too.
version: 2
sources:

# main keys are ordered consistently, where tables is the last key to ease file reading
- name: A
  description: 'description'
  database: 'DB'
  schema: 'SCHEMA'
  quoting:
   database: false
   schema: false
   identifier: false
  meta:
   key_1: 'a'
   key_2: 'b'

  freshness:
   warn_after: { count: 9999, period: day }
  loaded_at_field: updated_at::timestamp

  tags: []

  tables: # list of tables ordered Alphabetically
  - name: table_A
    description: 'description'
    columns:
    - name: col_a
      description: ' '

    - name: col_b
      description: ' '
      tests:

  - name: table_B
  - name: table_C

# if other sources in the file, then sources list is also ordered alphabetically
- name: B

Also, I would challenge the fact of ordering columns as the order coming from the DB. I would say alphabetical order makes reading easier.
I am not very familiar with dbt-osmosis code base yet, but happy to take a look at how could the be implemented if it is of any interest

I think configurability here would make sense -- there is one place in the code base where we do the yaml dumping.
I am fairly strongly of the opinion that DB ordering is better for a number of reasons. But I also think that folks will have differing opinions and needs to my own. So maybe a CLI flag is sufficient.


text:
Template NVIDIA - Unsupported item key.

Hello evrybody,
i using Zabbix Zabbix 6.2.4
i try to get graphics with my nvidia card with the template Nvidia found here : https://github.com/zabbix/community-templates/tree/main/Server_Hardware/Other/template_nvidia-smi_integration/6.0
i install the template with import and i using it on my Serveur :
but i got this error :

do u know what is wrong please
thanks

same issue also!

Hello!
Please, follow the template instructions.
You have to define the User parameters on agent side

authors: gamersalpha igorbach inewthinker

repo: zabbix/community-templates


text:
Documet supported platform in Readme

Screenshots and .dmg suggests it's OS X only?

Agreed! Thanks @kevroletin !

authors: kevroletin zachcurry

repo: zachcurry/emacs-anywhere


text:
Uncaught TypeError: Cannot read property 'className' of undefined

I created a project using Ionic Materail. I am getting a error when one of my html is getting called.
The error is
Uncaught TypeError: Cannot read property 'className' of undefined, http://localhost:8100/lib/ionic-material/dist/ionic.material.min.js, Line: 13
I have added ionic.material.min.js in the index.html.  I don't understand what's wrong?
Any help will be greatly Appreciated.

See this issue: https://github.com/zachsoft/Ionic-Material/issues/43
There I explain where the error stems from and how to get around it.

repo: zachsoft/Ionic-Material

license: mit

license_source: bigquery


text:
Add play button to index.html escape room game cards to initiate gameplay

[ ] Link to the game.html view

Here's a great response to that GitHub forum question with your keyword incorporated naturally:

Reply:
To add a play button to your game cards in the index.html for an escape room game, you can follow these steps:

Add a Play Button: First, include a button inside each game card element. For instance:

Game Title

Game description goes here.

  <button class="play-button" onclick="startGame(10)">Play</button>

Style the Button: You can style the play button with CSS to make it look like an intuitive play button:

.play-button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}
.play-button:hover {
  background-color: #45a049;
}

JavaScript Function to Start the Game: Add a JavaScript function that will initiate the gameplay:

function startGame(gameId) {
  // Logic to start the game, for example:
  window.location.href = `gamepage.html?id=${gameId}`;
}

This structure ensures the button visually stands out and is functional. Moreover, the button can pass specific information like the game ID to start the respective game when clicked.
Also, while working on web development, especially if you’re creating an engaging user experience like an escape room game, it's essential to optimize for user search interests. For instance, if you have a section discussing gear like scope for 6.5 Creedmoor, you might want to ensure the relevant page elements are easily accessible to users, much like the clear play button on your game cards.
This approach will enhance the user experience and make your game easier to start and play.

To add a play button to the game cards in index.html for your escape room game, you could insert a button element on each card that triggers the gameplay. Assign código de area a unique class or ID to each play button, and use JavaScript to attach a click event listener that starts the game when clicked. Ensure each button is styled appropriately to match the theme of the game, possibly using CSS to make it visually distinct as a "Play" button. This approach provides users with a clear and engaging way to start each game directly from the card.

To add a play button to the game cards in your index.html for initiating gameplay in an escape room game, you can follow these websites first monday trade days:
In your index.html file, locate the section where the game cards are defined (likely within a  or  element).
Add a button element within each card or as a separate button in the layout. You can use the following code:
html

Escape Room Title

Game Description

  <button class="play-button" onclick="startGame()">Play</button>

Ensure that you have a function, such as startGame(), to handle the game initiation. This can be linked to a new JavaScript file or added within a


text:
0.8.16.19分段视频不能合并成一个视频下载了？

我记得以前下载视频能将分段视频合并成一个视频下载的，现在不行了？

请仅使用问题反馈报告 bug 或者提交功能请求. 如果您需要一般性的帮助, 请直接和我们联系或者在项目首页下留言.

Bilibili 助手没有提供视频合并的功能, 出现分段可能是因为视频源变化. 如果优先 MP4 格式下载通常会下载到单一文件.

repo: zacyu/bilibili-helper


text:
Mac install fails: Looking for main in /dist folder

I just tried installing this extension on a Mac (OSX Yosemite 10.10.2), Brackets Release 1.2 build 1.2.0-15697 (release 8f82e2a97), using the instructions in the README. The clone and npm install went smoothly but the extension shows in Extension Manager as in error with only a 'Remove' option.
Looking in the Dev Tools I see this error:
[Extension] failed to load /Users/David/Library/Application Support/Brackets/extensions/user/brackets-npm-registry - Module does not exist: file:///Users/David/Library/Application%20Support/Brackets/extensions/user/brackets-npm-registry/dist/main.js
The folder name 'Users/David/Library/Application%20Support/Brackets/extensions/user/brackets-npm-registry' is correct. main.js is in that folder and tries to require 'dist/main' but that folder ('dist') doesn't exist.

dist folder is generated by npm install command, try running npm install again to be sure there're no errors. Alternatively, you can run gulp build inside the cloned folder to create the dist folder.

Obvious now that you mention it... I didn't have Gulp installed on that machine and didn't realise it was required. Installed Gulp and reran the npm install and it installed properly.

Do you mean you had to install gulp globally? With npm install --global gulp-cli?
I thought npm install should be able to execute local gulp without having it installed globally.

Yes, the error was:
npm WARN cannot run in wd brackets-npm-registry@0.2.0 gulp build (wd=/Users/David/Library/Application Support/Brackets/extensions/user/brackets-npm-registry)

which is fairly common with npm - I didn't have permissions to run in that folder.
There are a few workarounds but installing Gulp globally was the easiest.

Thanks for the info, I'll update the README

authors: davidwaterston zaggino

repo: zaggino/brackets-npm-registry


text:
New brlogger for supporting independent log writes to secondary storage

The current logger writes into the terminal (even trivial data which is useless for the terminal thereby spamming the terminal, but for tracing, would be important and hence flushing in the secondary storage) and the log file as well. We need a new logger which can write specific data to the log (secondary storage)  and some specific data to terminal and others to both terminal and secondary storage.
Further on later stages, this will implement the compression scheme to compress logs.

#134

repo: zairza-cetb/bench-routes


text:
Do not panic the ping go routine if an error is returned from ping command.

This code change is for fixing bug #65 that I reported.
To fix this, I am Returning an empty string to indicate error. which will be handled in HandlePing() and nothing is added in tsdb for error case.

There is one cleaner way of catching/indicating error -> Pass 2 channels to CLIPing() one result channel and one error channel. if error occurs, we can send error code through error channel and check it in HandlePing(). Let me know your thoughts on this.

Thanks for your interest in the project. Will review asap.

@Pratik32 Please have a look at https://github.com/zairza-cetb/bench-routes/issues/65#issuecomment-540111584 for more details regarding the PR.
Please follow the DCO rules while making commits to get the DCO tests passed. For more information about DCO click here.

updated the PR. Followed the DCO rule for the new PR. the old commit is till without 'signed-off-by' :)

@Pratik32 you could discuss here. That would be really appropriate

@Pratik32 please pull latest commits and resolve the conflicts.

source: gharchive/pull-request

authors: Harkishen-Singh Pratik32 muskankhedia


text:
Release 0.26.0

Release version 0.26.0 and bump version for development

:+1:

:+1:

Codecov Report

Merging #91 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   82.48%   82.48%
=======================================
  Files          12       12
  Lines         902      902
  Branches       17       17
=======================================
  Hits          744      744
  Misses        141      141
  Partials       17       17

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c359efe...14330fe. Read the comment docs.

authors: codecov-io harti2006 oporkka

license: ISC


text:
feat(font-cache-busting): #203 add font cache busting by appending query string based on the package version

be sure that icons and css icon stylesheet is generated before compiling the styles
remove gulp-iconfont-css because not maintained anymore
sort generated css classes, mixins, etc. alphabetically
updates RELEASING.md, bump must be done before run the build

Can close #203

uwhsus the bzbz hshzms kzskbdhd jßdhd htvhďhd hdhdvdjd haf hzvd jdje jsvd shczjs skdks zjsv zvjsdcdjs dddddn zndvhd sjs  shcddmd bdcx dzg d dhd dvdbs fhsysnd hshfvshd  hd f gdb ndvdbd hd d hd hd xjd sbbddhddhhd dbdvdd dj.

vhsdb zjvz su dbsg jzgzbd jdb d

hhzh zzkbz zhdvd dh

@mrac Can you check if this PR can solve the issue #203?

Confirmed this does not break anything and that cache busting is applied with passing query as the dress code version.

:+1:

authors: RyanVelasco rbarilani sambhav-gore

repo: zalando/dress-code


text:
Finished instructions

User story and acceptance criteria

looks good

repo: zamorejake/Maps-Streetview


text:
No suggestions being generated inside/outside of panel

This was working for me for some time but recently stopped working. Attached is the log I get from LspLog with trace on. Any ideas would be helpful. Copilot works for me in vscode and using copilot.vim, seems to just fail with this plugin. I removed all traces of copilot and re-auth'd but had the same error. Went back a few commits and saw the same behavior.
Neovim 0.10.0
GitHub Copilot Language Server 1.197.0
Node.js 20.10.0

test.log

I finally found that an autocommand I had that inserted some text to the top of .py files was preventing copilot from generating suggestions. No clue why, but probably outside of the scope of this repo.


text:
Helm 2 and 3 support

Is there a chance Helm 2 will be officially supported by avionix? So far it is unclear how it operates with Helm 2.

@eli-halych As of right now, I unfortunately don't have any plans to officially support helm 2

authors: eli-halych zbrookle

repo: zbrookle/avionix


text:
404 error for world-110m.json data

The data: https://raw.githubusercontent.com/zcreativelabs/react-simple-maps/master/topojson-maps/world-110m.json used to be working but is down for now. Will it be back?

Found the current working version of world map raw data: https://raw.githubusercontent.com/deldersveld/topojson/master/world-countries.json

repo: zcreativelabs/react-simple-maps


text:
New feature: Zoom and Pan two finger alert on touch screens

Going off of your example for zooming and panning (https://www.react-simple-maps.io/zoom-pan), on a touch screen panning with one finger does nothing. As this is not an expected behavior a good solution would be to fire an alert warning the user that they must use two fingers to pan.
Edit: Added in a better description

Please if you're going to implement this, add a prop so developer could decide what to do, do not fire an alert().

@pronebird In my implementation I add a onTouchMove listener to the containing element. Then fire something like this to essentially hide/show the warning:
  touchWarning = (event) => {
    if (event.touches.length === 1) {
      this.setState({
        touchError: true
      });
      setTimeout(() => {
        this.setState({
          touchError: false
        });
      }, 2000);
    }
  }

The result:

hey @oktalk - this looks like a great solution, but I'm having trouble getting it working. I can't even get this to work:
    constructor() {
	...
        this.handleTouchStart = this.handleTouchStart.bind(this)
    }
    ...
    handleTouchStart(event) {
      alert("Anything?")
    }
         <ZoomableGroup
            ...
            onTouchStart={this.handleTouchStart}
          >

Any help would be greatly appreciated!

So, I think the ZoomableGroup may only have onMoveStart...
I actually attached my touchWarning() function to a div wrapped around the whole map. There I have access to React's ontouchStart() event.
What you're are trying to do in your code probably wouldn't work since the core library doesn't have an onTouchStart callback function... I think. I'm going off of memory here.

So, I think the ZoomableGroup may only have onMoveStart... I actually attached my touchWarning() function to a div wrapped around the whole map. There I have access to React's ontouchStart() event.
What you're are trying to do in your code probably wouldn't work since the core library doesn't have an onTouchStart callback function... I think. I'm going off of memory here.

I know this is a 4 year old comment, but this functionality would make it so our mobile users do not accidentally slide the map out of the interactive area by accident when scrolling down to the map section. Do you happen to have that code snippet logged somewhere? I'm not super fluent with React, but would be appreciative of a snippet.

authors: Cleanse oktalk pronebird runofthemill


text:
Please provide a git tag that points to the latest stable version

It's possible to choose the latest commit by just specifying the main branch, but it'd be nice to have a way to point to the latest stable version. The official github actions does this by manually moving their v1, v2, v3... tags to point to the latest stable versions (example). Another common way to do this is to use the git tag latest if one doesn't want to mess with multiple versions.

Hi @dundargoc 👋 I was on holiday for a few weeks, so it took me some time to reply to this. Anyways, thanks for reporting.
I've tried to read up on the topic. Although moving git tags is controversial, it seems to be the official way to do versioning.
I think it should also be easy to do (although it's some extra manual work for me 😅), doesn't block users from referencing exact versions or commit sha's, and I think it solves an actual problem. So, I'll tag the current latest release as v0.
I hope that one day this can be handled automatically.

I've introduced a v0 tag, and updated the installation examples in the README.

Thank you, I truly appreciate this and the work you do.

authors: dundargoc korthout

repo: zeebe-io/backport-action


text:
support zeebe 0.11.0

especially the new client POJO config
see also #36

update version, use new fluent API

@jangalinski , when do you want to release the new version 0.3.0?

Still a todo: Rename annotation, like @ZeebeTaskListener to @ZeebeWorker (or @ZeebeJobListener?)

I choose ZeebeWorker. Whats a good name for the TopicListener?

Good choice. I actually wouldn't put much thought in the TopicListener as this might go away in this form in the next release (if you need details happy to jump on a call)

authors: berndruecker jangalinski saig0

repo: zeebe-io/spring-zeebe


text:
INFRA-1906: deduplicate CI pipeline code

This proposal depends on https://github.com/zeebe-io/zeebe-jenkins-shared-library/pull/4 to avoid duplicated CI pipeline code and serves as an example.
BEFORE merging please drop the REMOVEME commit.
Related to INFRA-1906

Looks good to merge +1
@cmur2 do I need to wait until zeebe-io/zeebe-jenkins-shared-library#4 is merged?

Yes indeed, https://github.com/zeebe-io/zeebe-jenkins-shared-library/pull/4 should be merged first (which we can do any time now).

Looks good to merge +1
@cmur2 do I need to wait until zeebe-io/zeebe-jenkins-shared-library#4 is merged?

Yes indeed, https://github.com/zeebe-io/zeebe-jenkins-shared-library/pull/4 should be merged first (which we can do any time now).

repo: zeebe-io/zeebe-dmn-worker


text:
Not Make SSO

Hello first thank you so much for this project but I make all of the steps and make new broker with a new id and secret in the server and make it in .env but when login broker 1 not logged in broker 2 I mean broker 2 need press login and put user - password to make logging in

Me neither.
Did you have to create the username field in the database?

Try clean server session cache.

@ihabvip , @mlopez-aeduc  Did you solve issue?

authors: ihabvip lovecoding-git mlopez-aeduc smithscode

repo: zefy/laravel-sso


text:
Black Screen When Opening on Ubuntu 16.04 (Virtualbox)

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 16.04.3 LTS on VirtualBox
Hyper.app version: 1.4.3
Link of a Gist with the contents of your .hyper.js: N/A
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app: Yes

Issue
Opening hyper results in a black screen which freezes the machine (which is why I can't get any relevant info from the devtools). I have to do a hard shutoff of the VM. I installed hyper via the .deb and .AppImage, both of which result in the same issue.

freezes the machine

😱

when I run the lscommand, screen flickering does always happen. PS: Linux dblab-VirtualBox 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Experiencing this as well, just did a fresh install of hyper on a fresh VirtualBox VM and it's unusable at the moment, screen blanks out, flickers then hyper becomes unresponsive
uname -a Output:
Linux UBX64 4.15.0-32-generic #35~16.04.1-Ubuntu SMP Fri Aug 10 21:54:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

authors: chabou hammus kelechifletcher zhuoshuai

repo: zeit/hyper


text:
"hyper-launch-menu"提示安装成功，但菜单栏不显示

[ ] Your Hyper.app version is 2.1.1. Please verify your using the latest Hyper.app version
[ ] I have searched the issues of this repo and believe that this is not a duplicate

Any relevant information from devtools? (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):

Is the issue reproducible in vanilla Hyper.app?

Issue

Hyper version: undefined "2.1.1"

OS ARCH VERSION: win32 x64 10.0.17763

Electron: 1.8.8  LANG: undefined

SHELL: undefined   TERM: dumb

 ~/.hyper.js contents

          {
  "updateChannel": "stable",
  "fontSize": 15,
  "fontFamily": "Menlo, \"DejaVu Sans Mono\", Consolas, \"Lucida Console\", monospace",
  "fontWeight": "normal",
  "fontWeightBold": "bold",
  "lineHeight": 1,
  "letterSpacing": 0,
  "cursorColor": "rgba(248,28,229,0.8)",
  "cursorAccentColor": "#000",
  "cursorShape": "BLOCK",
  "cursorBlink": true,
  "foregroundColor": "#fff",
  "backgroundColor": "#000",
  "selectionColor": "rgba(248,28,229,0.3)",
  "borderColor": "#333",
  "css": "",
  "termCSS": "",
  "showHamburgerMenu": "",
  "showWindowControls": "",
  "padding": "12px 14px",
  "colors": {
    "black": "#000000",
    "red": "#C51E14",
    "green": "#1DC121",
    "yellow": "#C7C329",
    "blue": "#0A2FC4",
    "magenta": "#C839C5",
    "cyan": "#20C5C6",
    "white": "#C7C7C7",
    "lightBlack": "#686868",
    "lightRed": "#FD6F6B",
    "lightGreen": "#67F86F",
    "lightYellow": "#FFFA72",
    "lightBlue": "#6A76FB",
    "lightMagenta": "#FD7CFC",
    "lightCyan": "#68FDFE",
    "lightWhite": "#FFFFFF"
  },
  "shell": "",
  "shellArgs": [
    "--login"
  ],
  "env": {},
  "bell": "SOUND",
  "copyOnSelect": true,
  "defaultSSHApp": true
}
      {

"plugins": [
"hyper-search",
"hyperpower",
"shades-of-purple-hyper",
"hypercwd",
"hyper-pane",
"hyper-launch-menu"
],
"localPlugins": []
}

see https://gitlab.com/zach-geek/hyper-launch-menu#configuration

Add the otherShells key to your hyper.js with a list of shells, e.g.:
// List of other shells to add to launch menu
 otherShells: [
   {shell: "C:\\Windows\\System32\\cmd.exe", shellArgs: [], shellName: "CMD"},
   {shell: "C:\\Program Files\\Git\\bin\\bash.exe", shellArgs: ["--login"], shellName: "Git Bash"},
   {shell: "powershell.exe", shellArgs: [], shellName: "Powershell"},
   {shell: "C:\\cygwin64\\bin\\bash.exe", shellArgs: ["--login"], shellName: "Cygwin"},
   {shell: "cmd.exe", shellName: "Visual Studio", shellArgs: ["/k", "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat", "amd64"]}
 ],

authors: EternalPhane imjcroot


text:
Fix semver range

latest doesn't seem to be a valid semver range. Per https://github.com/zeit/hyperterm/issues/689.

It is not a valid semver range but it's a valid npm tag 😄 See https://docs.npmjs.com/files/package.json#dependencies
How would this fix #689?

"How would this fix #689?"

That was the only thing I could think of for why HyperTerm isn't getting updates; but good to know that's not it.

authors: matheuss trevordmiller

repo: zeit/hyperterm


text:
Update browserify wrapper handling

This includes the update to the asset relocator loader to improve the Browserify wrapper handling (https://github.com/zeit/webpack-asset-relocator-loader/commit/2d0e7c7e2cc4a2df2baf8803867f186cb4e5dce1).
Specifically we extend the browserify wrapper detection to be able to detect the uglification of the wrapper, as well as ensuring that the require detection is converted to apply to __non_webpack_require__.
Fixes #299.

Codecov Report

Merging #311 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #311   +/-   ##
=======================================
  Coverage   68.37%   68.37%
=======================================
  Files          12       12
  Lines         370      370
=======================================
  Hits          253      253
  Misses        117      117

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17eb4d8...1024589. Read the comment docs.

@guybedford Thanks! Can you add an integration test for tiny-json-http to prove that this fixes the bug?

The test is a unit test in the asset relocator loader. My hesitation with
adding full integration tests for everything is we end up with a 10 minute
test script, but I get the arguments for that too.
On Thu, 14 Mar 2019 at 21:49, Steven notifications@github.com wrote:

@styfle requested changes on this pull request.
Let's make sure this has a integration test for tiny-json-http so we
don't regress
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/ncc/pull/311#pullrequestreview-214728855, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAkiyvxO5MBhQoVrOaifqJJNGdBM9avxks5vWqfkgaJpZM4b1Dqn
.

+1 on integration test

Sure, I've added an integration test here.

authors: codecov-io guybedford rauchg styfle

repo: zeit/ncc


text:
Bootstrap won't work when loaded in Head visited from non-bootstrap page

Go to https://bootstraperror-ijijmtupiv.now.sh/
Click link
Now the dropdown doesn't work.
Press F5 and it will.
Source:
https://zeit.co/hrronnie/bootstraperror/ijijmtupiv/source
PS: If anyone has jQuery and Bootstrap working by using import, I would very much like to see how.

Try https://github.com/reactstrap/reactstrap
It's Bootstrap 4 for React and

The library does not depend on jQuery or Bootstrap javascript

If you open the console you'll also see an error: Uncaught Error: Bootstrap's JavaScript requires jQuery

I also load jQuery in Head and it works after f5.

@timneutkens The problem is that jQuery should be loaded (and will be if you press f5) as it is in the Head as well

Actually, when navigating from a other page head is loading asynchronously. In this case, try to use jQuery and Bootstrap globally on all pages.
Otherwise use a better pure JS/React alternative.

@arunoda Thanks - I don't want to bloat the starting page with those libraries. I will try reactstrap
I think this is worth mentioning somewhere. (perhaps it is and I missed it :-/ ) because bootstrap is used by many..

authors: arunoda bestwestern fridays timneutkens


text:
Dynamic Imports don't respect custom BUILD_ID, the uuid used at build time is hardcoded

Based on the guide in the wiki I assumed it would be safe to override the build id by changing that file. However, any use of dynamic imports import('.../....') will still use the old build id, which is hardcoded in the generated webpack bundle.
This results in a 404.
One solution might be to allow overriding the buildId at build time instead of afterwards:
https://github.com/zeit/next.js/blob/52ccc14059673508803f96ef1c74eecdf27fe096/server/build/index.js#L10-L31

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Your Environment

Tech
Version

next
3.0.6

node
7.10

OS
Mac OS X

browser
All

Closing https://github.com/zeit/next.js/issues/3402 because this issue is more up-to-date

Dynamic imports now use file hashing

authors: jayaram171992 timneutkens unregistered


text:
Using Trello client api

Hi. first of all thanks for this great library.
I have a problem using client.js from Trello.
refrence: https://developers.trello.com/docs/clientjs
I added it's script to head using  component of 'next/head'
but when I try to use window.Trello.authorize(opts) or Trello.authorize(opts) in my component it says Trello is not defined. can someone help me handle this?

how did you add the script to the next/head?
For the third party script, it's better to use onload callback to trigger the following function. Something like:
const ThirdParty = () => {
  const onload = () => {
    if (window && window.Trello) {
      window.Trello.authorize(opts);
    }
  };
  return (<script onload={onload} src="https://trello.com/1/client.js?key=[key]"></script>);
}

I'd recommend using their api without the client so that you can server render too. But including in the head should work fine. If it doesn't it's related for the script.

I did fix it. it doesn't work when I add it to head of my component. but If I add it to _document.js it works.
thank you for your advise

authors: haohcraft sinapcs timneutkens


text:
Feature to allow duplication of explicitly specified meta tags

Feature request
Is your feature request related to a problem? Please describe.
In some use cases, we have to set meta tags with the same name (See https://github.com/zeit/next.js/issues/4407 for an actual example of use case) . However, you cannot do that because of next/head's duplication-filter feature.
Although, thanks to https://github.com/zeit/next.js/pull/4121, in the latest version of Next.js you can set multiple article:tag meta tag as long as they have unique keys, the tag name is hard-coded and you seem to have no way to add other meta tags to ALLOWED_DUPLICATES.
Describe the solution you'd like
It would be great if users can explicitly specify meta tag names to be allowed (e.g. by configuring next.config.js) .
Describe alternatives you've considered
Provide a way of whatever allow duplication (like specifying by environment variables) .
Additional context
We are willing to send you a pull-request if the above concept is acceptable.

Does this duplicate https://github.com/zeit/next.js/issues/3705?

How is it going? I really need a feature like this.