See the snippets "guide.md" and "redis.md" below.
If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:
| # /etc/fail2ban/jail.local | |
| [jupyterhub] | |
| enabled = true | |
| port = 443 | |
| filter = jupyterhub | |
| backend = systemd | |
| maxretry = 6 |
| #!/usr/bin/env python | |
| from random import randint | |
| particles = [] ## create an empty list | |
| results = [] ## create a blank list | |
| max_count = 100 ## start with this number of cubes | |
| while (max_count > 1) : | |
| for i in range (max_count): ## populate array with random dice throws |
See the snippets "guide.md" and "redis.md" below.
If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:
This are notes for configuration thinkfan for Fedora. This configuration procedure was followed on a Lenovo Thinkpad X1 Carbon (5th Gen) running Fedora 25.
Non standard (default) configuration was required for this machine as the default sensors are not available. Eg: /proc/acpi/ibm/thermal does not exist for this model.
An annoted configuration file has been included below. However, there is no guarentee that this will work as-is on every machine.
dnf -y install thinkfan| # Make the display sparkle. Click button A to show an image for | |
| # a moment before the sparkles start again. Click button B to | |
| # scroll a friendly message before the sparkles return. | |
| # By Nicholas H.Tollervey and released to the Public Domain. | |
| # How would you improve this code? | |
| from microbit import * | |
| import random | |
| # A full list of images can be found here: http://bit.ly/1WY221q | |
| images = [Image.HAPPY, Image.SAD, Image.GHOST, Image.SKULL, |
| :: Windows 10 Hardening Script | |
| :: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering. | |
| :: Obligatory 'views are my own'. :) | |
| :: Thank you @jaredhaight for the Win Firewall config recommendations! | |
| :: Thank you @ricardojba for the DLL Safe Order Search reg key! | |
| :: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings! | |
| :: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater | |
| : |
| # THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF | |
| # FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. | |
| #Requires -Modules @{ ModuleName="Microsoft.Graph.Authentication" ; ModuleVersion="2.15.0" } | |
| #Requires -Modules @{ ModuleName="Microsoft.Graph.DirectoryObjects"; ModuleVersion="2.15.0" } | |
| #Requires -Modules @{ ModuleName="Microsoft.Graph.Identity.SignIns"; ModuleVersion="2.15.0" } | |
| #Requires -Modules @{ ModuleName="Microsoft.Graph.Applications" ; ModuleVersion="2.15.0" } | |
| #Requires -Modules @{ ModuleName="Microsoft.Graph.Users" ; ModuleVersion="2.15.0" } | |
| <# |
| //A brain enhancer to conquer random | |
| //special thanks to | |
| #include <Arduboy2.h> | |
| //#include "autopowerdown.h" | |
| Arduboy2 arduboy; | |
| #define OFF HIGH | |
| //computechallenge variables |
| # This is a simple gui for creating stop motion animations using the Pi camera | |
| # martin@ohanlonweb.com | |
| # stuffaboutcode.com | |
| # Instructions: | |
| # - Connect a camera module | |
| # - Enable the camera (Menu > Preferences > Raspberry Pi Configuration, Interfaces, Camera) | |
| # - Install the relevant modules, open a terminal (Menu > Accessories > Terminal) and run: | |
| # - sudo pip3 install guizero | |
| # - sudo pip3 install imageio |
Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)
Install Custom CSS and JS Loader
Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"