摘要:
https://blog.ircmaxell.com/2012/07/what-generators-can-do-for-you.html
阅读全文
posted @ 2019-07-25 16:27
qqisnow2021
阅读(72)
推荐(0)
摘要:
https://stackoverflow.com/questions/13148872/drupal-7-batch-page-example http://jinxuliang.com/course/CoursePortal/Details/5687703ec89f0500f01f240a
阅读全文
posted @ 2019-06-14 07:50
qqisnow2021
阅读(154)
推荐(0)
摘要:
防止访问 md5().txt 这样就可以防止
阅读全文
posted @ 2019-05-28 22:04
qqisnow2021
阅读(191)
推荐(0)
摘要:
现在搞不懂为什么我没有设置静态IP, 但虚拟机的IP却没有变化。共享文件夹却没有看到, 要重新挂上去, 然后才可以mount -t
阅读全文
posted @ 2019-05-28 07:55
qqisnow2021
阅读(104)
推荐(0)
摘要:
http://patshaughnessy.net/2008/12/12/writing-your-first-phpunit-test-in-drupal phpunit TddTests modules/tdd/TddTests.php <?php require_once './include
阅读全文
posted @ 2019-05-19 10:37
qqisnow2021
阅读(266)
推荐(0)
摘要:
https://drupal.stackexchange.com/questions/226348/how-to-display-a-confirm-box-before-submitting-a-form
阅读全文
posted @ 2019-05-04 21:06
qqisnow2021
阅读(102)
推荐(0)
摘要:
$file = "filename.ext"; // Quick check to verify that the file exists if( !file_exists($file) ) die("File not found"); // Force the download header("C
阅读全文
posted @ 2019-05-04 16:46
qqisnow2021
阅读(664)
推荐(0)
摘要:
sudo mkdir --p /media/cdromsudo mount -t auto /dev/cdrom /media/cdrom/cd /media/cdrom/sudo sh VBoxLinuxAdditions.run
阅读全文
posted @ 2019-04-21 18:18
qqisnow2021
阅读(184)
推荐(0)
摘要:
首先是, 在虚拟机以NAT的方式安装ubuntu的桌面版, 不需要特别的设置就然后可以上网(浏览器打开网页,也可以ping通宿主机ip)了,但宿主机还是不能ping通虚拟机,这时就需要在virtualbox里面,如果不能增加第二块host-only的网卡,进入主机网络管理器,增加一个virtualb
阅读全文
posted @ 2019-01-31 15:31
qqisnow2021
阅读(359)
推荐(0)
摘要:
https://blog.csdn.net/fightingtony/article/details/52345391
阅读全文
posted @ 2018-12-06 13:17
qqisnow2021
阅读(106)
推荐(0)
摘要:
sudo apt-get install apache-utils ab -t 30 -c 100 http://127.0.0.1:8000/有一台虚拟机[可以上网], 然后运行命令就可以了可以尝试在Url后面加上/
阅读全文
posted @ 2018-11-29 08:24
qqisnow2021
阅读(159)
推荐(0)
摘要:
https://dzone.com/articles/microservice-spring-cloud-eureka-server-configurat https://stackoverflow.com/questions/46131196/com-netflix-discovery-share
阅读全文
posted @ 2018-11-14 15:17
qqisnow2021
阅读(112)
推荐(0)
摘要:
https://wenku.baidu.com/view/82de6635856a561253d36fd3.html
阅读全文
posted @ 2018-11-12 16:37
qqisnow2021
阅读(269)
推荐(0)
摘要:
https://wenku.baidu.com/view/a7a1c0ebf8c75fbfc77db2c6.html
阅读全文
posted @ 2018-10-24 17:28
qqisnow2021
阅读(106)
推荐(0)
摘要:
http://codekarate.com/daily-dose-of-drupal有很多drupal模块的介绍git clean -df//快速把数据表sql文件插入数据库并突破phpmyadmin的大小限制source C:\Users\qqin\Downloads\devportal-with
阅读全文
posted @ 2018-10-17 14:50
qqisnow2021
阅读(164)
推荐(0)
摘要:
If you want to see the files inside the untracked folder:git status -uDrupal Console.composer require drupal/console:~1.0.0@rc然后到bin下就可以运行drupal命令了 cu
阅读全文
posted @ 2018-10-17 14:13
qqisnow2021
阅读(203)
推荐(0)
摘要:
http_proxy=http://[IP_ADDRESS]:[PORT_NUMBER]Git bash 有时候连不上网络,composer加载不来,这是可能是要设置proxy了 怎么设置呀, 这个就不知道了. bash里面是可以运行 chmod 的, 但没有 sudo
阅读全文
posted @ 2018-10-17 13:56
qqisnow2021
阅读(319)
推荐(0)
摘要:
magento生成自动加载类文件composer dump-autoload -o --apcuGIT BASH也可以查找文件里面是否有字符串grep ample app/etc/config.phpdrush eval "variable_set('mail_system', array('def
阅读全文
posted @ 2018-10-17 13:18
qqisnow2021
阅读(103)
推荐(0)
posted @ 2018-10-17 13:10
qqisnow2021
阅读(0)
推荐(0)
摘要:
https://ke.qq.com/webcourse/index.html#cid=249350&term_id=100294029&taid=1642451328814598&vid=b14215zb1rs
阅读全文
posted @ 2018-10-16 07:50
qqisnow2021
阅读(113)
推荐(0)
摘要:
<?php/* if(isset($a['b']['c'])){ var_dump('a b c');}else{ var_dump('not-a-b-b-c');} *///string(11) "not-a-b-b-c" //根本不会报错的/* $abc = [];if(is_array($ab
阅读全文
posted @ 2018-10-01 15:51
qqisnow2021
阅读(277)
推荐(0)
摘要:
https://i.stack.imgur.com/EmzXy.gif https://stackoverflow.com/questions/48442/rule-of-thumb-for-choosing-an-implementation-of-a-java-collection
阅读全文
posted @ 2018-09-27 13:32
qqisnow2021
阅读(125)
推荐(0)
摘要:
http://www.importnew.com/24822.html
阅读全文
posted @ 2018-09-27 08:14
qqisnow2021
阅读(85)
推荐(0)
摘要:
启用之后本地PHP文件修改不发生作用恐怖
阅读全文
posted @ 2018-09-21 10:58
qqisnow2021
阅读(117)
推荐(0)
摘要:
既然是信息社会那么到处都是信息当我们碰到接触到某个信息时如何获取到有用的信息对解决问题有帮助的信息--全面获取信息 然后筛选如果获取的信息不全面,筛选出有用信息的可能性会降低仔细的揣摩信息, 抓住选出关键词, 信息总是关键的表达,把这个地方找出来从信息的来龙去脉来了解
阅读全文
posted @ 2018-09-10 15:02
qqisnow2021
阅读(163)
推荐(0)
摘要:
https://knpuniversity.com/screencast/behat/installBEHAT安装GITHUB SEARCH --还有人drupal/drupal-extend不知道是不是有问题
阅读全文
posted @ 2018-08-29 18:02
qqisnow2021
阅读(181)
推荐(0)
摘要:
http://www.seleniumtests.com/2008/09/how-to-over-come-failed-to-start.html
阅读全文
posted @ 2018-08-28 19:02
qqisnow2021
阅读(320)
推荐(0)
摘要:
https://blog.csdn.net/u011694328/article/details/52325442https://www.lullabot.com/articles/using-the-template-method-pattern-in-drupal-8据说是drupal 8 Pl
阅读全文
posted @ 2018-08-26 22:51
qqisnow2021
阅读(122)
推荐(0)
摘要:
到mysqldump目录下,mysqldump -h mysqldump --help-- 出现很多的文档内容 太多了-- 直接用简洁的-- mysqldump -uroot -proot --databases d855klh > /c/tmp/abc.sql晚上一直不成功 说语法错误,应该是不能
阅读全文
posted @ 2018-08-23 07:38
qqisnow2021
阅读(98)
推荐(0)
摘要:
在没有加载Local.services.yml设置cache null的情况下比如我在controller下面返回一个render array里面设置了一个#cache后面再访问这个路径就没有更新说明缓存了
阅读全文
posted @ 2018-08-06 10:57
qqisnow2021
阅读(78)
推荐(0)
摘要:
ctrl + shift + delctrl + r
阅读全文
posted @ 2018-08-01 09:34
qqisnow2021
阅读(124)
推荐(0)
摘要:
Drupal Console.composer require drupal/console:~1.0.0@rc然后到bin下就可以运行drupal命令了
阅读全文
posted @ 2018-07-31 17:22
qqisnow2021
阅读(108)
推荐(0)
摘要:
有时候会遇到json_decode()解析的字符串中有个长整型,解析成1.0E….之类的溢出问题。解决办法根据php的版本不同而不同:PHP5.4以上的可以配置下json_decode(),解析的时候这么写就好//$de_res为需要解析的值;json_decode($de_res,true, 51
阅读全文
posted @ 2018-07-23 14:57
qqisnow2021
阅读(208)
推荐(0)
摘要:
https://www.nczonline.net/blog/2009/05/05/http-cookies-explained/ Cookie small files of information that a web server generates and sends to a web bro
阅读全文
posted @ 2018-07-23 14:11
qqisnow2021
阅读(202)
推荐(0)
摘要:
https://stackoverflow.com/questions/123999/how-to-tell-if-a-dom-element-is-visible-in-the-current-viewport/7557433#7557433
阅读全文
posted @ 2018-07-20 11:24
qqisnow2021
阅读(160)
推荐(0)
摘要:
每一个block的类都有getcachecontext getcachetags getcachemaxage的方法 这个和build返回的数组的#cache设置是基本冲突的 , 有一个就没有另一个。block的默认缓存时间是不过期
阅读全文
posted @ 2018-07-16 18:15
qqisnow2021
阅读(126)
推荐(0)
摘要:
$values = [ 'entity_type' => 'node', 'entity_id' => '1', 'field_name' => 'comment', 'comment_type' => 'comment', ]; $comment = \Drupal::entityTypeMana
阅读全文
posted @ 2018-07-16 16:33
qqisnow2021
阅读(221)
推荐(0)
摘要:
如果用方法有时候加载出来的变量的提示不多,不方便所以,多用有提示的方式来写,可能是个好的选择
阅读全文
posted @ 2018-07-11 16:48
qqisnow2021
阅读(165)
推荐(0)
摘要:
到mysql安装目录cd binmysql -uroot -p''show databases;show tables;select * from users\G; 重新登录到localhost/phpmyadmin就可以登录了 https://wenwen.sogou.com/z/q6590851
阅读全文
posted @ 2018-07-10 14:03
qqisnow2021
阅读(221)
推荐(0)
摘要:
function add(int $a,int $b):float{ return $a+$b;}$add = add('4',5);var_dump($add); function add(int $a,int $b):int{ return $a+$b;}$add = add('4',5);va
阅读全文
posted @ 2018-07-09 17:32
qqisnow2021
阅读(274)
推荐(0)