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 Part | |
import FreeCAD | |
from FreeCAD import Base | |
TABLETOP_SLACK = 1 # in | |
LEG_WIDTH = 1.5 # in | |
TABLE_HEIGHT = 3 * 12 # 3ft | |
BEAM_WIDTH = 3/4 # in | |
BEAM_HEIGHT = 1.5 # in |
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 <stack> | |
#include <cassert> | |
using namespace std; | |
namespace hanoi { | |
static void move(stack<int>& from, stack<int>& to) | |
{ |
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
// https://orteil.dashnet.org/cookieclicker/ | |
var cookie = document.getElementById("bigCookie") | |
var cookieIntervalId = setInterval(function() { | |
cookie.click(); | |
}, 100); |
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 requests | |
from bs4 import BeautifulSoup | |
import re | |
from bs4.element import ContentMetaAttributeValue | |
def trim(s): | |
return s.strip().replace('\n', '') | |
class Color(object): |
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
from enum import Enum | |
from random import randint | |
class Weather(Enum): | |
CLEAR = auto() | |
CLOUDY = auto() | |
RAINY = auto() | |
def next(self): | |
d6 = randint(1,6) |
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 math | |
def inches_to_cm(inches): | |
return inches * 2.54 | |
def feet_to_inches(ft): | |
return 12 * ft | |
def perimeter(w, h): | |
return 2 * w + 2 * h |
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
# Mold #50 - Wizard Tower | |
# Mold #55 - Bell tower | |
# Mold #65 - Ruined tower | |
# Mold #60 - Prison tower | |
# Mold #63 - Octagon Tower | |
# Mold #226 - Wooden Beam | |
# #245 - Slate Shingle Roof | |
# #259 - Rubble Bridge | |
import math |
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
# Mold #50 - Wizard Tower | |
# Mold #55 - Bell tower | |
# Mold #65 - Ruined tower | |
# Mold #60 - Prison tower | |
# Mold #63 - Octagon Tower | |
# Mold #226 - Wooden Beam | |
# #245 - Slate Shingle Roof | |
# #259 - Rubble Bridge | |
import math |
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
package zero | |
import ( | |
"io" | |
) | |
type ZeroPad struct { | |
w io.WriteCloser | |
nleft int | |
} |
This file has been truncated, but you can view the full file.
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
[1m*** Cleaning fonts *** [1/1](B[m | |
]0;jhbuild:Cleaning fonts [1/1]make -j 16 clean | |
[1m*** success *** [1/1](B[m | |
]0;jhbuild:success [1/1]Updating EFL port dependencies using jhbuild... | |
Fetching origin | |
gnome-autogen.sh not available | |
gnome-doc-tool not available | |
Configuring jhbuild without autotools | |
Now type `make' to compile jhbuild | |
make[1]: Entering directory `/home/dakerfp/work/WebKitBuild.nix/Dependencies/Source/jhbuild/po' |
NewerOlder