- Go through the What is web development? w3schools roadmap (just read)
- Go through the entire sidebar of the w3schools HTML guide. You'll already
be familiar with a good bit of this but there are a lot of new HTML elements including things like
<canvas>
etc. that it would be good to be vaguely familiar with. Go through some of the quick little exercises for anything you are unfamiliar with but otherwise don't bother. - Same deal with the w3schools CSS guide. There's some really useful stuff in here since CSS 3 came out, and the more you know about it the better. A bunch of it I probbaly don't even know about.
- Go through all of the w3schools Javascript guide. Everything here is relevant so you can get a solid foundation.
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
External Maya Client | |
This can be run outside of Maya | |
Use in idle or an IDE that can accept input. | |
""" | |
import socket | |
import logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -fdiagnostics-color=always: just for colour | |
# -frecord-gcc-switches: must be in *ALL* *FLAGS* (harmless but not needed in LDFLAGS) to be effective, or Portage skips it | |
COMMON_FLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" | |
CFLAGS="${COMMON_FLAGS}" | |
CXXFLAGS="${COMMON_FLAGS}" | |
FCFLAGS="${COMMON_FLAGS}" | |
FFLAGS="${COMMON_FLAGS}" | |
# You can use ${COMMON_FLAGS} here, but please remember to include as-needed manually then. | |
LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WooCommerce - Change [products] shortcode display order | |
Plugin URI: https://www.damiencarbery.com/ | |
Description: Change the order of products in [products] shortcode to order in ids parameter if 'orderby' is set to 'ids'. Example: [products ids="1,5,2,4" orderby="ids"] | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.1.20240517 | |
*/ |
For anynone that is running the latest version of binwalk (Binwalk v2.3.3
) and when trying to extract squshfs filesystems, gets the following error:
WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -le -d 'squashfs-root' '%e'': [Errno 2] No such file or directory: 'sasquatch', 'sasquatch -p 1 -le -d 'squashfs-root' '%e'' might not be installed correctly
it might have to do that the sasquatch
project is missing or not working correctly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create/update resources | |
kubectl --context=minikube apply -f ./postgres.yaml | |
# In order for the service to reach the statefulset, the following should | |
# be true: | |
# statefulset.spec.selector.matchLabels.app == service.spec.selector.app | |
# statefulset.spec.selector.matchLabels.role == service.spec.selector.role | |
# give the server some time to start up | |
# ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Binary tree - Level Order Traversal */ | |
#include<iostream> | |
#include<queue> | |
using namespace std; | |
struct Node { | |
char data; | |
Node *left; | |
Node *right; | |
}; |
Hello. I've decided to share a lot more of my knowledge in public forums from now on, and to not divert any of my focus away from improving the world in a way that stays written in history.
This Gist is about discussing on how to improve AV1 decoding performance on 2 fronts: improving performance through more efficient decoding, and through decoding aware encoding.
Here are many tips on how to improve decoding performance on any machine:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.terraform/ | |
*.pem | |
*.tf | |
*.tfstate | |
*.yaml | |
*.backup | |
istio-*/ | |
cert-manager-*/ | |
*.swp | |
env |
NewerOlder