test
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 simplegui | |
c1x = 0 | |
c2x = 0 | |
p1x = 0 | |
p2x = 0 | |
p3x = 0 | |
def draw_handler(canvas): | |
global c1x, c2x, p1x, p2x, p3x |
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
## Read-only CCSO server for Python 3.7+ by dotcomboom for somnol | |
## Originally worked on ~5/29/2019, finished 7/6/2020 | |
## What is implemented: | |
## - "status" command | |
## - "fields" command | |
## - Title-cases fields for the frontend's description | |
## - query command | |
## - reload when any command passed has "reload" in it (with cooldown) | |
## - reading entries from json |
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
Checkpoint Start. | |
<-- Defines a checkpoint named Start. You can go back to it with Goto, as seen on line 13. Also, every operation ends with a period. | |
Set Drink to "Dr. Pepper". | |
Set Bottles to 0. | |
<-- This sets the variable Bottles. Variables store values. | |
<-- Similarly to other languages, quotes around text makes them a string (string of characters, or text) | |
Add 99 to Bottles. | |
<-- Add 99 bottles. (Shown here as an example. You could just Set Bottles to 99.) |
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
<TRACK | |
NAME Chart | |
PEAKCOL 32559202 | |
BEAT -1 | |
AUTOMODE 0 | |
VOLPAN 0.4316101837015 0 -1 -1 1 | |
MUTESOLO 0 0 0 | |
IPHASE 0 | |
PLAYOFFS 0 1 | |
ISBUS 1 1 |
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
// ==UserScript== | |
// @name Moodle: Jump to Current Section | |
// @version 0.1 | |
// @description Userscript for Moodle sites that lets you quickly jump to the current week/section. Made for the Boost and Fordson themes. | |
// @author dotcomboom | |
// @match *://*/course/view.php?id=* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
<Window x:Class="MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="Pocowrite" Height="176" Width="435"> | |
<Grid Background="#40444b"> | |
<InkCanvas Margin="12,12,12,38" Name="InkCanvas1" Background="#36393f" MinHeight="1" MinWidth="1" /> | |
<Button Content="Copy" HorizontalAlignment="Left" Margin="12,0,0,12" Name="CopyBtn" Width="75" Height="23" VerticalAlignment="Bottom" /> | |
<Button Content="Clear" HorizontalAlignment="Right" Margin="0,0,12,12" Name="ClearBtn" Width="75" Background="#FFDDDDDD" Height="23" VerticalAlignment="Bottom" /> | |
</Grid> | |
</Window> |
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 marko | |
import os | |
import urllib.parse | |
from dateparser import parse | |
from bs4 import BeautifulSoup | |
from datetime import time | |
import requests | |
cupboard = "Daily" | |
epichtml = "<h1>HELLOOOOOO</h1>" |
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
// ==UserScript== | |
// @name Neopets: Shop Stock Pricer | |
// @namespace http://lince.somnolescent.net | |
// @version 0.2 | |
// @description This script lets you scrape JellyNeo for prices on the shop stock page. Does not auto-submit or otherwise automate activities, though it does send a bunch of search requests to JN when run. Use at your own risk. | |
// @author metalynx | |
// @match http://www.neopets.com/market.phtml?order_by=id* | |
// @match http://www.neopets.com/market.phtml?type=your* | |
// @icon https://www.google.com/s2/favicons?domain=neopets.com | |
// @require https://cdn.jsdelivr.net/npm/axios@~0.21.1/dist/axios.min.js |
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
#include <sstream> | |
#include <iostream> | |
#include "windows.h." | |
using namespace std; | |
struct timer { | |
int minutes; | |
int seconds; | |
bool active; | |
string s; |