Skip to content

Instantly share code, notes, and snippets.

$('[type=radio]').each(function(i){
if(this.value == 0){
this.checked = true
}
})

Since I'm done with the maintenance update for "The Wash", I have decided to analyze the blog that inspired "The Wash" and how it came to be. From a simple inspiration born out of infatuation, to a full fledge re-write that has more features under the hood, And a stand-alone editor written in Electron, but enough of the technicalities; you're not here for that.

For starters, This analysis is about how every line in the entry sparked my inspiration. Today's deconstruction will be Entry #1.

Let us begin with the title

"why did I start this blog"

This one is what kicked off my initial thought of starting my own blog site. Me being a masochist (sort of), I decided to write my own. I kinda went overboard and messaged Q via email, which was very embarrassing.

$paymentStatus = false;
$paymentResult = [];
$principalAmount = 0;
$surcharge = 0;
$order_gst = 0;
$discount = 0;
$order_vat = 0;
$gst = 0;
$vat = 0;
$taxExemption = false;
# Install needed dependencies
# pip install mysql
# pip install schedule
import mysql.connector
from ast import literal_eval
from datetime import datetime
import schedule
import time
from multiprocessing import Process, Manager
["Africa/Abidjan","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihu

User Management Rewrite Branch

This is the scaffold, features are still being ported over from the app using this This tool

import "regenerator-runtime/runtime";
import axios from "axios";
// It just appends the API request
let cors_api_url = "https://thewashapi-production.up.railway.app/api";
export class Api {
static instance;
axiosInstance = null;
constructor() {
@skeltonmod
skeltonmod / dogshit.py
Last active March 3, 2023 11:32
CS302 - CNN
# ELIJAH M. ABGAO
# BACHELOR SCIENCE IN COMPUTER SCIENCE
# CODE IS OLD AS FUCK NOT RECOMMENDED, SEE BELOW!
import numpy as np
import keras
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPooling2D
x_train = np.load('cherry_images.npy') # array of cherry images
y_train = np.load('cherry_labels.npy') # array of labels (ripe=1, unripe=0)
import "regenerator-runtime/runtime";
import axios from "axios";
import Cookies from 'js-cookie';
import { API_URL_TEMP } from "../api/api";
// It just appends the API request
let cors_api_url = API_URL_TEMP;
export class Api {
static instance;
axiosInstance = null;
import "regenerator-runtime/runtime";
import axios from "axios";
import Cookies from 'js-cookie';
import { API_URL_TEMP } from "../api/api";
// It just appends the API request
let cors_api_url = API_URL_TEMP;
export class Api {
static instance;
axiosInstance = null;