Skip to content

Instantly share code, notes, and snippets.

View meta-boy's full-sized avatar
🍀
lucky!

Anurag meta-boy

🍀
lucky!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am meta-boy on github.
  • I am s0urc3 (https://keybase.io/s0urc3) on keybase.
  • I have a public key ASAMXa1yAGkjIMsR8owZ79N6PXYdOEmuUM4JTTuLn-lPYAo

To claim this, I am signing this object:

import os
package_stream = os.popen("pip freeze")
packages = [p.split("=")[0] for p in package_stream.read().splitlines()]
count = 0
p = input("Enter name of dependency to search: ")
for package in packages:
stream = os.popen(f"pip show {package}")
print(f"{count}/{len(packages)}")
count += 1
thing = stream.read()
import win32api
import time
import pyautogui
import random
state_left = win32api.GetKeyState(0x01)
state_pg = win32api.GetKeyState(0x022)
enabled = False
while True:
a = win32api.GetKeyState(0x01)
import 'dart:convert';
import 'dart:math';
import 'dart:typed_data';
import 'package:crypto/crypto.dart';
import 'package:tuple/tuple.dart';
import 'package:encrypt/encrypt.dart' as encrypt;
String encryptAESCryptoJS(String plainText, String passphrase) {
try {
final salt = genRandomWithNonZero(8);
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class StarTrail extends StatefulWidget {
@override
_StarTrailState createState() => _StarTrailState();
}
class _StarTrailState extends State<StarTrail> with TickerProviderStateMixin {
AnimationController _animationController;
@meta-boy
meta-boy / DMC.md
Last active April 26, 2020 14:35
DMC

Introduction

In this proposed architecture an API will be constructed which will provide end points using which a new user interface will be built. This will eleminate the tedious way of navigation in the existing user interface. The raw video stream will be served to the users, which are maintained by the database. The stream will also be recorded and stored within the server and a central way to access them will be provided. The clients that will serve the video and the related info will have cross platform support for more ease of access.

Advantages over existing Architecture

1. Implementation of Stack using Array.
#include <stdio.h>
int top = -1, stack[100], choice, size, num;
void push(int num);
void pop();
void display();
1. An encoder requires a console based application that reads the integer and peforms the arithmetic right shift operation on it so that sign bit of entered number is preserved. The input to the application can be given either while launching console based application or in the interactive way.
package PracticalExam.q1;
public class MainActivity {
public static void main(String[] args) {
System.out.println("hello");
}
}
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class OneTimePasswordThing extends StatelessWidget {
String number = "932434242";
String t = "Resent verification code";
@override
Widget build(BuildContext context) {
return Container(
height: 401,
@meta-boy
meta-boy / zim.py
Last active August 20, 2019 16:40
import string
import requests
import json
# making 2 dictionaries of all the alphabets, could have used one
# but for the sake of explaining
first = string.ascii_lowercase # for first alphabet
second = string.ascii_lowercase # for second alphabet
final = {} # final result to store in