Skip to content

Instantly share code, notes, and snippets.

View boazcstrike's full-sized avatar
:octocat:
Please teach me how to code

Boaz Sze boazcstrike

:octocat:
Please teach me how to code
  • Mind You Mental Health Systems
  • Manila, Philippines
  • X @boazcstrike
View GitHub Profile
@boazcstrike
boazcstrike / line_too_long.md
Last active June 20, 2024 06:15
readme for line too long flake8 error ignore

Open VS Code and go to your workspace or project folder.

Create or open the .flake8 configuration file: This file is usually located in the root directory of your project. If it doesn't exist, you can create it.

Add the following configuration to the .flake8 file to ignore the "line too long" (E501) errors:

[flake8]
ignore = E501
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
<title>This is the changelog for Mind You App</title>
<item>
<title>Version 1.0</title>
<description>This is for 1.0</description>
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
<sparkle:version>1.0</sparkle:version>
<sparkle:tags> <sparkle:criticalUpdate /> </sparkle:tags>
@boazcstrike
boazcstrike / mindyouapp_version.json
Last active June 20, 2023 07:27
mindyouapp_version.json
{
"ios_version": "1.2.8",
"android_version": "1.2.8",
"minimum_ios_version": "0.2.0",
"minimum_android_version": "0.2.0"
}
@boazcstrike
boazcstrike / testappcast.xml
Created June 13, 2023 08:46
Just to test appcast
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
<title>Bo's App Test - Appcast</title>
<item>
<title>Version 1.69.0</title>
<description>Minor updates and improvements.</description>
<pubDate>Sun, 30 Dec 2022 12:00:00 +0000</pubDate>
<enclosure url="https://github.com/boazcstrike/boaz-frontend-farms" sparkle:version="1.15.0" sparkle:os="android" />
</item>
@boazcstrike
boazcstrike / python-readme.md
Created March 3, 2023 05:59
All about python

Check Installation

python
python3

Global Installation

Homebrew

@boazcstrike
boazcstrike / pwnedpasswords-v2-top20k.txt
Created June 20, 2022 03:35 — forked from roycewilliams/pwnedpasswords-v2-top20k.txt
pwnedpasswords-v2-06202022-top20k.txt
#------------------------------------------------------------------------------
# Top 20K hashes from the Troy Hunt / haveibeenpwned Pwned Passwords list v2 (2018-02-21)
# with frequency count and cracked plaintext passwords
#
# The latest version of this file can be found here:
# https://gist.github.com/roycewilliams/281ce539915a947a23db17137d91aeb7
#
# NOTE: THIS FILE IS DEPRECATED.
# The equivalent of this file, but based on v6 of the Pwned Passwords, is here:
# https://gist.github.com/roycewilliams/226886fd01572964e1431ac8afc999ce
@boazcstrike
boazcstrike / github-stats.md
Created February 9, 2022 18:04
dynamic github stats

boazcstrike's GitHub stats

import React from 'react';
import {
pdf,
Document,
Page,
Text,
} from '@react-pdf/renderer';
import { saveAs } from 'file-saver';
const DocumentPdf = ({ someString }) => (
@boazcstrike
boazcstrike / disable_garena_service.bat
Created April 30, 2021 20:33 — forked from Asbra/disable_garena_service.bat
Disable Garena auto-start
@echo off
sc config "GarenaPlatform" start=demand
schtasks /TN "gxx speed launcher" /Change /Disable

Upgrading dependencies

There is 2 methods of upgrading the python dependencies. WARNING: there is a 70% chance that this will generate warnings and errors due to dependency mismatches; this will break most codes; this command should be ran only once a week - once a month or, to be safe, none at all

Using pip-review

pip3 install pip-review # on mac
pip install pip-review # on win