用户目录下.condarc
proxy_servers:
http: http://127.0.0.1:1080
https: https://127.0.0.1:1080
version: '3' | |
services: | |
bitwarden: | |
image: vaultwarden/server:latest | |
container_name: vaultwarden | |
restart: always | |
environment: | |
- WEBSOCKET_ENABLED=true | |
- SIGNUPS_ALLOWED=false |
import requests | |
import json | |
import random | |
Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
headers = { | |
'Cookie': "Replace Me With REAL COOKIE" , | |
'Pragma': 'no-cache', |
f_handler=open('out.log', 'w') | |
sys.stdout=f_handler | |
print('hello') | |
# this hello can't be viewed on concole | |
# this hello is in file out.log | |
f_handler.close() | |
import sys | |
f=open('a.txt','w') | |
old=sys.stdout #将当前系统输出储存到一个临时变量中 |
2. Well that was disappointing. How about we indent and use backticks together?
```
Code
More Code
#!/usr/bin/env python | |
import math | |
from math import sin, cos, pi | |
import rospy | |
import tf | |
from nav_msgs.msg import Odometry | |
from geometry_msgs.msg import Point, Pose, Quaternion, Twist, Vector3 |
Ubuntu 禁用关闭笔记本盖子自动待机 | |
这个问题需要修改 Login Manager 配置文件 | |
打开终端输入如下命令: 修改 HandleLidSwitch 项,其值修改成 ignore | |
sudo vi /etc/systemd/logind.conf | |
然后将其中的: | |
#HandleLidSwitch=suspend | |
改成: |
参考链接:link
~$ gazebo
Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
When you got this error
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo: unable to resolve host bayanca05
[sudo] password for bayan-ca-05:
Selecting previously unselected package google-chrome-stable.
(Reading database ... 174654 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (43.0.2357.81-1) ...