Adam Marchetti adamnew123456

View evilscan.py
1 2 3 4 5 6 7 8 9 10
# So, this is a port of a fairly simple script from "normal Python" to "pure-lambda
# Python". This code contains no Python statements, and is a proof-of-concept to show
# what you can do without statements, and how powerful Python's lambdas are despite
# that they are crippled.
#
# A few notes on how to read this:
# 1. Almost everything happens in the arguments. Practially nothing happens
# inside function bodies, since the function bodies are usually just other
# functions. Go down to the bottom of the expression (using your editor's
# paren matching) to see what the arguments are.
View scan.py
1 2 3 4 5 6 7 8 9 10
"""
Interfacing with the HP 3050A to automate scanning.
 
Copyright (c) 2014, Adam Marchetti
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
View gst-inspector.tcl
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/tclsh
# A simple gstreamer plugin browser.
package require Tk
 
pack [entry .searchbox] -fill x
pack [listbox .searchlist] -expand true -fill both
pack [text .detailbox] -expand true -fill both
 
proc dosearch {} {
.searchlist delete 0 end
View build-intellij.xml
1 2 3 4 5 6 7 8 9 10
<!-- Basic template setup for compiling Intellij Forms By Hand -->
<project name="NAME" default="dist" basedir=".">
<description>
DESCRIPTION
</description>
 
<path id="javac2.classpath">
<fileset dir="lib">
<!-- Copy these files to the lib/ directory:
- annotations.jar
View pyrandr.py
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/python
#
# Copyright 2010 Adam Marchetti
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
View trash.tcl
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/tclsh
# Copyright 2011 Adam Marchetti
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
View cprint.h
1 2 3 4 5 6 7 8 9
/*
Copyright (c) 2011, Adam Marchetti
All rights reserved.
 
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
 
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Something went wrong with that request. Please try again.