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
[Log] [ (genniv, line 67) | |
[ | |
[ | |
[ | |
[ | |
[ | |
[ | |
"English", | |
"العربية (Arabic)", | |
"বাংলা (Bangla)", |
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
# SPDX-FileCopyrightText: 2019 ladyada for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
""" | |
`adafruit_mlx90640` | |
================================================================================ | |
Driver for the MLX90640 thermal camera |
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 circuit import BooleanCircuit | |
from evaluator import GarbledCircuitEvaluator | |
if __name__ == "__main__": | |
import sys | |
import json | |
if len(sys.argv) < 3: | |
print("usage: python duipai.py <circuit.json> <garbled.json>") | |
sys.exit(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
import {Map, View} from 'ol'; | |
import TileLayer from 'ol/layer/Tile'; | |
import Overlay from 'ol/Overlay.js'; | |
import XYZ from 'ol/source/XYZ'; | |
import { fromLonLat } from 'ol/proj' | |
window.view = new View({ | |
center: [-13591396.2749238, 4545162.573881949], | |
zoom: 9 | |
}) |
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
wrap2 = (c) => { | |
let isPropFunc = (k) => (typeof c[k] === 'function') | |
let isProto = (k) => isPropFunc(k) && !!c[k].prototype | |
let logAccess = (k, v) => { | |
console.log(`trying to access ${k} at ${c} with ${v}`); | |
} | |
console.log(`wrapping ${c}`) | |
let res = {} | |
let shouldBind = (v) => !!v && (typeof v == 'object') && (!v.prototype) && (v.__proto__ === HTMLDocument.prototype || v.__proto__ === Window.prototype || v.prototype && v.prototype.isPrototypeOf(document.HTMLElementPrototype)) | |
let cat = (k) => (...args) => { |
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
#!/bin/bash | |
# somebody at ece411 made this and i just changed it, cred cred cred stuff, license license license stuff, yeah. | |
# Settings | |
DEFAULT_TARGET=$HOME/ece411/netid/mp1/simulation/modelsim/memory.lst | |
ASSEMBLER=/class/ece411/software/riscv-tools/bin/riscv32-unknown-elf-gcc | |
OBJCOPY=/class/ece411/software/riscv-tools/bin/riscv32-unknown-elf-objcopy | |
OBJDUMP=/class/ece411/software/riscv-tools/bin/riscv32-unknown-elf-objdump | |
ADDRESSABILITY=1 | |
# Command line parameters |
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
{ | |
"uid": "feynman-lecture-vol-i", | |
"title": "The Feynman Lectures on Physics, Volume I", | |
"author": "Richard Feynman", | |
"chapters": ["http://www.feynmanlectures.caltech.edu/I_89.html","http://www.feynmanlectures.caltech.edu/I_90.html","http://www.feynmanlectures.caltech.edu/I_91.html","http://www.feynmanlectures.caltech.edu/I_92.html","http://www.feynmanlectures.caltech.edu/I_01.html","http://www.feynmanlectures.caltech.edu/I_02.html","http://www.feynmanlectures.caltech.edu/I_03.html","http://www.feynmanlectures.caltech.edu/I_04.html","http://www.feynmanlectures.caltech.edu/I_05.html","http://www.feynmanlectures.caltech.edu/I_06.html","http://www.feynmanlectures.caltech.edu/I_07.html","http://www.feynmanlectures.caltech.edu/I_08.html","http://www.feynmanlectures.caltech.edu/I_09.html","http://www.feynmanlectures.caltech.edu/I_10.html","http://www.feynmanlectures.caltech.edu/I_11.html","http://www.feynmanlectures.caltech.edu/I_12.html","http://www.feynmanlectures.caltech.edu/I_13.html","http://www.feynman |
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
{ | |
"uid": "book", | |
"title": "龍騰世紀 博爾赫斯作品集", | |
"author": "JLB", | |
"chapters": ["http://millionbook.net/wg/b/boerhesi/000/001.htm", "http://millionbook.net/wg/b/boerhesi/000/002.htm", "http://millionbook.net/wg/b/boerhesi/000/003.htm", "http://millionbook.net/wg/b/boerhesi/000/004.htm", "http://millionbook.net/wg/b/boerhesi/000/005.htm", "http://millionbook.net/wg/b/boerhesi/000/006.htm", "http://millionbook.net/wg/b/boerhesi/000/007.htm", "http://millionbook.net/wg/b/boerhesi/000/008.htm", "http://millionbook.net/wg/b/boerhesi/000/009.htm", "http://millionbook.net/wg/b/boerhesi/000/010.htm", "http://millionbook.net/wg/b/boerhesi/000/011.htm", "http://millionbook.net/wg/b/boerhesi/000/012.htm", "http://millionbook.net/wg/b/boerhesi/000/013.htm", "http://millionbook.net/wg/b/boerhesi/000/014.htm", "http://millionbook.net/wg/b/boerhesi/000/015.htm", "http://millionbook.net/wg/b/boerhesi/000/016.htm", "http://millionbook.net/wg/b/boerhesi/000/017.htm", "http://millionbook.net/wg/b/boerhesi/000/018.htm", "http:// |
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
(() => { | |
let modalNode = document.getElementsByClassName('PrivacyConfirm-modal')[0] | |
while (modalNode.parentNode !== document.body) | |
modalNode = modalNode.parentNode | |
modalNode.remove() | |
document.body.parentNode.style.overflow = '' | |
})() |
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 Model_pb2 as M | |
# model_pb2 could be the compiled source | |
from google.protobuf.descriptor_pb2 import FileDescriptorProto | |
f = FileDescriptorProto() | |
f.MergeFromString(M.DESCRIPTOR.serialized_pb) | |
print f |
NewerOlder