This file contains hidden or 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
#!/bin/python3 | |
import pyzstd | |
import os | |
import re | |
from collections import Counter | |
import itertools | |
# All files in "wiki/A" directory get added | |
# Create with: |
This file contains hidden or 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
#!/bin/env python | |
from pygcode import * | |
import pygcode | |
import math | |
prefix = """ | |
M82 ;absolute extrusion mode | |
M140 S60 ; set bed temperature to 55 C and continue | |
M104 S200 ; set hot end temperature to 210 C and continue |
This file contains hidden or 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
#!/bin/env python3 | |
# Requires https://github.com/Hello1024/devmem-full-access | |
# Requires pip install | |
from bloom_filter import BloomFilter # | |
import re | |
import hashlib | |
def allRamPages(): | |
with open('/proc/iomem', 'r') as iomemfile: |
This file contains hidden or 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
#!/bin/bash | |
# Run this on This AMI on AWS: | |
# https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#LaunchInstanceWizard:ami=ami-b36981d8 | |
# You should get yourself a fully working GPU enabled tensorflow installation. | |
cd ~ | |
# grab cuda 7.0 |