Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();
import networkx as nx | |
import pandas as pd | |
def score_links(links_file, domain): | |
"""Score a network on links based on their importance and centrality. | |
links_file: Path to the file having the links (needs a "Source" and | |
"Destination" columns) e.g. ScreamingFrog's outlinks file. | |
domain: Filter all links, making sure they all point to the domain you want. | |
""" |
Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();
// returns textFragment | |
function() { | |
if (!performance) { | |
return 'n/a'; | |
} | |
var p = performance.getEntriesByType('navigation'); | |
if (p.length < 1) { | |
return 'navigation missing'; | |
} |
There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /
(C:\
), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.
#!/usr/bin/bash -xe | |
cat <<EOF > "${HOME}/.config/systemd/user/zoom.slice" | |
[Slice] | |
AllowedCPUs=0-4 | |
MemoryHigh=6G | |
EOF | |
cat /usr/share/applications/Zoom.desktop | sed -E 's#^(Exec=).*$#Exec=/usr/bin/systemd-run --user --slice=zoom.slice /opt/zoom/ZoomLauncher#' > "${HOME}/.local/share/applications/Zoom.desktop" |
This tutorial is dated Oct 2021, if it's much further on than that this information might be out of date.
This is a guide on setting up a static HTTPS website on your raspberry pi using docker and nginx. The aim is to have this running on the raspberry pi and to be able to access it from a host computer on the same local network. You should already be able to ssh into your pi from your host computer and have raspberry pi OS set up.
//PUT YOUR MIXPANEL TOKEN AND SECRET BELOW: | |
const credentials = { | |
"token": "your-mixpanel-token-here", | |
"secret": "your-mixpanel-secret-here" | |
} | |
/* |
* 13 May 2021
Broke my initial build due to a sys upgrade then re did all of below. Not sure what caused the problem. The main blockage I experienced is the expanding of the second partion, see here for the update.
* 18 April 2021
More or less complete by now, any updates or workarounds I will just keep on adding here
* 13-16 April 2021
Content for this post is still in progress as I'm compiling all the workarounds, fixes and commands for all this to work
# magento 2 disable unused modules | |
bin/magento module:disable Vertex_AddressValidation | |
bin/magento module:disable Vertex_AddressValidationApi | |
bin/magento module:disable Vertex_Tax | |
bin/magento module:disable Temando_ShippingRemover | |
bin/magento module:disable Dotdigitalgroup_Chat | |
bin/magento module:disable Dotdigitalgroup_Email |
# setup update and deploy if developer mode is enabled | |
php bin/magento setup:upgrade | |
php bin/magento setup:static-content:deploy -f | |
php bin/magento cache:flush | |
# set production mode and deploy | |
php bin/magento deploy:mode:set production | |
php bin/magento cache:clean | |
php bin/magento setup:upgrade | |
php bin/magento setup:di:compile |