-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.html
executable file
·176 lines (163 loc) · 8.89 KB
/
archives.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<title>Carson's Tech Hut</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Carson's Tech Hut Full Atom Feed" />
<script>
/* Javascript code to toggle between adding and removing the
"responsive" class to nav when the user clicks on the icon */
function myFunction() {
var x = document.getElementById("nav-bar");
if (x.className === "nav") {
x.className += " responsive";
} else {
x.className = "nav";
}
}
</script>
</head>
<body>
<div class="navigation pure-menu pure-menu-horizontal">
<div class="nav", id="nav-bar">
<a href="/" class="page-container pure-menu-heading pure-menu-link nav">Carson's Tech Hut</a>
<ul class="pure-menu-list">
<li class="pure-menu-item"><a href="../archives.html" class="pure-menu-link">All posts</a></li>
<li class="pure-menu-item"><a href="../categories.html" class="pure-menu-link">Categories</a></li>
<li class="pure-menu-item"><a href="../tags.html" class="pure-menu-link">Tags</a></li>
</ul>
<a href="javascript:void(0);" class="icon pure-menu-link" onclick="myFunction()">
<i class="fas fa-bars"></i>
</a>
</div>
</div>
<div class="page-container archive-container">
<div class="article-header-container">
<div class="background-image-container">
<div class="background-image-small">
<div class="title-container">
<h1>Archives</h1>
</div>
</div>
</div>
</div>
<div class="entry-content">
<div class="timeline-item" date-is=2020-12-18 20:00:00-07:00>
<a href="/how-to-migrate-github-issues-to-jira.html"><h1>How to migrate GitHub issues to Jira</h1></a>
<p>
<p>A tutorial shows you how to write a script to migrate GitHub issues to Jira.</p>
</p>
</div>
<div class="timeline-item" date-is=2020-12-09 00:00:00-07:00>
<a href="/display-matplotlib-image-on-html-page-using-django.html"><h1>Display matplotlib image on HTML page using Django</h1></a>
<p>
<p>A lot of times we use matplotlib to plot images and we would like to display them on a
HTML page simply for rendering as PDF for download or just for display.</p>
<p>Fortunately this is possible for django backend, here is an example for plotting a
horizontal barchart in HTML …</p>
</p>
</div>
<div class="timeline-item" date-is=2020-12-02 00:00:00-07:00>
<a href="/how-to-fix-manjaro-you-are-unable-to-boot-you-need-to-load-kernel-first.html"><h1>How to fix Manjaro you are unable to boot, you need to load kernel first</h1></a>
<p>
<p>I have a due boot system and one day after I updated my Manjaro system, I got this error:</p>
<p><code>file ‘/boot/vmlinuz-5.7-x86_64’ not found</code></p>
<p><code>you need to load the kernel first.</code></p>
<p>After some research, here I found the solution how to fix it:</p>
<ul>
<li>Make sure internet is connected</li>
<li><code>sudo …</code></li></ul>
</p>
</div>
<div class="timeline-item" date-is=2020-04-12 00:00:00-06:00>
<a href="/how-to-setup-github-blog-via-pelican.html"><h1>How to setup Github Blog via Pelican</h1></a>
<p>
<p>There are many ways to setup a Github blog, but since I love Python I think it makes sense to use Pelican, which is a Static Site Generator, Powered by Python. </p>
<h2>Set up environment</h2>
<ol>
<li>Create a blog directory for all blog content and styles: <code>mkdir <blogname></code></li>
<li>Go into the blog …</li></ol>
</p>
</div>
<div class="timeline-item" date-is=2019-04-23 00:00:00-06:00>
<a href="/updating-an-old-site-to-python-3-django-2-wagtail-2.html"><h1>Updating an old site to Python 3.*, Django 2.*, Wagtail 2.*</h1></a>
<p>
<h2>0. Useful Links</h2>
<ul>
<li><a href="https://docs.djangoproject.com/en/2.0/releases/2.0/">Django 2.0 release notes | Django documentation | Django</a></li>
<li><a href="http:\docs.wagtail.io\en\v2.0\releases\upgrading.html">Wagtail 2.0 realease notes</a></li>
<li><a href="https://wagtail.io/blog/upgrading-to-wagtail-2/">Upgrading to Wagtail 2.0 | Wagtail CMS</a></li>
<li><a href="https://eldarion.com/blog/2017/12/26/10-tips-upgrading-django-20/">10 Tips for Upgrading to Django 2.0 — Eldarion Blog</a></li>
<li><a href="https://nezhar.com/blog/upgrade-a-django-based-application-from-1-11-to-2-0/">Upgrade a Django based application from 1.11 to 2.0 | nezhar.com</a></li>
<li><a href="https://docs.python.org/3/howto/pyporting.html">Porting Python 2 Code …</a></li></ul>
</p>
</div>
<div class="timeline-item" date-is=2018-10-10 00:00:00-06:00>
<a href="/pipenv-tutorial-the-official-package-control-for-python.html"><h1>Pipenv Tutorial - the official package control for python</h1></a>
<p>
<h2>Why use Pipenv:</h2>
<ul>
<li>Pipenv is essentially a combination of pip and virtualenv (i.e. makes virtual environment), but with better version control</li>
<li>It solves the version conflict for packages and sub-dependencies</li>
<li>It could automatically install the latest package/dependency that meet all the requirements</li>
<li>It is the new <strong>STANDARD</strong> for …</li></ul>
</p>
</div>
<div class="timeline-item" date-is=2018-07-10 20:00:00-06:00>
<a href="/work-with-timezone-effectively.html"><h1>Work with timezone effectively</h1></a>
<p>
<p>A tutorial shows you how to work with timezone in python.</p>
</p>
</div>
<div class="timeline-item" date-is=2018-07-04 00:00:00-06:00>
<a href="/setup-virtualenv-for-any-project.html"><h1>Setup Virtualenv for Any Project</h1></a>
<p>
<ul>
<li>Virtualenv is a very handy tool for creating separate virtual environments for python projects.</li>
<li>It is essential and probably mandatory in many cases to use Virtualenv or Virtualenv-like tools (i.e. Anaconda, Pipenv) to run a python project.</li>
<li>In this tutorial, I'll show you how to create a virtualenv for …</li></ul>
</p>
</div>
<div class="timeline-item" date-is=2018-07-03 00:00:00-06:00>
<a href="/how-to-create-sublime-text-project.html"><h1>How to create Sublime Text Project</h1></a>
<p>
<ol>
<li>Create a project folder to store all the sublime text project file <ul>
<li>Sublime Text Project file is a build file that must be saved somewhere on the disk. So a good way of doing this is to save the file into a folder something similar to <strong>Sublimetext Project</strong></li>
</ul>
</li>
<li>Open up …</li></ol>
</p>
</div>
<div class="timeline-item" date-is=2018-06-27 00:00:00-06:00>
<a href="/install-pdftk-on-unbuntu-1804.html"><h1>Install pdftk on unbuntu 18.04</h1></a>
<p>
<p>PDFTK is a very handy package that handles PDFs. It could open and write to existing PDFs, and a lot of other great things. However, it is missing from the Ubuntu 18 and is very tricky to install on Ubuntu 18 (but works nice and smoothly on Ubuntu 16). This …</p>
</p>
</div>
<div class="timeline-item" date-is=2018-02-11 00:00:00-07:00>
<a href="/the-ultimate-guide-to-setup-multiple-python-environment-with-anaconda-and-sublime-text.html"><h1>The ultimate guide to setup multiple Python environment with Anaconda and Sublime Text</h1></a>
<p>
<p>The need for setting up a virtual executing environment of Python has a lot of advantages and has been widely discussed over internet. Here I have a tutorial for setting up multiple environment with Anaconda and Sublime Text. </p>
<ul>
<li>The reason I choose Anaconda over Virtualenv is because Anaconda is widely …</li></ul>
</p>
</div>
</div>
</div>
<footer class="index-footer">
<div class="footer-wide">
<p><a href="">Carson's Tech Hut</a>© Carson Zhang 2020</p>
</div>
<div class="footer-narrow">
<p><a href="">Carson's Tech Hut</a><br>
© Carson Zhang 2020</p>
</div>
</footer>
<link rel="stylesheet" href="../theme/css/pure-min.css" />
<link rel="stylesheet" href="../theme/css/grids-responsive-min.css" />
<link rel="stylesheet" href="../theme/fontawesome-free-5.13.0-web/css/all.min.css" />
<link rel="stylesheet" href="/theme/css/main.css" />
</body>
</html>