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 rw.animacja; | |
import javax.swing.*; | |
/** | |
* @author Rafał Wileczek | |
* |
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
/* | |
* Created on 2005-06-15 | |
* | |
* TODO To change the template for this generated file go to | |
* Window - Preferences - Java - Code Style - Code Templates | |
*/ | |
package rw.animacja; | |
import java.awt.Color; | |
import java.awt.Cursor; |
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
/* | |
* Created on 2005-06-15 | |
* | |
* TODO To change the template for this generated file go to | |
* Window - Preferences - Java - Code Style - Code Templates | |
*/ | |
package rw.animacja; | |
import java.awt.Color; | |
import java.awt.Cursor; |
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
# -*- coding: UTF8 -*- | |
# Zapis informacji o położeniu (rejestracja ścieżki) | |
# w oparciu o dane z modułu GPS. | |
# Wersja dla telefonów Nokia (S60). | |
import positioning | |
import sys | |
import os | |
from time import sleep | |
from datetime import datetime |
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
#!/usr/bin/env node | |
// Bardzo^3 prosty CURL-like | |
// Wywołanie: | |
// node requesturl.js adres_strony_bez_http | |
// np.: | |
// node requesturl.js wileczeknet.blogspot.com | |
var http = require("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
#!/usr/bin/env node | |
var http = require("http"); | |
var req_opts = { | |
host: "127.0.0.1", | |
port: 8888, | |
method: "POST", | |
path: "/upload" | |
}; |
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
#!/usr/bin/env node | |
// Bardzo^3 prosty CURL-like | |
// Wywołanie: | |
// node requesturl.js adres_strony_bez_http | |
// np.: | |
// node requesturl.js wileczeknet.blogspot.com | |
// Wersja 2 | |
// - zastąpiono klasyczną obsługę parametrów linii polecenia funkcjonalnością dostarczaną |
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
# -*- coding: utf-8 -*- | |
import cwiid | |
import pygame | |
import time | |
import random | |
print 'Press 1+2 on your Wiimote now...' | |
wm = cwiid.Wiimote() | |
time.sleep(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
' Latająca małpa - demo | |
' Program prezentujący podstawowe operacje związane z wyświetlaniem | |
' znaków na standardowym alfanumerycznym wyświetlaczu LCD (16 znaków, 2 wiersze). | |
' Przeróbka programu z zajęć 25 kwietnia 2012 r. | |
$regfile = "attiny2313.dat" | |
$Crystal=4000000 | |
$hwstack=40 | |
$swstack=16 | |
$framesize=32 |
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/sh | |
# | |
# Uruchamia php5-cgi - na potrzeby nginx | |
# Położenie: | |
# /etc/network/if-up.d | |
# | |
#if [ "$IFACE" = "wlan1" ] ; then | |
if [ "$IFACE" = "eth0" ] ; then | |
/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -C 3 -u www-data -- /usr/bin/php5-cgi |
OlderNewer