This file contains 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
// | |
// JSONLoader.swift | |
// Load JSON from file and data objects effortlessly | |
// | |
// Created by Nick on 9/22/19. | |
// Copyright © 2019 Nick. All rights reserved. | |
// | |
import Foundation |
This file contains 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
// | |
// Code is poetry | |
// | |
// Created by Nick aka black-dragon74 | |
// | |
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
class PageViewIndicator extends AnimatedWidget { |
This file contains 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
#!/bin/bash | |
# Regex to fix DB is: "s/<script[\s\S]*?>[\s\S]*?<\/script>//g" | |
totalInfections=0 | |
filesProcessed=0 | |
echo "Welcome to lovegreenpencils malware fixer by black-dragon74" | |
echo "This fix is divided into 3 phases." | |
echo "Phase 1 fixes the \`beckup\` files." |
This file contains 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
package com.blackdragon74; | |
import java.util.Scanner; | |
class Solution { | |
public static void main(String[] args) { | |
Scanner scan = new Scanner(System.in); | |
int N = scan.nextInt(); | |
int M = scan.nextInt(); |
This file contains 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
def find_next_empty(puzzle): | |
for r in range(9): | |
for c in range(9): | |
if puzzle[r][c] == 0: | |
return r, c | |
return None, None | |
def is_valid(guess, puzzle, row, col): | |
# First check the rows |
This file contains 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
#include <stdio.h> | |
#include <string.h> | |
#include <openssl/sha.h> | |
#include <openssl/evp.h> | |
#if OPENSSL_VERSION_NUMBER < 0x10100000L | |
#define EVP_MD_CTX_new EVP_MD_CTX_create | |
#define EVP_MD_CTX_free EVP_MD_CTX_destroy | |
#endif |