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
f(x) = a*x + b | |
set terminal png size 1024,768 | |
set xlabel "I [mA]" | |
set ylabel "U [V]" | |
set title "U=f(I)" | |
fit f(x) "rc.dat" via a,b | |
set output "rc.png" | |
plot f(x) notitle, "rc.dat" notitle with xyerrorbars ls 3 |
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
Laboratorium 2 - 9.11.2010 - korelacja | |
Korelacja - podobieństwo dwóch zjawisk (np. sygnalow, jak jeden jest podobny do drugiego) | |
Korelacja wzajemna (dla 2), autokorelacja (dla 1) | |
R_{xx}(\tau) = E[x(t)x(t+\tau)] | |
R_{x,y}(\tau) = E[x(t)y(t+\tau)] |
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
Laboratorum nr 3 - 23.11.2010 - Probkowanie i kwantowanie | |
1. Probkowanie | |
sinus | |
a) fpr > 2*f | |
b) fpr == 2*f | |
c) fpr < f | |
Jak wyglada sygnal w dziedzinie czasu i czestotliwosci? |
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
# Tabela przejsc miedzy stanami | |
# q(t) z(t) q(t+1) | |
0 0 3 | |
0 1 1 | |
0 2 2 | |
1 0 1 | |
1 1 1 | |
1 2 1 | |
2 0 5 | |
2 1 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
Dyskretna transformata Fouriera | |
1. sinus | |
wyznaczyc widmo dla sygnalu ktory | |
a) w n probkach bedzie mial calkowita liczbe okresow | |
b) w n probkach bedzie mial niecalkowita liczbe okresow | |
fft/g + semilogy -> widmo | |
2. dyskretna transformata Fouriera (probkowanie widma ciaglego) | |
a) f_sin \in m*fpr/N, m \in {0,1,..,N-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
#!/bin/sh | |
set -e | |
APP=$1 | |
APP_PATH="/srv/${APP}/current" | |
RAILS_ENV=$2 | |
UNICORN_CONFIG="/etc/unicorn/${APP}.rb" | |
UNICORN_PID_FILE="/tmp/unicorn.${APP}.pid" |
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
def self.method_missing(name, *args) | |
name | |
end | |
def function(*param_names, &block) | |
klass = Class.new { attr_accessor :this, *param_names } | |
this = TOPLEVEL_BINDING.eval('self') | |
proc do |*params| | |
context = klass.new |
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
sudo apt-get remove -y xserver-xorg* x11-* | |
sudo apt-get -y autoremove | |
sudo apt-get update | |
sudo apt-get install -y git-core vim build-essential | |
# then run | |
raspi-config | |
# to alocate 1mb to the video driver and you have a nice cheap dev machine |
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
// drop this into <tern folder>/plugin | |
// run `npm i enhanced-resolve` in you tern folder | |
// add config "plugins": { "webpack": {}} to your .tern_project | |
// done | |
(function(mod) { | |
if (typeof exports == "object" && typeof module == "object") // CommonJS | |
return mod(require("../lib/infer"), require("../lib/tern"), require("./commonjs"), require) | |
if (typeof define == "function" && define.amd) // AMD | |
return define(["../lib/infer", "../lib/tern", "./commonjs"], mod) | |
mod(tern, tern) |
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
So this happened: phrack changed it's format and posted a nice analysis of the | |
(nowadays missing) hacker community and societal behaviour of hackers in | |
general: http://phrack.org/papers/fall_of_groups.html | |
This article reflects a lot of thoughts I've had over the last couple of | |
months. In a very positive way. | |
Yea sure, the scene we grew up in changed to what has now become a bullshit | |
business like any other. Originality is scarce and every time I see SQLi or |
OlderNewer