Security Measure | Description | |
---|---|---|
☐ | Use HTTPS everywhere | Prevents basic eavesdropping and man-in-the-middle attacks |
☐ | Input validation and sanitization | Prevents XSS attacks by validating all user inputs |
☐ | Don't store sensitive data in the browser | No secrets in localStorage or client-side code |
☐ | CSRF protection | Implement anti-CSRF tokens for forms and state-changing requests |
☐ | Never expose API keys in frontend | API credentials should always remain server-side |
Discover gists
This file contains hidden or 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
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
This PowerShell script allows you to bypass TPM 2.0, unsupported CPU, and memory checks enforced by the Windows 11 Upgrade Assistant and setup.exe from Windows installation media. It eliminates common upgrade blocks such as:
- This PC doesn't currently meet Windows 11 system requirements.
- TPM 2.0 must be supported and enabled on this PC.
- The processor isn't currently supported for Windows 11.
This file contains hidden or 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
<Prompt> | |
<Context> | |
You're tasked with coding a project and need to follow specific guidelines to ensure quality and consistency across various programming languages and frameworks. | |
</Context> | |
<Progress> | |
Document all tasks. Create a folder in the project root named .cline and keep a log of tasks in the following format. | |
GOAL: Detail the goal of the task | |
IMPLMENTATION: Describe how it was implemented. |
This file contains hidden or 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
import Foundation | |
import OSLog | |
@available(iOS 15.0, *) | |
final class LogReportCreator { | |
enum LogReportCreatorError: Error { | |
case noEntries | |
case unableToFindCachesDirectory | |
case unknownError(error: Error) |
This file contains hidden or 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
## You need to remove the default dnsmasq package. | |
## If you remove straight, it will stop resolving DNS, and that is why we are going to use these following commands | |
opkg update; cd /tmp/ && opkg download dnsmasq-full; opkg install ipset libnettle8 libnetfilter-conntrack3; | |
opkg remove dnsmasq; opkg install dnsmasq-full --cache /tmp/; rm -f /tmp/dnsmasq-full*.ipk; | |
## Install wget if you don't have it. | |
## You can skip that if you can upload those files using SCP | |
## Check the official repo as those endpoints update frequently therefore change it accordingly | |
opkg install wget | |
wget https://downloads.sourceforge.net/project/v2raya/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 |
This file contains hidden or 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
import os | |
import ctypes | |
import win32api | |
w = WindowMgr() | |
PUL = ctypes.POINTER(ctypes.c_ulong) | |
class KeyBdInput(ctypes.Structure): | |
_fields_ = [("wVk", ctypes.c_ushort), | |
("wScan", ctypes.c_ushort), |
The first time I played DDR was on a 6th Mix DDR MAX cabinet, but I spent most of my time with this massive custom LED wall screen that housed DDR Extreme. So when I got a foam pad for home, I wanted to replicate what felt most comfortable.
I'm sure it's not pixel perfect, and there are probably some arcade features/behaviours I'm missing, but this setup is close enough for me!
- Download Beware's Stepmania Extreme build (direct)
If you don't mind using an older version of Stepmania, you're probably good to go and can ignore the rest!
NewerOlder