links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: "simple",

Top "simple" experts: frivole, lisabell23, alex.t.d, hrpremier, simple, elangoprasiddhi,

Groups about "simple": Money Earners, Online Business, Healthy Detox Tips, Cheap Home Fuel Prices, Insider Develops New Technology So Powerful , Ideas That Can Change Your Life,

1 - 10 of 14 next »   Watch mshook
 
# Server program

from socket import *

# Set the socket parameters
host = "localhost"
port = 21567
buf = 1024
addr = (host,port)

# Create socket and bind to address
UDPSock = socket(AF_INET,SOCK_DGRAM)
UDPSock.bind(addr)

# Receive messages
while 1:
	data,addr = UDPSock.recvfrom(buf)
	if not data:
		print "Client has exited!"
		break
	else:
		print "nReceived message '", data,"'"

# Close socket
UDPSock.close()

# Client program

from socket import *

# Set the socket parameters
host = "localhost"
port = 21567
buf = 1024
addr = (host,port)

# Create socket
UDPSock = socket(AF_INET,SOCK_DGRAM)

def_msg = "===Enter message to send to server===";
print "n",def_msg

# Send messages
while (1):
	data = raw_input('>> ')
	if not data:
		break
	else:
		if(UDPSock.sendto(data,addr)):
			print "Sending message '",data,"'....."

# Close socket
UDPSock.close()
by mshook 2009-11-14 18:27 test · python · udp · example · code · simple · useful · works
http://www.evolt.org/node/60276 - cached - mail it - history

OneFileCMS is just that. It's a flat, light, one file CMS (Content Management System) entirely contained in an easy-to-implement, highly customizable, database-less PHP script.

Coupling a utilitarian code editor with all the basic necessities of an FTP application, OneFileCMS can maintain a whole website completely in-browser without any external programs. Screenshots

    * Validating, semantic, and commented markup. Tested in FF, Safari, and IE7/IE8.
    * Small footprint (20.4 kb)
    * Possibly the easiest installation process ever
    * All the basic features of an FTP application like renaming, deleting, copying, and uploading
uploads/deletions, you're going to want to break out an actual FTP program.)
    * Gracefully degrading CSS and Javascript
    * 100% re-brandable with page title stored in variable and a modifiable filename
Requirements

    * UNIX/Linux host, Apache
    * PHP5 (PHP4 untested)
    * File permission privileges
by mshook 2009-09-30 22:42 php · minimal · cms · ftp · editor · jquery · css · simple · small
http://onefilecms.com/ - cached - mail it - history
<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="simple image gadget" />
  <UserPref name="myname"
    display_name="Module title"
    default_value="Image"
    required="true"/>
  <UserPref name="targetimg"
    display_name="URL of your image"
    default_value="http://www.google.com/images/logo_sm.gif"
    required="true"/>
  <UserPref name="imgwidth"
    display_name="Width"
    default_value="100%"
    required="true"/>
  <Content type="html"><![CDATA[
<!-- Simplification of bashennekam.googlepages.com/google_gadget_image.xml -->
<div align="center">
<a href="__UP_targetimg__" target="_blank">
<img src="__UP_targetimg__" border="0" align="center" width="__UP_imgwidth__">
</a>
</div>
]]></Content>
</Module>
by mshook 2009-07-09 10:55 google · gadget · howto · xml · code · image · simple
http://mshook.appspot.com/z/d4m.htm?/mshook/9+july+2009+b - cached - mail it - history
This tutorial will demonstrate the following development process:

Write C programs in AVR Studio.

Compile them into a .hex file using the AVR-GCC compiler (which integrates into AVR Studio).

Simulate the target AVR chip and debug the code within AVR Studio.

Program the actual chip using the AVRISP mkII USB device, which is attached to our target chip with a special 6-pin cable.

Once programmed, the chip runs the program in your circuit.
by mshook 2009-05-25 19:03 via · avr · popular · microprocessor · simulation · howto · chip · simple · tutorial
http://imakeprojects.com/Projects/avr-tutorial/ - cached - mail it - history

...with a laser pointer, 3 AA batteries, a small audio transformer, a solar cell and a amplified speaker.

by mshook 2009-05-19 15:35 laser · audio · make · simple · video
http://www.metacafe.com/watch/2225704/make_a_simple_laser_communicator/ - cached - mail it - history
(UM3481A Series) Multi-Instrument Melody Generator http://www.datasheetcatalog.org/datasheets/480/499431_DS.pdf Holtek HT2830 Up/Down Tone Generator http://www.selectronic.fr/includes_selectronic/pdf/Holtek/HT2830C.pdf
by mshook 2009-03-31 18:55 31 · march · 2009 · d · dblog · electrnics · pdf · saved · synth · music · ic · melody · simple · detailed · how · 8bit · train · railroad · auto · sound
http://delicious.com/mshook/31+march+2009+d - cached - mail it - history
UM3481A Multi-Instrument Melody Generator M66T Single Melody generator HT2830C Train sounds HT-2860 Alarm sounds HT2884 Sound effects via http://ourworld.compuserve.com/homepages/g_knott/index2.htm
by mshook 2009-03-31 18:32 synth · sound · ic · generator · music · melody · train · railroad · electronics · simple · via
http://delicious.com/mshook/31+march+2009+b - cached - mail it - history
by mshook 2009-03-31 18:19 simple · synth · music · melody · ic · game · electronics · schematic · circuit · generator
http://ourworld.compuserve.com/homepages/g_knott/elect146.htm - cached - mail it - history
Daniel Everett "A recursive sentence like “The boy who was fishing owned the dog” does not occur in the Pirahã language. They would say, “The boy was fishing” and “The boy owned the dog.” The eminent linguist Noam Chomsky has declared that recursion is an essential part of human language and is innate. Chomsky’s former student Everett says that the Pirahã language proves otherwise. The resultant controversy is profound. The Pirahã language is the simplest in the world. Speaking it and singing it are the same, and it can be hummed or even whistled, yet it can convey enormous richness. Among other things, the wide variety of verb forms are used to account for the directness of evidence for a statement. Everett originally went to the Pirahã in 1977 as a Christian missionary. They challenged him to provide evidence for the existence of Jesus, and lost interest when he couldn’t. Eventually so did he. The Pirahã made him an atheist."
by mshook 2009-03-28 09:03 brazil · simple · language · chomsky · recursion · critique · meaning · culture · good · longnow · future · evidence
http://blog.longnow.org/2009/03/23/daniel-everett-endangered-languages-lost-knowledge-and-the-future/ - cached - mail it - history
by mshook 2008-08-09 13:12 via · synth · popular · simple · example
http://www.hackaday.com/2008/05/01/how-to-make-a-digital-synthesizer/ - cached - mail it - history
1 - 10 of 14 next »  
Related Tags
 
- exclude ~ optional + require
Add Dates