Moved images to blog subfolder
|
@ -8,9 +8,6 @@ guid: http://brandonrozek.com/?p=65
|
||||||
permalink: /2015/04/function-two-points-theory/
|
permalink: /2015/04/function-two-points-theory/
|
||||||
medium_post:
|
medium_post:
|
||||||
- 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}'
|
- 'O:11:"Medium_Post":11:{s:16:"author_image_url";N;s:10:"author_url";N;s:11:"byline_name";N;s:12:"byline_email";N;s:10:"cross_link";N;s:2:"id";N;s:21:"follower_notification";N;s:7:"license";N;s:14:"publication_id";N;s:6:"status";N;s:3:"url";N;}'
|
||||||
dsq_thread_id:
|
|
||||||
- ""
|
|
||||||
- ""
|
|
||||||
tumblr_post_id:
|
tumblr_post_id:
|
||||||
- "138122079174"
|
- "138122079174"
|
||||||
kind:
|
kind:
|
||||||
|
@ -19,7 +16,7 @@ kind:
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
|
|
||||||
![<img src="/files/images/04162015_1.jpeg" alt="Part1" width="1700" height="2338" class="alignnone size-full wp-image-66" />](/files/images/04162015_1.jpeg)
|
![](/files/images/blog/04162015_1.jpeg)
|
||||||
![<img src="/files/images/04162015_2.jpeg" alt="Part2" width="1700" height="2338" class="alignnone size-full wp-image-67" />](/files/images/04162015_2.jpeg)
|
![](/files/images/blog/04162015_2.jpeg)
|
||||||
![<img src="/files/images/04162015_3.jpeg" alt="Part3" width="1700" height="2338" class="alignnone size-full wp-image-68" />](/files/images/04162015_3.jpeg)
|
![](/files/images/blog/04162015_3.jpeg)
|
||||||
![<img src="/files/images/04162015_4.jpeg" alt="Part4" width="1700" height="2338" class="alignnone size-full wp-image-69" />](/files/images/04162015_4.jpeg)
|
![](/files/images/blog/04162015_4.jpeg)
|
||||||
|
|
|
@ -23,4 +23,4 @@ There's a great package in LaTex called [`algorithm`](https://ctan.org/pkg/algor
|
||||||
\end{algorithm}
|
\end{algorithm}
|
||||||
```
|
```
|
||||||
|
|
||||||
![image-20200514225618784](/files/images/20200514225618784.png)
|
![image-20200514225618784](/files/images/blog/20200514225618784.png)
|
|
@ -7,7 +7,7 @@ tags: ["Packaging"]
|
||||||
|
|
||||||
One way to distribute to different Linux distributions is to compile the source under each of them and distribute it separately. This can be a pain to manage if you target multiple distributions and multiple versions of those distributions. Instead, let's take a look at AppImage. This allows us to package up our binaries and shared libraries under one file which we can distribute.
|
One way to distribute to different Linux distributions is to compile the source under each of them and distribute it separately. This can be a pain to manage if you target multiple distributions and multiple versions of those distributions. Instead, let's take a look at AppImage. This allows us to package up our binaries and shared libraries under one file which we can distribute.
|
||||||
|
|
||||||
![AppImage Architecture Diagram](/files/images/appimage-architecture-overview.svg)
|
![AppImage Architecture Diagram](/files/images/blog/appimage-architecture-overview.svg)
|
||||||
|
|
||||||
Source: https://docs.appimage.org/reference/architecture.html
|
Source: https://docs.appimage.org/reference/architecture.html
|
||||||
|
|
||||||
|
|
|
@ -24,4 +24,4 @@ print(c[1])
|
||||||
|
|
||||||
And here's a screenshot of my terminal session when I called `bat`
|
And here's a screenshot of my terminal session when I called `bat`
|
||||||
|
|
||||||
![image-20200201063050726](/files/images/20200201063050726.png)
|
![image-20200201063050726](/files/images/blog/20200201063050726.png)
|
||||||
|
|
|
@ -78,7 +78,7 @@ print(factorial(5))
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/202201292013.svg)
|
![](/files/images/blog/202201292013.svg)
|
||||||
|
|
||||||
Below is all these steps combined into a compile-able LaTex file.
|
Below is all these steps combined into a compile-able LaTex file.
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,4 @@ With the tool `qrencode`, it is surprisingly simple to create a QR code.
|
||||||
echo "https://brandonrozek.com" | qrencode -t ansiutf8
|
echo "https://brandonrozek.com" | qrencode -t ansiutf8
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/20200926221423.png)
|
![](/files/images/blog/20200926221423.png)
|
||||||
|
|
|
@ -38,4 +38,4 @@ INSERT INTO Users (firstName, lastName) VALUES ("Sue", "Bennett");
|
||||||
|
|
||||||
Now let's open it up using `litecli` and show the syntax highlighting.
|
Now let's open it up using `litecli` and show the syntax highlighting.
|
||||||
|
|
||||||
![image-20200229185045757](/files/images/20200229185045757.png)
|
![image-20200229185045757](/files/images/blog/20200229185045757.png)
|
||||||
|
|
|
@ -109,7 +109,7 @@ plt.xlabel(r"$\lambda$")
|
||||||
plt.show()
|
plt.show()
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/2020032901.png)
|
![](/files/images/blog/2020032901.png)
|
||||||
|
|
||||||
Now let's look at the distribution of the number of tosses for each player
|
Now let's look at the distribution of the number of tosses for each player
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ plt.xlabel("Number of Tosses")
|
||||||
plt.title("Poisson Distributions")
|
plt.title("Poisson Distributions")
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/2020032902.png)
|
![](/files/images/blog/2020032902.png)
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ sudo apt install espeak
|
||||||
|
|
||||||
It's as simple as running it and typing out what you want to say
|
It's as simple as running it and typing out what you want to say
|
||||||
|
|
||||||
![](/files/images/20200301113507984.png)
|
![](/files/images/blog/20200301113507984.png)
|
||||||
|
|
||||||
{{< addaudio "/files/audio/20200301113507984.mp3" >}}
|
{{< addaudio "/files/audio/20200301113507984.mp3" >}}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ It's as simple as running it and typing out what you want to say
|
||||||
|
|
||||||
Playing around with different voices and I can get something like this:
|
Playing around with different voices and I can get something like this:
|
||||||
|
|
||||||
![](/files/images/20200301115220550.png)
|
![](/files/images/blog/20200301115220550.png)
|
||||||
|
|
||||||
{{< addaudio "/files/audio/20200301115220550.mp3" >}}
|
{{< addaudio "/files/audio/20200301115220550.mp3" >}}
|
||||||
|
|
||||||
|
|
|
@ -35,13 +35,13 @@ If you've already created an account, but want to move to a different homeserver
|
||||||
|
|
||||||
When you first create an account on Mastodon you will have an interface similar to this following.
|
When you first create an account on Mastodon you will have an interface similar to this following.
|
||||||
|
|
||||||
![](/files/images/202205151932.png)
|
![](/files/images/blog/202205151932.png)
|
||||||
|
|
||||||
One thing you'll notice immediately is that it's very limited. You can only view one feed at a time, and you can't set an option to see your feed and multiple tags in one place. This is where the advanced interface comes in. Go to Preferences -> Appearence -> Check "Enable Advanced Web Interface"
|
One thing you'll notice immediately is that it's very limited. You can only view one feed at a time, and you can't set an option to see your feed and multiple tags in one place. This is where the advanced interface comes in. Go to Preferences -> Appearence -> Check "Enable Advanced Web Interface"
|
||||||
|
|
||||||
This will then enable something similar to below:
|
This will then enable something similar to below:
|
||||||
|
|
||||||
![](/files/images/202205151934.png)
|
![](/files/images/blog/202205151934.png)
|
||||||
|
|
||||||
Note the ordering of the feeds I have pinned:
|
Note the ordering of the feeds I have pinned:
|
||||||
|
|
||||||
|
|
|
@ -61,4 +61,4 @@ print(greeting())
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
```
|
```
|
||||||
|
|
||||||
![image-20200501001231572](/files/images/20200501001231572.png)
|
![image-20200501001231572](/files/images/blog/20200501001231572.png)
|
||||||
|
|
|
@ -21,4 +21,4 @@ A quick tip that I recently learned is that the symbols in a LaTex list item is
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/202201162357.svg)
|
![](/files/images/blog/202201162357.svg)
|
||||||
|
|
|
@ -54,5 +54,5 @@ Here's what the command means: "Run `pandoc` on standalone mode converting `git.
|
||||||
|
|
||||||
To see the results run `man ./git.1`
|
To see the results run `man ./git.1`
|
||||||
|
|
||||||
![1573183066061](/files/images/1573183066061.png)
|
![1573183066061](/files/images/blog/1573183066061.png)
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,4 @@ When creating slides in LaTex Beamer, it can be frustrating to not have the easy
|
||||||
\end{document}
|
\end{document}
|
||||||
```
|
```
|
||||||
|
|
||||||
![](/files/images/202201262338.svg)
|
![](/files/images/blog/202201262338.svg)
|
||||||
|
|
|
@ -11,7 +11,7 @@ Netboot.xyz is commonly used for PXE booting, but in this post I'll describe usi
|
||||||
|
|
||||||
Download the [Netboot ISO](https://boot.netboot.xyz/ipxe/netboot.xyz.iso) and [load it onto a flash drive](/blog/ddforiso/). Then boot a computer from the flash drive and you should see something similar to this animation from their website:
|
Download the [Netboot ISO](https://boot.netboot.xyz/ipxe/netboot.xyz.iso) and [load it onto a flash drive](/blog/ddforiso/). Then boot a computer from the flash drive and you should see something similar to this animation from their website:
|
||||||
|
|
||||||
![](/files/images/netboot.xyz.gif)
|
![](/files/images/blog/netboot.xyz.gif)
|
||||||
|
|
||||||
Another benefit of this approach over Ventoy is that we don't have to manually update the flash drive. It always comes fresh with the ISOs available on their website.
|
Another benefit of this approach over Ventoy is that we don't have to manually update the flash drive. It always comes fresh with the ISOs available on their website.
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,4 @@ plt.show()
|
||||||
|
|
||||||
Given the JSON from the top of the post it'll produce:
|
Given the JSON from the top of the post it'll produce:
|
||||||
|
|
||||||
![image-20220103000837137](/files/images/20220103000837137.png)
|
![image-20220103000837137](/files/images/blog/20220103000837137.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ The easiest way I've known for the past few years to allow another person to acc
|
||||||
|
|
||||||
You'll need to sign up for an account first. I was then going to write about some of the following steps, but `ngrok` has a really nice quad chart when you login
|
You'll need to sign up for an account first. I was then going to write about some of the following steps, but `ngrok` has a really nice quad chart when you login
|
||||||
|
|
||||||
![steps](/files/images/0932485094325.png)
|
![steps](/files/images/blog/0932485094325.png)
|
||||||
|
|
||||||
Just note that in step (3) you will actually have a random sequence of characters after `authtoken`.
|
Just note that in step (3) you will actually have a random sequence of characters after `authtoken`.
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ tags: [ ]
|
||||||
|
|
||||||
With [Scrcpy](https://github.com/Genymobile/scrcpy) you can control an Android device remotely!
|
With [Scrcpy](https://github.com/Genymobile/scrcpy) you can control an Android device remotely!
|
||||||
|
|
||||||
![1578623897330](/files/images/1578623897330.png)
|
![1578623897330](/files/images/blog/1578623897330.png)
|
||||||
|
|
||||||
The `README` on the Github page has all the information you need though it boils down to a few simple steps.
|
The `README` on the Github page has all the information you need though it boils down to a few simple steps.
|
||||||
|
|
||||||
|
|
|
@ -52,4 +52,4 @@ termtosvg -s
|
||||||
|
|
||||||
Here is an example of an animation I made with this tool:
|
Here is an example of an animation I made with this tool:
|
||||||
|
|
||||||
![](/files/images/202201171031.svg)
|
![](/files/images/blog/202201171031.svg)
|
||||||
|
|
|
@ -17,7 +17,7 @@ To install Ventoy onto a flash drive, follow the [Get Started](https://www.vento
|
||||||
- Tails
|
- Tails
|
||||||
- UBCD
|
- UBCD
|
||||||
|
|
||||||
![](/files/images/ventoy.png)
|
![](/files/images/blog/ventoy.png)
|
||||||
|
|
||||||
Example screenshot from their website.
|
Example screenshot from their website.
|
||||||
|
|
||||||
|
|
|
@ -43,4 +43,4 @@ virsh start Lubuntu
|
||||||
virt-viewer Lubuntu
|
virt-viewer Lubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
![1578887790276](/files/images/1578887790276.png)
|
![1578887790276](/files/images/blog/1578887790276.png)
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 267 KiB After Width: | Height: | Size: 267 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 399 KiB After Width: | Height: | Size: 399 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 565 KiB After Width: | Height: | Size: 565 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 373 KiB After Width: | Height: | Size: 373 KiB |
Before Width: | Height: | Size: 561 KiB After Width: | Height: | Size: 561 KiB |
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 156 KiB |
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 184 KiB |