Skip to content

Instantly share code, notes, and snippets.

View crazo7924's full-sized avatar
🤫
secretly working on something

Bharat Dev Burman crazo7924

🤫
secretly working on something
View GitHub Profile
# Get the collection of files.
$files = Get-ChildItem -Path '.' -Filter '*.opus'
$total = $files.Count
# No need for the synchronized hashtable as it was unused.
Write-Progress -Activity "opus -> m4a + fixing date..." -Status "Starting..." -PercentComplete 0
# Counter for processed items.
$processedCount = 0
#!/usr/bin/python3
import os
import subprocess
import sys
modlist_file = sys.argv[1]
mod_location = os.getcwd()
modlist = set()
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Calculator</title>
<style>
.container {
display: flex;
justify-content: center;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Matrix rain</title>
</head>
<body style="width: 100vw; height: 100vh; margin: 0; background-color: black; overflow: hidden;">
<canvas id="main" style="margin: 0; width: inherit; height: inherit;">
#!/usr/bin/python3
import sys
def print_fibonacci(howMany):
a, b = 0, 1
while a < howMany:
print(a)
a, b = b, a + b
@crazo7924
crazo7924 / k5fpr-console-ramoops.log
Created June 29, 2020 14:28
Lenovo K4 Note (k5fpr) ramoops 0629
I][TZDriver][tz_driver_cpu_callback][368]after cpumask set cpu
[TEEI][TZDriver]current cpu id
[TEEI][TZDriver]change cpu id = [6]

[ 1.094297] (0)[120:kworker/u16:2] mmcblk1: p1
[ 1.094674] (2)[108:hps_main]CPU7: shutdown
[ 1.094937] [TEEI][TZDriver]cpu down success ***********************
[ 1.094953] (0)[120:kworker/u16:2][sd]sdio_set_vcore_performance auto-K haven't done
[ 1.095060] (4)[115:kworker/u16:1]platform arizona-extcon: Driver arizona-extcon requests probe deferral
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.4.111 Kernel Configuration
#
# modified by crazo7924
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
@crazo7924
crazo7924 / LEPP.md
Created January 24, 2019 17:11 — forked from cham11ng/LEPP.md
LEPP Setup - Ubuntu 16.04 LTS

A Relatively Secure Server Stack Setup in Ubuntu 16.04 LTS

Anup Dhakal

Sagar Chamling

Introduction

In this guide, LEPP stands for Linux, Nginx (pronounced as Engine-X) , Postgres and PHP (PHP Hypertext Preprocessor).