Extract to a different directory than current with Tar
daniel Thu, 02/04/2021 - 2:30pm
From tecmint
# tar -xf file_name.tar -C /target/directory
# tar -xf file_name.tar.gz --directory /target/directory
Using Meld for viewing Git differences
daniel Thu, 02/04/2021 - 2:24pm
From Jorg Mittag on stackoverflow.
You can use:
git config --global diff.tool meld
and then:
git difftool -d ABC
- Read more about Using Meld for viewing Git differences
- Log in to post comments
Fixing Youtube livestreams for Opera on Ubuntu
daniel Tue, 12/01/2020 - 10:32am
This worked on Ubuntu 20.04.1 with Opera 72
Install the "Chromium Ffmpeg codecs" snap via the "Ubuntu Software" app
Then, on the command line, let's find the libffmpeg.so library that was installed by the chromium snap
$ locate libffmpeg.so
/opt/Postman/Postman-1605981456437-old/libffmpeg.so
/opt/Postman/app/libffmpeg.so
/opt/Postman.bak/app/libffmpeg.so
/snap/chromium/1399/usr/lib/chromium-browser/libffmpeg.so
/snap/chromium/1411/usr/lib/chromium-browser/libffmpeg.so
/usr/lib/slack/libffmpeg.so
We want the latest chromium one. Plug that path into the next step
$ cd /usr/lib/x86_64-linux-gnu/opera; sudo mv libffmpeg.so libffmpeg.so.bak; sudo ln -s /snap/chromium/1411/usr/lib/chromium-browser/libffmpeg.so
- Read more about Fixing Youtube livestreams for Opera on Ubuntu
- Log in to post comments
Lebkucken cookies recipe from my Grandmother
daniel Sun, 11/15/2020 - 8:50pm
Ingredients
- 3 cup flour
- 1/2 tsp soda
- 1/2 tsp salt
- 1 tsp cinnamon
- 1/2 tsp alspice
- 1/2 tsp cloves
- 1 cup nuts
- 1 1/2 cups candied fruit
- 1 cup brown sugar
- 2 eggs
- 1/2 cup honey
- 1/2 cup dark karo
Steps
Grind the fruit and nuts.
Sift flour, soda, salt and spices.
Sprinkle some of this mixture over fruit and nuts.
Beat eggs and brown sugar until light.
Add honey and karo.
Add dry things then fruit and nuts.
Chill over night.
Roll out to 1/4 thick. Add more flour before & while rolling out.
Cut and bake at 350 for 12 min. Do not over bake.
Frost while still warm with a thin powdered sugar glaze.
Store in a tight container for a few weeks.
Glaze
1/2 cup powdered sugar
1/2 tsp vanilla
butter
- Read more about Lebkucken cookies recipe from my Grandmother
- Log in to post comments
Inquiry is fatal to certainty.
daniel Thu, 10/15/2020 - 11:20am
Inquiry is fatal to certainty.
- Read more about Inquiry is fatal to certainty.
- Log in to post comments
- daniel's quotes
Recreating Levain Chocolate Chip Cookies Feat. Binging with Babish
daniel Tue, 10/06/2020 - 2:27pm
From Joshua Weissman's Youtube Channel
Here's the recipe in case anyone wants to follow at home:
16oz (450g) Dark Chocolate (60-70%)
1 ¼ Cup (280g) Unsalted Butter
230g Cake Flour
275g All Purpose Flour
5g Kosher Salt
8g Corn Starch
6g Baking Soda
285g Brown Sugar
115g White Sugar
5 Eggs
165g Chopped Walnuts (optional)
1. Melt butter in a sauce pan and let it cool
2. Whisk together both flours, salt, corn starch, and baking soda in a medium sized bowl
3. In a stand mixer with the whisk attachment, combine both sugars on medium speed
4. Slowly stream in the butter until mixture is creamy
5. Add 2 eggs then 3 egg yolks, one at a time until each is incorporated
6. Switch to paddle attachment then mix in dry ingredient mixture
7. Combine chocolate and walnuts (optional) using a rubber spatula
8. Put cookie dough in a bowl, cover, and let rest in fridge for at least 45 minutes
9. Divide into 6oz balls and arrange onto baking sheets
10. Refrigerate baking sheets with cookie dough's for 25 minutes
11. Bake at 425 degrees Fahrenheit or 220 degrees Celsius for 10-13 minutes, or until brown on the outside. The inside will be soft and chewy
Get information about installed encrypted drives and raid drives at command line
daniel Sat, 10/05/2019 - 10:52am
What raid devices available in config:
cat /etc/mdadm/mdadm.conf
Get details on a raid array:
sudo mdadm --detail /dev/md0
sudo mdadm --detail /dev/md/1
What drives are installed:
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
What luks devices setup:
sudo dmsetup status
References:
Solr Transactions
daniel Tue, 08/20/2019 - 10:57am
General Solr Links
- Read more about Solr Transactions
- Log in to post comments
Java Heap Dump Analyzer
daniel Tue, 06/11/2019 - 1:37pm
This app is quite nice. At the time of my writing this, it was a little rough around the edges, but I successfully worked with an 8GB heap dump. I was able to find my issue with this while VisualVM crashed. (I still like visualvm a lot though).
For a nice tutorial, see this article on DZone
- Read more about Java Heap Dump Analyzer
- Log in to post comments
Solr Near Realtime Indexing
daniel Mon, 05/06/2019 - 2:47pm
- Read more about Solr Near Realtime Indexing
- Log in to post comments
