VirtualTam's bookmarks
280 bookmarks found
-
- https://stackoverflow.com/questions/415452/object-orientation-in-c
- https://sites.google.com/site/cinterfacesimplementations/
- http://web.archive.org/web/20190125125043/http://homepages.inf.ed.ac.uk/dts/pm/Papers/nasa-c-style.pdf
- https://www.maultech.com/chrislott/resources/cstyle/
- https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard
-
Docker & UFW
2019-10-24 - https://github.com/moby/moby#4737
- https://github.com/docker/for-linux/issues/690
- https://stackoverflow.com/questions/30383845/what-is-the-best-practice-of-docker-ufw-under-ubuntu
- https://www.mkubaczyk.com/2017/09/05/force-docker-not-bypass-ufw-rules-ubuntu-16-04/
- https://www.techrepublic.com/article/how-to-fix-the-docker-and-ufw-security-flaw/
- https://www.linux.com/news/how-fix-docker-and-ufw-security-flaw/
- https://svenv.nl/unixandlinux/dockerufw/
- https://blog.viktorpetersson.com/2014/11/03/the-dangers-of-ufw-docker.html
- https://news.ycombinator.com/item?id=27613217
-
Paravirtual (PV) to Hardware Virtual Machine (HVM):
ENA support:
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html
- https://forums.aws.amazon.com/thread.jspa?threadID=166135
- https://aws.amazon.com/premiumsupport/knowledge-center/boot-error-linux-m5-c5/
- https://bugs.centos.org/view.php?id=14107
- https://ygrene.tech/how-to-enable-ena-support-for-aws-amis-in-5-steps-and-make-your-bamboo-remote-jobs-really-fast-f2a4254a9955
Build Debian AMIs from scratch:
- https://bootstrap-vz.readthedocs.io/en/master/
- https://github.com/andsens/bootstrap-vz
- https://www.slideshare.net/JamesBromberger/debian-cloud-building-the-debian-amis
- https://blog.james.rcpt.to/2012/12/06/official-debian-images-on-amazon-web-services-ec2/
Squeeze:
Wheezy:
- https://lists.debian.org/debian-cloud/2014/10/msg00009.html
- https://lists.debian.org/debian-cloud/2014/11/msg00000.html
Boot to chroot:
-
Use case:
- Set up an AutoScaling Group with exactly 1 min/max/desired instance
- Attach an Elastic IP to the active instance
Usually for interoperability reasons and/or IP-based network rules (80's firewall anyone?).
-
Microsoft Excel as a Programming Language
2019-09-02 - https://news.ycombinator.com/item?id=429505
- https://www.quora.com/Can-MS-Excel-be-considered-a-functional-programming-language
- http://www.felienne.com/archives/2974
- https://news.ycombinator.com/item?id=6416631
- https://pt.stackoverflow.com/questions/99642/o-excel-%c3%a9-uma-linguagem-de-programa%c3%a7%c3%a3o
-
Diffie-Hellman Key Exchange
2019-06-24 - https://security.stackexchange.com/questions/35471/is-there-any-particular-reason-to-use-diffie-hellman-over-rsa-for-key-exchange
- https://security.stackexchange.com/questions/45963/diffie-hellman-key-exchange-in-plain-english
- https://en.wikipedia.org/wiki/Elliptic-curve_Diffie%E2%80%93Hellman
- https://en.wikipedia.org/wiki/Forward_secrecy
-
Validating URLs in Go
2019-05-30 -
GPU monitoring with Prometheus
2019-04-27 - https://stackoverflow.com/questions/8223811/top-command-for-gpus-using-cuda
- https://github.com/wookayin/gpustat
- https://github.com/zhebrak/nvidia_smi_exporter (Go)
- https://github.com/tankbusta/nvidia_exporter (C, Go)
- https://github.com/teh/nvidia-smi-prometheus (Haskell)
- https://github.com/gsperry2011/prometheus/blob/master/nvidia/ewbf_scraper.py (Python)
- https://grafana.com/dashboards/1500
-
Tuning PHP-FPM for high traffic
2019-03-29 - https://haydenjames.io/php-fpm-tuning-using-pm-static-max-performance/
- https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/
- http://www.softwareprojects.com/resources/programming/t-optimizing-nginx-and-php-fpm-for-high-traffic-sites-2081.html
- https://www.php.net/manual/en/install.fpm.configuration.php
- https://serverfault.com/questions/773216/php-error-pool-www-seems-busy-you-may-need-to-increase-pm-start-servers-or-p
- https://serverfault.com/questions/874642/configuring-nginx-php-fpm-for-high-traffic-load
-
TL;DR: Hydrators are used to map arrays to objects, and vice-versa
- https://www.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query.html#hydration-modes
- https://codereview.stackexchange.com/questions/222/php-doctrine-array-hydration
- https://github.com/doctrine/DoctrineModule/blob/master/docs/hydrator.md
- https://framework.zend.com/manual/2.4/en/modules/zend.stdlib.hydrator.html
- https://github.com/phpro/zf-doctrine-hydration-module
- https://github.com/zendframework/zend-hydrator
-
xpadneo | Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
2019-02-01 - https://github.com/atar-axis/xpadneo/
- https://aur.archlinux.org/packages/xpadneo-dkms-git/
- https://www.gamingonlinux.com/articles/xpadneo-is-an-advanced-linux-driver-for-the-xbox-one-s-wireless-gamepad.11875
- https://askubuntu.com/questions/783587/how-do-i-get-an-xbox-one-controller-to-work-with-16-04-not-steam
- https://www.reddit.com/r/linux_gaming/comments/63t87i/connecting_xbox_one_s_controllers_with_bluetooth/
- https://github.com/paroj/xpad
- https://github.com/360Controller/360Controller
-
Login throttling in PHP
2019-01-18 - http://www.omniceps.com/stop-brute-force-attacks-php-throttling/
- http://miftyisbored.com/a-complete-tutorial-on-login-throttling-and-recaptha-with-laravel-5-3/
- https://mattstauffer.com/blog/login-throttling-in-laravel-5.1/
- http://codedevelopr.com/articles/throttle-user-login-attempts-in-php/
- https://stackoverflow.com/questions/9153554/best-way-to-implement-ban-after-too-many-login-attempts
- https://stackoverflow.com/questions/2090910/how-can-i-throttle-user-login-attempts-in-php
- https://stackoverflow.com/questions/549/the-definitive-guide-to-form-based-website-authentication#477585