Skip to content

Instantly share code, notes, and snippets.

View devqueue's full-sized avatar
:octocat:
coding from home

devqueue devqueue

:octocat:
coding from home
  • VS-code
View GitHub Profile
:+1:
:-1:
:airplane:
:art:
:bear:
:beer:
:bike:
:bomb:
:book:
:bulb:
@devqueue
devqueue / log.txt
Last active August 29, 2021 13:17
WSL Script error (script from https://github.com/DesktopECHO/Kali-xRDP)
[16:00:10] Prepare Distro (~1m00s)
[16:01:24] Install xRDP and 'kali-linux-core' metapackage (~3m00s)
[16:04:20] Install Seamonkey and 'kali-desktop-xfce' metapackage (~5m00s)
[16:12:10] Additional Components (~1m00s)
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
@devqueue
devqueue / calc.py
Created September 15, 2021 13:32
calculator
print('''What operation do you want?
1. addition
2. Subtraction
3. Multiplication
4. Division
''')
choice = int(input("Enter your choice: "))
number1 = int(input("Enter first number: "))
import java.util.*;
import java.io.*;
/**
*
* @author user
*/
public class Main {
/**
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
/**
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
// package assignment2;
import java.util.Scanner;
/**
*
import cv2
import os
import string
import random
class Capture:
def __init__(self):
pass
def color():
@devqueue
devqueue / recap.md
Last active December 11, 2021 10:02

Python Recap

Basics:

Input and Output:

  1. print("hello world")
  2. name = input("Type your name: ")

Data Types:-

  1. int
<!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">
<!-- CSSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link href="/static/favicon.ico" rel="icon">
float temp;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
temp = analogRead(A0);