我是否正确当我在远程服务器上有一个加载某些功能的配置文件时,这些功能应该在远程PSSession中可用?
我的测试没有成功,是否有一个特殊的技巧让这个工作?
我想在网络共享上引用文件夹,以便在单个源上提供所有功能.
我有一个有效的开发人员资料.我可以在iPhone上运行和调试我的应用程序.但是,当我尝试存档和共享它时,在管理器中我只能看到验证和分发.我该怎么办?如果我必须通过撤消和创建配置文件来更改我的配置文件,我该怎么做才能正确完成.因为我已经尝试创建一个新的配置文件来撤销旧配置文件.请帮帮我.
我无法让 Maven 下载工件
<dependency>
<groupId>org.jboss.test-jsf</groupId>
<artifactId>jsf-mock</artifactId>
<version>1.1.9</version>
<scope>test</scope>
</dependency>
Run Code Online (Sandbox Code Playgroud)
此依赖项不在 Maven Central 中。我已将正确的存储库添加到我的设置中。
<profiles>
<profile>
<id>barbucha</id>
</profile>
<repositories>
<repository>
<id>jboss</id>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-plug</id>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
</profiles>
Run Code Online (Sandbox Code Playgroud)
然后我使用配置文件构建东西barbucha。然而,maven 根本不使用 JBoss 存储库。它尝试从 Central 获取缺少的依赖项。它尝试下载依赖项两次,然后失败:
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/test-jsf/jsf-mock/1.1.9/jsf-mock-1.1.9.pom
[WARNING] The POM for org.jboss.test-jsf:jsf-mock:jar:1.1.9 is missing, no dependency information available
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/test-jsf/jsf-mock/1.1.9/jsf-mock-1.1.9.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on …Run Code Online (Sandbox Code Playgroud) 我想在注册时上传个人资料照片
\n\n在我必须注册用户之前,之后我可以将默认的 user.jpg 更改为我自己的个人资料图片
\n\n但现在我想在注册时上传我的个人资料照片
\n\n这是我要上传图片的视图部分:
\n\n<div class="form-group col-md-12">\n <label>Firmenlogo</label>\n <div class="custom-file">\n <input type="file" name="avatar" class="custom-file-input" id="validatedCustomFile" required>\n <input type="hidden" name="_token" value="{{csrf_token()}}">\n <label class="custom-file-label" for="validatedCustomFile">Datei ausw\xc3\xa4hlen...</label>\n <div class="invalid-feedback">Bitte laden Sie hier Ihr Firmenlogo hoch.</div>\n </div>\n </div>\nRun Code Online (Sandbox Code Playgroud)\n\n这是我的控制器:
\n\n<?php\nnamespace App\\Http\\Controllers\\Auth;\nuse App\\User;\nuse App\\Http\\Controllers\\Controller;\nuse Illuminate\\Support\\Facades\\Hash;\nuse Illuminate\\Support\\Facades\\Validator;\nuse Illuminate\\Foundation\\Auth\\RegistersUsers;\n\nclass RegisterController extends Controller\n{\n\nuse RegistersUsers;\n\nprotected $redirectTo = \'/admin\';\n\npublic function __construct()\n{\n $this->middleware(\'guest\');\n}\n\nprotected function validator(array $data)\n{\n return Validator::make($data, [\n \'name\' => \'required|string|max:255\',\n \'email\' => \'required|string|email|max:255|unique:users\',\n \'password\' => \'required|string|min:6|confirmed\',\n \'avatar\' => \'required|string\',\n ]);\n}\n\nprotected function …Run Code Online (Sandbox Code Playgroud) php info.php可以触发分析并将配置文件写入 /tmp/cachegrind.out.* ,例如
-rw-r--r-- 1 roofe www 344 Jul 11 12:04 /tmp/cachegrind.out.6723
-rw-r--r-- 1 root root 7172 Jul 11 12:06 /tmp/cachegrind.out.6808
-rw-r--r-- 1 root root 7178 Jul 11 12:06 /tmp/cachegrind.out.6819
Run Code Online (Sandbox Code Playgroud)
http://example.com/info.php无法触发分析
这是 php 信息
which php
/usr/bin/php
ll /usr/bin/php
lrwxrwxrwx 1 root root 27 May 21 15:14 /usr/bin/php -> /etc/opt/remi/php73/bin/php
Run Code Online (Sandbox Code Playgroud)
我还发现所有 php 进程都可以触发 prifiling,而 php-fpm 则不能。ps-aef | grep php
root 927 919 1 10:51 ? 00:00:50 /etc/opt/remi/php73/bin/php artisan horizon:supervisor ......
root 948 928 0 10:51 ? 00:00:17 …Run Code Online (Sandbox Code Playgroud) 有没有办法在Perl中加载配置文件?
就像在shell文件中一样:
.〜用户/ .profile中
我正在尝试使用jQuery插件cropit创建个人资料照片上传和裁剪.
这是我的标记:
<form action="#">
<div class="image-editor">
<div class="cropit-image-preview"></div>
<div class="image-size-label"> Resize image </div>
<input type="range" class="cropit-image-zoom-input">
<input type="hidden" name="image-data" class="hidden-image-data" />
<input type="file" class="cropit-image-input">
<button type="submit">Submit</button>
</div>
</form>
Run Code Online (Sandbox Code Playgroud)
我的问题是如何在第一个演示中加载和裁剪现有图像.
profile ×7
image ×2
crop ×1
debugging ×1
fpm ×1
iphone ×1
jquery ×1
laravel ×1
maven ×1
perl ×1
php ×1
powershell ×1
provisioning ×1
registration ×1
repository ×1
share ×1
unix ×1
xdebug ×1