上海住房公积金提取:出境定居 新加坡绿卡

Categories: 分享; Tagged with: ; @ September 1st, 2016 16:35

背景:

我在2012年离开上海,  离职时HR给我一张小纸条, 通知我的公积金已经转移到”封存办”.  之后出国工作并定居(绿卡). 最近回到上海, 将公积金取出.

政策: 

http://www.shgjj.com/html/ywzntq/74233.html

1、身份证明材料原件和复印件…

2、提取原因证明材料原件和复印件:

出境定居的户籍证明或出境定居的签证及其出入境管理部门或上海市外国语大学出具的翻译件;

3、其他证明材料:

提取人获取下列证明材料时,应向相关单位或部门提供上述身份证明材料和提取原因证明材料。

(1)住房公积金账户在单位的提供单位出具的《上海市住房公积金提取证明》;

(2)住房公积金账户在“上海市公积金管理中心住房公积金集中封存专户”的提供上海市公积金管理中心业务网点出具的《上海市住房公积金提取证明》、《入管封存户申请住房公积金提取审核单》;

(3)自愿缴存者提供住房公积金账户所在地的上海市公积金管理中心业务网点出具的《上海市住房公积金提取证明》、《自愿缴存户申请住房公积金提取审核单》。

具体过程:

  1. 回到老家办理身份证, 时间原因只拿到一张临时身份证;
  2. 上海出入境管理局(民生路1500号) 翻译出境定居的资料. (外包的,  翻译了我持有的绿卡, 约一小时拿到翻译件)
  3. 浦东公积金办公室 (浦城路812号), 出具《上海市住房公积金提取证明》、《入管封存户申请住房公积金提取审核单》. 被告知临时身份证不能有效的验证真假. 我提示了一下临时身份证的法律地位: “临时居民身份证具有证明公民身份的法律效力。公民从事有关活动,需要证明身份的,有权使用临时居民身份证证明身份。有关单位及其工作人员不得拒绝。”  并提供了护照, 之前持有的上海居住证等辅助证件.  办事员请示领导后给我开了我需要的两个单子.
  4. 建设银行 公积金柜台, 提供之前的翻译件, 以及公积金办公室拿到的两个单子,  继续被抱怨临时身份证, 最终拿到支票一张.
  5. 建设银行 第二天后, 支取现金支票, 拿到现金. 结束.

结论/点评

提取流程透明流畅, 点赞!

Installing ipkg and Python on ASUS RT-N56U Router (Busybox)

Categories: Linux; Tagged with: ; @ May 15th, 2016 15:59
  1. enable ssh
  2. mount your usb drive – make sure it’s not vfat, you may need to format your disk:
    # mkfs.ext4 /dev/sda1
  3. update ipkg.sh:
    # mkdir -p /media/AiDisk_a1/opt
    # mount -o bind /media/AiDisk_a1/opt/ /opt/
    # mkdir -p /opt/tmp/ipkg
    # ipkg.sh update
  4. install ipkg:
    # ipkg.sh install ipkg-opt
  5. install python:
    ipkg install python27

Useful links:

ASUS RT-N56U or hardware NAT acceleration

Error Message:

Unpacking ipkg-opt...tar: can't create symlink from ./opt/bin/ipkg-opt to ipkg: Operation not permitted
tar: can't create symlink from ./opt/lib/libipkg.so to libipkg.so.0.0.0: Operation not permitted
tar: can't create symlink from ./opt/lib/libipkg.so.0 to libipkg.so.0.0.0: Operation not permitted
Done.
Configuring ipkg-opt...Done.

Make sure that your usb drive is not ‘vfat’

Enabling SSH on ASUS RT-N56U Router

Categories: Development NotesLinux; Tagged with: ; @ May 15th, 2016 15:36

the default firmware doesn’t provide the SSH feature, however, with the help of padavan‘s rt-n56u project, you may enable it:

This project aims to improve the rt-n56u and other supported devices on the software part, allowing power user to take full control over their hardware. This project was created in hope to be useful, but comes without warranty or support. Installing it will probably void your warranty. Contributors of this project are not responsible for what happens next.

How do I get set up?

What I did:

  1. download RT-N56U_3.4.3.9-099_base.trx
  2. login to the router setting dashboard, and upgrade the firmware by selecting the downloaded file.
  3. after couple minutes,  my router reset, I connect to the router via cable, and setup wifi. (you may try ‘1234567890’ to connect to your wifi network if you cannot connect to it directly)
  4. login to the router setting dashboard, you’ll find a new UI! navigate to: Advanced Settings > Administration > Services to setup your ssh server.  more details: https://bitbucket.org/padavan/rt-n56u/wiki/EN/CommonTips

程序员的数学 读书笔记

Categories: Development Notes; Tagged with: ; @ May 1st, 2016 17:57

我相信多数人看到这本书之后可能都会轻轻一笑,这太简单了。可对我来说,大多数概念都已经变的很陌生, 粗略读了一遍,顺便复习曾经熟悉的那些数学基础。

零,二进制,十进制,指数

  • 十进制/二进制转换
  • 十进制/罗马数字转换
  • 指数: N^a X N^b = N ^(a+b)
  • 给定一个十进制数字,如何检查该数字是不是2的平方?O(log n) ? O(1)?
  • Counting Bits

余数, 周期性, 分组

排列组合

三种药品,A, B, C 共取100粒,每种至少一粒,不考虑顺序,共有多少种组合方式?

递归

指数

  • 一张厚度为1 mm纸只需要对折39次就可以达到39万公里 -地球与月球之间的距离
  • Binary search algorithm

 

 

How to reset MySQL root password

Categories: Database; Tagged with: ; @ May 1st, 2016 15:27

I lost root’s password, again.

stop MySQL

we need to stop mysql and start it in safe mode.  I tried many ways to kill mysql, but only this works for my Ubuntu 14.04:

[email protected]:/usr/bin# initctl --system stop mysql

start MySQL in safe mode, set new password for root

sudo mysqld_safe --skip-grant-tables &
mysql -uroot
use mysql;
update user set password=PASSWORD("new_password") where User='root';
flush privileges;
quit
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start

you may try to login using the new password now:

mysql -u root -p

store/update MySQL password in ~/.my.cnf

if you’re using a password file, remember to update it.

[client]
user=root 
password=new_password

useful links
http://stackoverflow.com/questions/18733944/ubuntu-cant-stop-mysqld
https://www.digitalocean.com/community/questions/setup-mysql-on-ubuntu-droplet-getting-error-error-1045-28000-access-denied-for-user-root-localhost-using-password-yes

Newer Posts <-> Older Posts



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.