Text
早上折腾的
pyc反编译,用uncompyle6
pip install uncompyle6
用python打包成exe的方法研究,可以打成很小的exe
还顺便看了一下搜狗提供的代理服务器,搜狗为它的浏览器布署了很多代理服务器,安全性不知道,与搜狗浏览器有一点私有的交互吧。出口在亚马逊,用的AWS吧?
看了一个python的 WSGI实现bottle,只有一个文件。准备用它实现用户交互,不上gui了
0 notes
Text
安装jupyter lab在公网上使用
JupyterLab在本机上使用已经很爽了,但有时想在公网上使用一下,别人的都有点慢,准备自己跑一个
安装
sudo apt install python3
装pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python get-pip.py
装jupyterlab
sudo apt install jupyter-core pip install jupyterlab
下边是jupyter lab的配置
jupyter lab --generate-config jupyter lab password
然后可以编辑 ~/.jupyter/jupyter_lab_config.py 配置文件
c.NotebookApp.open_browser = False c.NotebookApp.ip = '*' c.NotebookApp.port = 8888 c.NotebookApp.certfile = u'/home/[Path]/ssl_cert/lab.pem' c.NotebookApp.keyfile = u'/home/[Path]/ssl_cert/lab.key'
生成自签证书
mkdir ~/ssl_cert && cd ~/ssl_cert openssl genrsa -out lab.key 2048 openssl req -new -key lab.key -out lab.csr openssl x509 -req -days 365 -in lab.csr -signkey lab.key -out lab.pem
OK,可以启动了
jupyter lab& disown
0 notes
Text
We are looking for Volunteers for Ecological Farm
In 2015, Xinjiang Abram Farm joined the WWOOF ” World Wide Opportunities On Organic Farms”. Over the years, we have had volunteers from Thailand, Belgium, U.S.A and China who have shared their farming experience, lived with locals, lent their helping hands, in these ways, WWOOFer gained a wonderful enriching experience and cultural exchange with locals. In 2020, we are looking for more volunteers to come and join us!
About Abram
Xinjiang Abram Farm is located in Qapqal Xibe Autonomous County, Ili Kazak Autonomous Prefecture, Xinjiang, China, which is 40km South from Yining city. The farm covers an area of 33 hectares with Wu Sun mountain in the South and Ili Valley as well as Tianshan Mountains in the North. The elevation is approximately 1,000 meters.
The main produce of the farm includes:
Farming fruits like the apricots, flat peaches, plums and apples in traditional way;
Free range cows and chickens. Livestock and Plants live with each other. As animals enclosed on the pasture, they leave behind their droppings and urine. It all circles back to the health of the soil;
Planting and breeding roses and hydrangeas. Building a roses garden to enrich the living environment;
Building an ecological restaurant by using our self-produced food.
Volunteer Recruitment
01 Planting
We use farming machines and manual labor to grow our plants.This area of responsibility includes the following tasks:
Cutting branches;
Cutting grass;
Thinning branches and fruits;
Picking fruits;
Fertilizing.
We prefer volunteers who are:
Experienced in managing farming machines, or who have maintenance skills;
Experienced with any farming techniques.
02 Cultivation
This area requires the following to be done:
Taking care of cows and calfs (collecting and cutting grass for breeding, refilling drinking water) ;
Collecting eggs;
Taking care of rabbits.
We prefer someone who is:
1) Majored in related subjects, for example Animal Medicine;
2) An animal lover who is able to offer manual labour.
03 Gardening
We need helping hands on roses and vegetables by:
Breeding seeds;
Weeding and watering;
Composting;
Vegetables and flowers picking and sorting.
We prefer someone who has:
Grafting skills;
Gardening design and knowledge;
Flower arrangement and dried flower making skills.
04 Catering
In our open kitchen, you are responsible for:
Preparing Chinese or Western cuisine for guests;
Preparing meals for staff;
The cleanliness of the public area.
If you are:
Experienced cooks skilled at Chinese or Western cuisines;
A bartender;
Have bakery experience;
An organic food lover ( We have self-produced milk and wild herbs in the farm), and is passionate in cooking and creating.
05 Interaction
We would like to have someone who can help with interaction for family groups as well as company groups.
Organizing teenagers to DIY, drawing, hiking or camping;
Coordinating for company groups;
Filming and producing videos.
We prefer:
Educators;
Who are caring and patient.
Some specific requirements for Volunteers:
Age:18–60, or up to 65 years old if with outstanding expertise
Working hours:6–8 hours daily
Working days: minimum 1 week, maximum 3 months
Days off: 2 days per week
Number of volunteers:1–8
Volunteers
Please understand that there is no pay for this program as we provide accommodation and meals.
We will offer:
Suitable and sanitary living accommodation( bunk beds);
3 meals daily, fresh self-produced fruits in summer and fall;
Weekly team building like road trips, hiking, camping, or visiting local minority villages on your day off by sharing bills;
One complimentary 3–5 day trip at Ili,Xinjiang for volunteers who complete 3 months program;
Certification will be provided if needed;
Enjoy VIP benefits, i.e. discount on self-produced fruits and vegetables, accommodation and meals, etc.
This would be a great opportunity for those who love nature and farming. Please feel free to contact us by email or phone, we would love to hear from you!
Karen
Email: [email protected]
Mr. Situ
Email: [email protected]
Follow Us
Wechat ID:abramxj3n xjzyrgzh
Ecological Farm|Travel In Xinjiang|Private Garden
0 notes
Text
Linux4种方法得到公网IP
4 Ways to Find Server Public IP Address in Linux Terminal
$ dig +short myip.opendns.com @resolver1.opendns.com
$ host myip.opendns.com resolver1.opendns.com | grep "myip.opendns.com has" | awk '{print $4}'
$ wget -qO- http://ipecho.net/plain | xargs echo $ wget -qO - icanhazip.com
$ curl ifconfig.co $ curl ifconfig.me $ curl icanhazip.com
0 notes
Link
0 notes
Text
2018 Apricot Valley Trip
原创 2018-02-08 XJ Abram Farm
新疆亚伯兰庄园动态
Spring wouldn’t be far away if the Winter is already here. Journey of chasing Spring to Ili, here we come!
Step by step, we are closer and closer to the Spring...
youtube
Journey of Chasing Spring
The quiescent emotions of winter will bloom as the Spring approaches. Far away from the mainland, the apricot flowers blossom silently in Xinjiang Ili.
Apricot Valley(杏花沟)
Apricot Valley is a treasure house of beauty in spring.
Ku'erdening(库尔德宁)
We can say, the apricot flowers from Tuergen are elegant and sophisticated, while the ones from Ku'erdening, the other side of the mountain, are more vivid and merry. The beautiful panorama of the communication between grazing cows and blooming flowers enthrall photographersfrom around the world.
Accompanied by sheep and Shepherd Song on the way.
Daxigou Valley(大西沟)
Deep in the Tianshan Mountains, there lies Daxigou Valley. The apricot flowers hide in there, uncovering them gives a feeling of novelty. Snow-covered mountains, grasslands, green trees, wild flowers and yurts, providing your hiking trip like visiting The Peach Blossom Land beyond this world.
A random twirl of apricot flower in the yard of Uyghurs make us smile on faces.
Wild Apricot Valley(野杏沟)
The wild apricots also deserve a chance to display their pretty in Spring.
Wildflowers
The blossoming wildflowers deserve the bow of passers by to capture this moment of allure.
Different types of wildflowers cover the whole mountain, competing their beauty with each other.
Sayram Lake(赛里木湖)
The last tear of the Atlantic! The charm of Sayram Lake mold peculiar to each season while still holding the high norm of beauty. She is an icy Goddess!
The Fun of North-west Farm
The Muslim workers perform Zabah Halal(permissible slaughter) while reading the scriptures from Quran. To understand the local culture by living with them!
Food, is another indispensable travel experience, especially the ecological food from eco-farm!
Living
Youth hotels in the Farm are filling with sunshine.
Yining Ili River-view apartments.
Special experience in Yurt.
Visiting the old street in Yining.
Travelling
Off road vehicl and MPV
Special point of the journey
Trip of Chasing Spring Flowers. Visiting: Apricot Valley of Tuergen, apricot flowers from snow-covered mountains (recommend by photographer), apricot flowers of Daxigou Valley, wild flowers of pasture from snow-covered mountains, and Yining old streets.
Personalized linesfor photography enthusiasts and hiking hobbyist.
The sunrise and sunset of Sayram Lake and the ice flower on the surface.
Culture: understanding Uygur, Xibe, Kazakh villages.
Enjoy the Northwest eco-pure natural pollution-free food. Experience sheep slaughtered, BBQ, taste Xinjiang dishes: pepper chicken, big dish chicken.
Professional drivers, familiar with routes, proficient in a variety of minority languages.
Sign Up
Activities Time: April 2018 (starting and ending in Yining).
Registration Required: name, gender, ID number, phone number, WeChat.
Travel: Off-road vehicles, SUVs, MPVs, tourist buses.
Members: minimum 3 people.
Guarantee: Personalized private small group tours, no tourist group agency
Service Agreement:
The registration successed only after the fee is paid
Single room need to addition the room price difference
Before travelling, according to the weather, flowering and other factors, we have the right to adjust the route of spots or the order of spots.
Fee Including
Fare: Full trip fare, fuel costs, tolls
Tickets: Natural Scenic Area's first ticket and shuttle bus
Room: hotel (2 nights), Yining Ili River View Apartment or Manor Youth Hostel (5 nights), Apricot Valley Mongolian felted lodging (1 night)
Drivers and team leader costs
Insurance: travel accident and injury insurance 500,000 yuan
Meals: Breakfast (excluding meals).
Free farm lamb hot pot, kebabs, the value of 388 yuan dinner once
Fee Excluding
Tickets of coming and leaving Urumqi or Yining
Meals on the way(scenic meals normally 20-40 yuan / person meals), lunch and dinner
Personal entertainment: riding, archery and so on
Journey Description
Day 1: Yining pick-up, visit Yining Street, Ili River sunset photography, Accommodation Yining Ili Riverview Apartment or Manor Youth Hostel
Day 2: To Sayram Lake - The Last Tear of the Atlantic. Shooting sunset and ice of lake. Accommodation only in the snow-capped mountains hotel
Day 3: Sayram Lake sunrise shooting, Xinjiang's most spectacular Guozigou Bridge shooting. Departure to Tuergen apricot valley, hiking, waiting for the sunset. Accommodation characteristic yurts
Day 4: Apricot Valley Sunrise, valley photographing and hiking, afternoon departure to Xinyuan Town. Accommodation in Xinyuan’s hotel.
Day 5: Ku'erdening apricot shooting, Ku'erdening is a mountain range parallel with the snow-capped mountains, is also the largest cedar protection zone, is the world photographers recommend spot for shooting apricot. Accommodation Yining Ili River Riverview apartment or manor youth hostel
Day 6: Yining to Kanxiang wild apricot valley flower shooting different types of apricots and the wild tulip. Presented: Manor lamb hot pot, kebabs, experience Northwest China farm food. Accommodation Yining Ili Riverview apartment or Manor Youth Hostel
Day 7: Starting from Yining, to Daxigou to photograph blossom by hiking, to Xinjiang's largest port in the afternoon: Horgos Port (China and Kazakhstan ports). Accommodation Ili Riverview Apartment or Manor Youth Hostel
Day 8: Ili River Sunrise Photography, visit Kansaiqi Garden in Yining: Uyghur Courtyard, follow the branches of apricot and wildflowers, taste local food, freely purchase local lavender essential oils and other cosmetics. Accommodation Yining Riverview Apartment or Manor Youth Hostel
Day 9: Send to Yining airport for flight. End of the trip.
Xinjiang travelling attention
As a unique and complete tourist area integrating history, culture, ethnic customs and exotic scenery, Ili is attracting more and more tourists from all over the world. The trip to Xinjiang must pay attention to the following
Warm clothing: Xinjiang is chilly during this season, the weather repeated hot and cold. Down jacket and hat must bruing. Keep warm when sleeping
A pair of suitable waterproof shoes: Due to the vast area, tourists may need to walk. You can also experience horse riding fun
Effective sunscreen: Many parts of Xinjiang is high altitude (no altitude sickness), strong ultraviolet radiation. At the same time with heat, thirst, moisture drugs or granules, for withstand dry climate
Respect for Local Customs: In most minority areas, Xinjiang has many religions, and in addition, Muslims do not eat pork. This is the biggest taboo in their life and must not be offended
Manor leisure travel, will be close to the workers and women and children in the manor, do not freely distribute gifts. To avoid conflicts with local customs, do not give food to local children. (Can be handed over to leader to judge)
Manor tourism promotion: self-service, simple, environmentally friendly, we do not provide one-time items.
Please take away personal belongings, do not throw away trash which would pollute the ecology
For registration or advices, please contact to WeChat: xiefang or WhatsApp, Facebook, Skype: stxh007. Or mailto: [email protected]
0 notes
Text
8 Days Apricot Valley Photo Trip 2016
8 Days Apricot Valley Photo Trip 2016
2016-03-03 http://t.cn/RGlpyLo

Abram Farm Hostel's first eco-tourism in 2016 will begin at April 2. Come to enjoy different gorgeous natural scenery in all seasons! The Apricot Valley, located in Xinyuan of Yili, has more than 2000 hectares beautiful apricot trees. They are going to bloom in their most beauty these days. Just image how nice it is!
Xinjiang Abram Farm Hostel is located in North part of Xinjiang, the wildest place in China. It is about 40 km from Yining city (airports, railway stations). The hostel is an ecological agriculture and tourism farm, established in 2010. You can find all kinds of beautiful flowering trees, for example, apple, peach, jujube, apricot and other fruit trees, just name a few, here. There are also varieties of farm animals, including horses, cattle, sheep, goose, chicken at farm. There are also very comfortable lodging service, including 8 comfortable and neat five star’s standard rooms and a few Mongolian yurts. It is a nice place that you can enjoy the beauty of nature and meanwhile, enjoy the modern civilization.
The schedule : D1 Airport pickup – farm hostel
The sunset of Yili river

The farm hostel

D2-D3 Photographing in apricot valley. Gosightseeing in Kuerdening valley.

D4-D5 Photographing in Tukai desert - Lake Sayram sunset and sunrise - Khorgos port – Huiyuan ancient city - Farm

D6 Vist Uighur village and taste the local foods
D7 Vist Yining city and experience the Xibe culture.
D8 Airport Drop off.

Characteristics of the journey: 1.Personalized route 2.Simplest ethnic flavor 3.The most original environment
Time: 2nd April 2016 – 8th April 2016 (arrive Yining city at 2nd April)
Deal of the day: $475 SAVE $75 (Reg. $550)
The price includes: 1. carfare 2. admission fee 3. room of hostel 4. insurance 5. meal fee in the farm 6. self laundry
The price exclusive: 1. round trip ticket to Yili 2. meal fee out of the farm 3. personal entertainment (e.g. ride a horse, archery) 4. tickets for Huiyuan ancientcity and Khorgos port.
Your information for application: name ,gender, passport ,phone number, WeChat or WhatsApp name
Mumber of people: mininmum:6 maxmum:12 Contact information: WeChat stxh007, Mobile +86 18666622090, Skype: stxh007
1 note
·
View note
Text
VirtualBox无法设置硬件虚拟的问题
系统升级,VirtualBox升级到5.0.2,再跑虚拟机发现不能硬件虚拟了。
以为是5.0.2的问题,分别装5.0.3和降级到4.2.3都不行。BIOS中肯定是开了虚拟的,因此怀疑是Hyper-V的问题。
卸载了Hyper-V解决了问题。
为什么要急着搞虚拟机呢,这还得说说奇葩的银联,竟然不支持Windows10上的所有浏览器。客服说:系统降级试试?去
0 notes
Text
Meteor中使用TAPi18n函数
在客户端模板中使用TAPi18n的模板很方便,比如这样的设置 out: from %s to %s
可以这样写 {{_ ‘out’ ‘param 1′ ‘param 2′ }} 。输出就就是
from param 1 to param 2
但在服务端要使用 TAPi18n.__() 函数,这个函数的原型是这样的
TAPi18n.__(key, options, lng);
一前一后都好理解,中间这个有问题。如果模板中只有一个哑元,那这里是个字符串就行了。所有的例子都是这样的。但如果是2个以上,就找不到例子了。
摸索了半天,又查了不少网页最后上面的例子要这样调用:
TAPi18n.__(’out’, {postProcess: "sprintf", sprintf: ['param 1’, ‘param 2’]}, ‘zh-CN’);
这是谁写的文档?
0 notes
Text
Read/Write HFS+ for Free on Windows
Here are free edition of Paragon HFS+ for Windows 8/8.1 1.0
It worked on Windows 10 too.
Here is the link DOWNLOAD
0 notes