View canvasDraw.html
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
<!-- html blank page --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<!-- canvas --> |
View FIX for Ubuntu 20.04 Lutris Certificate issue.txt
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
Run these commands on terminal | |
sudo update-ca-certificates --fresh | |
export SSL_CERT_DIR=/etc/ssl/certs | |
# when faced with this issue | |
INFO 2020-06-23 18:33:48,649 [application.do_command_line:245]:Running Lutris 0.5.6 | |
INFO 2020-06-23 18:33:48,650 [startup.check_driver:54]:Using NVIDIA drivers 440.64 for x86_64 | |
INFO 2020-06-23 18:33:48,650 [startup.check_driver:60]:GPU: Quadro M2000M | |
INFO 2020-06-23 18:33:48,650 [startup.check_driver:77]:GPU: 10DE:13B0 17AA:222E using nvidia drivers |
View arguments.py
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
import argparse | |
# GET Arguments using command line | |
parser = argparse.ArgumentParser(description='For blog.codeonion.com my visitors!') | |
parser.add_argument("--argument_to_be_passed", required=True, type=str, help="Please pass a value into --argument_to_be_passed") | |
args = parser.parse_args() | |
value = args.argument_to_be_passed | |
print(value) |
View Execute Python script with arguments using Autohotkey
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
import argparse | |
# GET ORDER ID | |
parser = argparse.ArgumentParser(description='For blog.codeonion.com my visitors!') | |
parser.add_argument("--argument_to_be_passed", required=True, type=str, help="Please pass a value into --argument_to_be_passed") | |
args = parser.parse_args() | |
value = args.argument_to_be_passed | |
print(value) | |
; Autoexecute |
View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
ul { | |
list-style: none; /* Remove HTML bullets */ | |
padding: 0; | |
margin: 0; | |
} |
View snippet.ps1
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
<# This form was created using POSHGUI.com a free online gui designer for PowerShell | |
.NAME | |
Untitled | |
#> | |
Add-Type -AssemblyName System.Windows.Forms | |
[System.Windows.Forms.Application]::EnableVisualStyles() | |
$Form = New-Object system.Windows.Forms.Form | |
$Form.ClientSize = '400,400' |
View DisableStickyKeys.ahk
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
SearchString = Turn on easy access keys | |
^j:: | |
TrayTip, Sticky Keys Macro, Toggling Sticky Keys, 2,1 | |
Send, #u | |
Sleep, 1000 | |
Send, %SearchString% | |
Send, {Enter} | |
Sleep, 1000 | |
Send, {Enter} |
View uploader.php
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
<?php | |
//blog.theonlytutorials.com | |
//author: agurchand | |
if($_POST){ | |
//get the url | |
$url = $_POST['url']; | |
//add time to the current filename | |
$name = basename($url); |
View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Favicon</title> | |
<link rel="shortcut icon" href="stupidFavicon.ico" type="image/x-icon"> | |
<link rel="icon" href="stupidFavicon.ico" type="image/x-icon"> | |
</head> | |
<body> | |
Just checking the Favicon | |
</body> |
NewerOlder