你歪曲了别人的观点,使你自己能够更加轻松地攻击别人。
你夸张、歪曲,甚至凭空创造了别人的观点,来让你本身的观点显得更加合理。这是一种极端不诚实的行为,这不但影响了理性的讨论,也影响了你自己观点的可信度。因为如果你可以负面地歪曲别人的观点,你就有可能从正面歪曲自己的观点。
**例子:**小明说国家应该投入更多的预算来发展教育行业,小红回复到:“想不到你这么不爱国,居然想减少国防开支,让外国列强有机可乘。” 小红就犯了稻草人谬误。
## 配置身份 | |
git config --global user.name "Tendoasan" | |
git config --global user.email "tjuywb@gmail.com" | |
## 在项目根目录下创建代码仓库 | |
git init | |
## 提交本地代码 | |
git add git.xml ## 添加某文件 | |
git add src ## 添加某目录下的所有文件 |
#!/bin/bash | |
############################################################################## | |
# BASH BASICS | |
############################################################################## | |
env # displays all environment variables | |
echo $SHELL # displays the shell you're using | |
echo $BASH_VERSION # displays bash version |
############################################################################## | |
# VIM CHEATSHEET | |
# WEBSITE: http://www.vim.org/ | |
# DOCUMENTATION: https://vim.sourceforge.io/docs.php | |
############################################################################## | |
############################################################################## | |
# CURSOR MOVEMENTS | |
############################################################################## |
## Windows 下的文件哈希值查询 | |
$ certutil -hashfile filename MD5 | |
$ certutil -hashfile filename SHA1 | |
$ certutil -hashfile filename SHA256 | |
## Mac | |
$ md5 -hashfile |
// 修改系统字体大小 | |
public abstract class KeepFontScaleActivity extends AppCompatActivity { | |
@Override | |
public void onConfigurationChanged(Configuration newConfig) { | |
if (newConfig.fontScale != 1)//非默认值 | |
getResources(); | |
super.onConfigurationChanged(newConfig); | |
} | |
@Override |
public class InflateViewsFragment extends Fragment { | |
@BindView(R.id.ll_roots) | |
LinearLayout mLlRoots; // 容器 | |
Unbinder mUnBinder; | |
@Nullable | |
@Override | |
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
/** | |
* Created by Tendoasan on 2017/8/15. | |
* 基础分页适配器 | |
*/ | |
@SuppressWarnings("unused") | |
public abstract class BasePaginationAdapter<T> extends Adapter { | |
public interface PaginationListener { | |
void onLoadMoreItems(); | |
} |
原文链接:https://www.oreilly.com/ideas/the-traits-of-a-proficient-programmer
有能力胜任和精通之间的区别: 有能力胜任是指有足够的经验和知识来完成各项工作;精通涉及之道为什么你要用某种方式来做事情,以及如何融入到大局中。 如果你是一名程序员,学习该怎么做是你能胜任工作的重要部分:
/** | |
* SimpleBottomSheetDialogFragment.newInstance().show(getSupportFragmentManager(), "fragment_simple_bottom_sheet"); | |
*/ | |
public abstract class SimpleBottomSheetDialogFragment extends BottomSheetDialogFragment { | |
public View rootView; | |
Unbinder mUnBinder; | |
@Override | |
public void onCreate(@Nullable Bundle savedInstanceState) { |