CSS Emulation of the UI style of the Common Desktop Environment
A Pen by Vegard Berg on CodePen.
CSS Emulation of the UI style of the Common Desktop Environment
A Pen by Vegard Berg on CodePen.
I hereby claim:
To claim this, I am signing this object:
#! /usr/env python3 | |
# Dependencies: | |
# discord.py https://github.com/Rapptz/discord.py | |
# requests http://docs.python-requests.org/en/master/ | |
import discord | |
import asyncio | |
import requests | |
import json |
package utils | |
import ( | |
"encoding/base64" | |
"net/http" | |
"strings" | |
) | |
func BasicAuth(handler http.HandlerFunc, username, password string) http.HandlerFunc { | |
return func(w http.ResponseWriter, r *http.Request) { |
# -*- coding: utf-8 -*- | |
from sys import argv | |
class Stack: | |
def __init__(self): | |
self.items = [] | |
def isEmpty(self): | |
return self.items == [] |
import requests, sys | |
url = "https://www.atb.no/xmlhttprequest.php?service=routeplannerOracle.getOracleAnswer&question=" + " ".join(sys.argv[1:]) | |
r = requests.get(url) | |
text = r.text | |
print(text) |
<!DOCTYPE html5> | |
<html> | |
<head> | |
<script type="text/javascript" src="processing.js"> </script> <!-- Loads the Processing.js library from the same directory --> | |
</head> | |
<body> | |
<canvas data-processing-sources="test.pde"></canvas> <!-- This loads the file called "test.pde" in the same directory as the file" --> | |
</body> | |
</html> |
#lang racket | |
(require racket/gui/base) | |
; Create the main window. | |
(define frame (new frame% [label "Filler"] | |
[min-width 300] | |
[min-height 240] | |
[style '(no-resize-border)] | |
)) | |
; Create the status line |
#lang racket | |
(define max (expt 100 100)) | |
(define out (open-output-file "eee.txt")) | |
(define (f a b) | |
(if (> b max) | |
(f 0 1) |
def isPrime(n): | |
if n <= 0: | |
return False | |
elif n == 1: | |
return False | |
elif n == 2: | |
return True | |
else: | |
for x in range(2, (n // 2) + 1 ): | |
if (n % x) == 0: |