Skip to content

Instantly share code, notes, and snippets.

View olexsmir's full-sized avatar
🇺🇦

Oleksandr Smirnov olexsmir

🇺🇦
View GitHub Profile
@olexsmir
olexsmir / README.md
Last active April 3, 2023 20:27
easy getting prompt to ChatGPT for cheating on naurok.com.ua tests

Why? I had been bored with copypasting questions and answers into ChatGpt for getting answers.

How to use it?

  1. Copy code below
  2. Open the console in your browser and paste the code snippet
  3. Copy the output into ChatGpt

I have used it for cheating on 2 tests and it worked for me, I don't know how about you 😉

It was tested on firefox on archlinux. I use arch btw

@olexsmir
olexsmir / .vimrc
Created August 6, 2021 14:11
Simple vim configuration
call plug#begin('~/.vim/plugged')
Plug 'pangloss/vim-javascript'
Plug 'tomasiser/vim-code-dark'
Plug 'tpope/vim-surround'
call plug#end()
set termguicolors
colo codedark
set nu rnu
@olexsmir
olexsmir / ClipboardChander.py
Last active July 18, 2020 20:27
ClipboardChander
"""
Clipboard value change program
Install pip requirements:
$ pip install --upgrade keyboard
$ pip install --upgrade pyperclip
"""
import pyperclip
import keyboard
#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
ppa_name=`echo "$1" | cut -d":" -f2 -s`
if [ -z "$ppa_name" ]
then
echo "PPA name not found"