This file contains hidden or 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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| tools:context=".MainActivity$PlaceholderFragment"> |
This file contains hidden or 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
| Cordova (cca): | |
| // global variables | |
| var data = null; | |
| var port = 4242; | |
| undefined | |
| data = null; | |
| chrome.socket.create('udp', function(s) { | |
| port = port + 1; | |
| console.log("s.socketId: " + s.socketId); | |
| // listen |
This file contains hidden or 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
| NKDIF SERLJ MIBFK FKDLV NQIBR HLCJU KFTFL KSTEN YQNDQ NTTEB TTENM QLJFS | |
| NOSUM MLQTL CTENC QNKRE BTTBR HKLQT ELCBQ QBSFS KLTML SSFAI NLKBR RLUKT LCJUK | |
| FTFLK FKSUC CFRFN KRYXB | |
| CNLGV QVELH WTTAI LEHOT WEQVP CEBTQ FJNPP EDMFM LFCYF SQFSP NDHQF OEUTN | |
| PPTPP CTDQN IFSQD TWHTN HHLFJ OLFSD HQFED HEGNQ TWVNQ HTNHH LFJWE BBITS PTHDT | |
| XQQFO EUTYF SLFJE DEFDN IFSQG NLNGN PCTTQ EDOED FGQFI TLXNI |
This file contains hidden or 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
| /* build all with | |
| swig -c++ -go -gccgo -intgosize 64 -v -Wall gowork.i | |
| g++ -c gowork_wrap.cxx | |
| g++ -c work.cc | |
| mkdir gowork | |
| mv gowork.go gowork/ |
This file contains hidden or 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
| 31 y[i][j] += abs(x[i][k][l] - x[j][k][l]); | |
| 0x0000000000400568 <+264>: movsd xmm0,QWORD PTR [rdi+rdx*1] | |
| 0x000000000040056d <+269>: subsd xmm0,QWORD PTR [rax+rdx*1] | |
| 0x0000000000400572 <+274>: add rdx,0x8 | |
| 0x0000000000400576 <+278>: cvttsd2si ecx,xmm0 | |
| 0x000000000040057a <+282>: mov esi,ecx | |
| 0x000000000040057c <+284>: sar esi,0x1f | |
| 0x000000000040057f <+287>: xor ecx,esi | |
| 0x0000000000400581 <+289>: sub ecx,esi | |
| 0x000000000040058a <+298>: cvtsi2sd xmm0,ecx |
This file contains hidden or 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 main | |
| import ( | |
| "fmt" | |
| "net" | |
| "bufio" | |
| ) | |
| func main() { | |
| conn, err := net.Dial("tcp", ":8822") |
This file contains hidden or 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
| [jirka@private hw04]$ ssh aisa | |
| Host key fingerprint is 09:33:ca:ad:1e:a5:9a:1a:e7:68:23:ac:04:18:dd:85 | |
| +--[ RSA 1024]----+ | |
| | .. | | |
| | . .E. | | |
| |. . . + | | |
| |.. . o + . | | |
| |o o o S | | |
| |. + | | |
| |o.. + | |
This file contains hidden or 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
| __author__ = 'jirka' | |
| import subprocess | |
| p = subprocess.Popen(shell=True, args='java Main', stdin=subprocess.PIPE) | |
| stdin = p.stdin | |
| while True: | |
| i = input() |
This file contains hidden or 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
| import java.util.Arrays; | |
| import java.util.HashSet; | |
| import java.util.Scanner; | |
| import java.util.Set; | |
| public class Polynominum { | |
| public int a; | |
| public int b; | |
| /** | |
| * ************ |
This file contains hidden or 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
| /* Neparalelní verze Quicksortu. | |
| * | |
| * Určitě by to šlo udělat líp, už v tomhle stádiu. Ale | |
| */ | |
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <pthread.h> | |
| #include <unistd.h> //sleep |