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
""" | |
Implementacja w oparciu o | |
https://en.wikipedia.org/wiki/Scrambler#Multiplicative_(self-synchronizing)_scramblers | |
""" | |
from operator import xor | |
class V34_Scrambler: | |
""" | |
Klasa skramblująca sekwencję bitów |
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
# Treść: | |
# Pobrać ze standardowego strumienia wejściowego procesu ciąg znaków | |
# i zamienić wszystkie małe litery na wielkie, wszystkie wielkie na | |
# małe, zmienić wielkość co drugiej litery itp. | |
SYSCALL32 = 0x80 # wywołanie funkcji standardowej | |
EXIT = 1 # nr funkcji restartu (=1) – zwrot sterowania do s.o. | |
EXIT_SUCCESS = 0 | |
STDIN = 0 # nr wejścia standardowego (klawiatura) do %ebx | |
READ = 3 # nr funkcji odczytu wejścia (=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
% Grupa B | |
% 1) | |
N = 4000; % ilość próbek | |
fp = 2000; % częstotl. próbkowania Hz | |
t = (0) : (1/fp) : (N/fp); | |
x = chirp(t, 100, N/fp, 900); % syngał sinusoidalny | |
y = randn(1, N+1); % szum o rozkladzie normalnym |
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
// This automatically enables console so you don't have to | |
con_enable 1 | |
// These aliases create an automatic toggle for remapping your controller | |
alias "togglecontroller" "remap1to2" | |
alias "remap1to2" "joy_remap_player_for_controller1 2; alias togglecontroller remap2to1; echo Xbox 360 controller 1 remapped to Player 2" | |
alias "remap2to1" "joy_remap_player_for_controller1 1; alias togglecontroller remap1to2; echo Xbox 360 controller 1 remapped to Player 1" | |
// These aliases create an automatic toggle for remapping your keyboard | |
alias "togglekeyboard" "sv_cheats 1; key_remap_keyboard_for_player1" |
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
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <vector> | |
#include <cstdio> | |
using namespace std; | |
struct Film | |
{ |
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
// ==UserScript== | |
// @name Jedyny, niepowtarzalny, niezawodny zmieniacz zawartosci strony www | |
// @version 0.1 | |
// @description Zaprojektowany do siania dezinformacji | |
// @include * | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; | |
var dane = {}; |
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
// ==UserScript== | |
// @name HorseChrome | |
// @namespace http://tampermonkey.net/ | |
// @version 21.37 | |
// @description Skrypt zmieniania obrazków na wszystkich stronach www na obrazki z koniem | |
// @match http://tampermonkey.net/index.php?version=3.12.58&ext=dhdg&updated=true#features | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; |
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
@echo off | |
rem This Source Code Form is subject to the terms of the Mozilla Public | |
rem License, v. 2.0. If a copy of the MPL was not distributed with this | |
rem file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
set VIRTUAL_ENV=%~dp0 | |
set VIRTUAL_ENV=%VIRTUAL_ENV:~0,-5% | |
set CUDDLEFISH_ROOT=%VIRTUAL_ENV% | |
SET PYTHONKEY=SOFTWARE\Python\PythonCore |
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
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
process.stdin.on('data', function (text) { | |
text.replace(/\r?\n|\r/g, ""); | |
console.log("Command: " + text + "textthatshouldbeinthesameline"); | |
if (text == 'quit') { | |
console.log("Quitting"); | |
done(); | |
} |