朋友去年骑行去珠海,今年老早就嚷着告诉我赶快买车。好吧,买辆美利达勇士,速干衣、手套、车灯……乱七八糟的一大堆东西。 国庆来了,7天长假……结果—被放鸽子了。很生气,一个回家,一个在赚外快。算了,想想还是有必要去珠海一趟。完上联系去群友,都没时间去,或者说大部分1号已经出发了。那就疯狂一回吧,反正有些时候总要一个人去做些事情的。查查百度地图给的线路是这样的 这地图路线不对,怎么绕到广州去了,在网上找到的是从虎门渡轮过去,直接到广州南沙区的,按地图提示岂不是绕了一大圈子冤枉路。不能这样去查地图,那就先分阶段骑行。 第一阶段从深圳到虎门轮渡。 第二阶段从广州南沙区到中山。 第三阶段从中山到珠海。 那么,先从第一阶段开始吧。
最新文章
A friend rode to Zhuhai last year, and this year he started pestering me early on to hurry up and buy a bike. Fine — I bought a Merida Warrior, plus quick-dry clothing, gloves, bike lights… a whole pile of odds and ends. National Day arrived, a 7-day holiday… and then — I got stood up. Very annoying: one went home, the other was out making extra money. Forget it, I figured a trip to Zhuhai was still worth it. In the evening I got in touch with some group friends, but none of them had time, or rather most had already set off on the 1st. Then let’s go wild once — sometimes you just have to do things alone anyway. I checked the route Baidu Maps gave, and it looked like this: this route is wrong, why does it loop all the way over to Guangzhou? What I found online was to cross by the Humen ferry and go straight to Nansha District in Guangzhou. Following the map’s suggestion would mean a big pointless detour. I can’t plan the route that way, so I’ll ride it in stages first. Stage one, from Shenzhen to the Humen ferry. Stage two, from Guangzhou’s Nansha District to Zhongshan. Stage three, from Zhongshan to Zhuhai. So, let’s start with stage one.
最近在弄快递对接这块json提交数据,并返回json数据,如下 显示的是一个json数组,头顿时大了,以前只json数据,json数组…… 各种尝试data.kind有数据,data.track_data缺没数据,很奇怪。json数组看来不是这样就能解析的。 接下来尝试用for循环,还是木用。 时间不能浪费在这,果断用度娘(谷歌vpn封了),终于找了好久找到答案了$.each,官方手册是这样解释它的:each(callback)
以每一个匹配的元素作为上下文来执行一个函数。 先第一次执行 $.each(data.teack_data,function(a,b){ $.each(b,function(a1,b1){ //第二次执行 alet(b1.info); //你需要的数据 }); });
Recently I’ve been working on courier integration, submitting data as json and getting json data back. As shown below, what’s displayed is a json array, and my head immediately ached — before it was only json data, json arrays… After all kinds of attempts, data.kind had data but data.track_data had none, which was very strange. It seems a json array can’t be parsed that way. Next I tried a for loop, still useless. I couldn’t waste time on this, so I resolutely turned to Baidu (Google’s vpn is blocked), and after searching for a long while I finally found the answer: $.each. The official manual explains it like this: each(callback)
Execute a function with each matched element as the context. First, the first execution $.each(data.teack_data,function(a,b){ $.each(b,function(a1,b1){ //second execution alet(b1.info); //the data you need }); });
一款用了三个多月的国产手机屏幕变得明亮、清晰。 手机总是发热消耗电量,几乎是一天一充电。感觉好怪,卸掉大半的不常用app,从系统电池检测到手机桌面用电率最高。这让我很困惑,屏幕亮的时间最少何来费电。尝试着把手机默认的壁纸更换成我拍的海景照,瞬间手机桌面变得清晰起来…… 有时候换换环境是好的,尽管你还没找到你要的。时间开始在毕业的季节里,而今我们或成家或奔波或忙碌而收获着。依旧跟时间赛跑着,而那时已不再来。 环境决定你要成为什么,你要有什么。 手机屏幕亮了,我顿时想到了一些东西。 初次,或者说的第一次,来到深圳的日子里,有着痛苦、无助。刚来是为了生存而生存,呆在流水线上。我不想要这样的生活枯燥、重复、乏味。要么改变,要么换地方,改变已经行不通,那就离开。曾觉得生活好累,好想放弃。 来开安稳的流水线上,日子过得相当流窜。曾有过这一切,如今浮云不返。 改变你的不仅仅是时间,还有环境…… 我喜欢这偶然的获得、瞬时的顿悟。我来了,不再祈求……
After a bit more than three months of use, a domestic phone’s screen suddenly became bright and crisp. The phone was always running hot and draining battery, needing a charge almost every day. It felt strange, so I uninstalled more than half of the apps I rarely used, and the system battery monitor showed the home screen was using the most power. That puzzled me — the screen was on for the least amount of time, so how could it be the biggest drain? I tried changing the phone’s default wallpaper to a seascape photo I had taken, and in an instant the home screen became crisp…… Sometimes changing your surroundings is a good thing, even if you haven’t yet found what you’re looking for. Time began in graduation season, and now we either start families or rush about or stay busy and reap the rewards. Still racing against time, but those days will not come again. Your environment determines what you become and what you have. The phone screen lit up, and I suddenly thought of something. The first time, or rather the very first time, I came to Shenzhen, there was pain and helplessness. I came at first just to survive, working on an assembly line. I didn’t want that kind of life — dull, repetitive, insipid. Either change or change places; changing wasn’t working, so I left. I once felt life was so exhausting that I wanted to give up. Off the steady assembly line, the days went by quite rootlessly. I once had all of it, and now it drifts away like clouds and does not return. What changes you is not only time, but also your environment…… I love these accidental gains, these momentary flashes of insight. I have come, and I no longer beg……

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Update, upgrade, and distribution upgrade
apt-get install alsa-utils -y Make sure sound is emitted at startup
apt-get install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller -y Install File Roller (archive manager)
As domestic website development has matured, plenty of companies have started asking for improvements to their admin interfaces. What follows is how to build a side navigation menu with jQuery. Requirement: make a navigation where clicking a different link shows the corresponding content. First, build a basic HTML and CSS layout
Next, do a bit of simple analysis. The submenu content is hidden when the page opens; when you click a navigation link with the mouse, an action fires that displays the hidden sub-navigation. That’s show() to display and hide() to hide
With that, tune the corresponding CSS and the effect appears
Finally, here is the complete code
写phpd的我。最近公司要弄个app关键是没有web开发,而我有比较闲,那就扛枪上阵吧。 响应式布局,web端的?php我一直都是用tp框架,对于web首先想到的是bootstrap框架。只是简单了解过,没真正实践啊,bootstrap比我想象的要好用的多。关键是,关键来了…… app端是只有手机的,pc基本上木有。那就是说只能按照手机端开发,那么boostrap响应式布局就不适用于app了(反正我是做了一套半成品,被推翻了)。不能愉快的工作了,好不淡定的时间。。百度,百又问问同事,发现了amaze ui也就是妹子框架,终于可以省事了,太高兴了。 amaze框架下载后是一套让人极其郁闷的示例包,文件引入是分开来介绍的,如果你不仔细看文档,会很痛苦的(因为我就是如此,好折磨人)。 好了附上amaze的引入文件,仅供大伙参考。
对了手机端要在头部加上这句话
Me, a PHP developer. Recently the company wanted to build an app, but the key issue was that there was no web developer, and I had a fair amount of free time, so I picked up the gun and went into battle. Responsive layout, on the web side? For PHP I had always used the tp framework, and for the web the first thing that came to mind was the bootstrap framework. I had only casually read about it and had never really practiced it — bootstrap turned out to be much easier to use than I imagined. The key thing is, here comes the key point… the app side is phones only, there are basically no PCs. That means it can only be developed for mobile, so bootstrap’s responsive layout does not apply to the app (anyway, I built a half-finished set and it got rejected). I could not work happily anymore, and it was a very restless time… Baidu, and asking colleagues again, I discovered amaze ui, that is, the “girl” framework, and finally I could save myself some trouble. So happy. After downloading the amaze framework, it is an extremely frustrating sample package: the file inclusions are introduced separately, and if you do not read the documentation carefully you will suffer greatly (because that is exactly what happened to me — so torturous). Alright, here are the files to include for amaze, for everyone’s reference.
By the way, on the mobile side you need to add this line in the head
- 工行95588 名下所属银行卡储蓄卡或借记卡仅限一张免年费,前提是必须到银行网点申请取消年费。
- 中行95566 名下已有住房公积金或社保联名卡就不能再申请免年费服务,即仅限一张卡免年费。必须到网点申请
- 平安银行95511-3 本身已经免年费要收取账户管理费(其实我感觉都一个样换汤不换药)。普卡每月储存金额低于1000收取2元管理费, 金卡每季度存储低于5W收取管理费15元。普卡可以到网点申请取消账户管理费,金卡不可以。
- 农行95599 名下所属银行卡储蓄卡或借记卡只能申请一张免年费服务。必须到网点申请
- 交行95559 名下所属银行卡储蓄卡或借记卡只能申请一张免年费服务。必须到网点申请
- 邮政95580 “储蓄卡有好多种有的可以免年费有的不能免年费,要免年费到网点工作人员那面,看看是不是免年费的卡”(电话咨询的,客服是个男的,感觉很晕)
- 招行95555 名下所属银行卡储蓄卡或借记卡只能申请一张免年费服务,如果有代发工资的卡是减免年费的。自己可以在招行网上银行年费服务中申请减免年费
- 建行95533 名下所属银行卡储蓄卡或借记卡只能申请一张免年费服务。必须到网点申请
- ICBC 95588 Only one savings card or debit card under your name is eligible for an annual fee waiver, and the prerequisite is that you must apply at a bank branch to cancel the annual fee.
- BOC 95566 If you already have a housing provident fund or social security co-branded card under your name, you cannot apply for the annual fee waiver service, i.e. only one card can have its annual fee waived. You must apply at a branch
- Ping An Bank 95511-3 There is no annual fee to begin with, but an account management fee is charged (honestly I feel they’re all the same — a different soup in the same old bottle). For an ordinary card, if the monthly balance is below 1000, a 2 yuan management fee is charged; for a gold card, if the quarterly balance is below 5W, a 15 yuan management fee is charged. Ordinary card holders can apply at a branch to cancel the account management fee; gold card holders cannot.
- ABC 95599 Only one savings card or debit card under your name can apply for the annual fee waiver service. You must apply at a branch
- BOCOM 95559 Only one savings card or debit card under your name can apply for the annual fee waiver service. You must apply at a branch
- Postal Savings Bank 95580 “There are a lot of different savings cards; some can have the annual fee waived and some can’t. To waive the annual fee, go to the staff at a branch and check whether your card is one that qualifies for the waiver” (this was from a phone inquiry — the customer service rep was a man, and I felt pretty confused by it)
- CMB 95555 Only one savings card or debit card under your name can apply for the annual fee waiver service; if you have a card used for payroll distribution, its annual fee is waived. You can apply to waive the annual fee yourself in the annual fee service on CMB’s online banking
- CCB 95533 Only one savings card or debit card under your name can apply for the annual fee waiver service. You must apply at a branch
最近在做响应式布局适应不同分辨率的屏幕,太痛苦了,摸着石头过河。之前没有做过这块,手机端又不是很在行,ipad/iphone/三星……一大堆不同的屏幕,如何测试呢,总不能买一大堆设备吧。
偶然间发现谷歌浏览器(最新版)可以缩小来实现,这样又有问题了,分辨率是多少呢?发现新方法了,废话不多说了,直接上教程。 1.在谷歌浏览器打开你要测试的网页按键盘F12,打开网页调试 2.点击调试工具右上角形似菜单的图标 3.这时候你会发现紧挨着浏览器底部有一排英文菜单 4.把菜单往上拉出来,点击第三个菜单 5.点击打开菜单下面的手机标示 6.如此便是手机设计效果 7.有2个地方可以选择不同的分辨率及屏幕对应的像素 8.下次打开就直接点击F12,然后左上角的手机标示就可以切换
I’ve been doing responsive layouts that adapt to screens of different resolutions lately, and it’s been really painful — crossing the river by feeling for the stones. I hadn’t done this before, and I’m not all that good with the mobile side either: iPad/iPhone/Samsung…… a whole pile of different screens. How are you supposed to test them? You can’t exactly go and buy a pile of devices.
By chance I discovered that Google Chrome (the latest version) can do it by shrinking, but then another problem came up: what resolution is it? I’ve found a new method, so without further nonsense, straight to the tutorial. 1. Open the web page you want to test in Google Chrome and press F12 on the keyboard to open the page debugger 2. Click the icon in the top-right corner of the debugging tool that looks like a menu 3. At this point you’ll notice a row of English menus right next to the bottom of the browser 4. Pull the menu up and click the third menu 5. Click the phone icon below the opened menu 6. That gives you the mobile design effect 7. There are 2 places where you can choose different resolutions and the pixels that correspond to the screen 8. Next time you open it, just press F12 and then the phone icon in the top-left corner lets you switch
什么是居住证签注制度?
居住证
签注制度
居住证将实行签注制度。每年签注一次。持证人可以自居住证签发之日起每满一年前六十日内申办居住证签注。逾期不签注或者签注有效期届满的,使用功能中止。申办居住证签注应当同时符合“两个条件”:
What is the residence permit endorsement system?
Residence Permit
Endorsement System
Residence permits will implement an endorsement system. An endorsement is made once a year. A holder may apply for a residence permit endorsement within the sixty days before each full year counted from the date the residence permit was issued. If the endorsement is overdue or the endorsement validity period has expired, the permit’s functions are suspended. Applying for a residence permit endorsement must satisfy “two conditions” at the same time:
QMeter
jQMeter is a simple, lightweight jQuery plugin that lets you show horizontal or vertical progress bars with animation. It currently provides growth or completion display effects for a target and a specific amount, and you can click here to check out the other available options. Prism Effect Slider
