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
#!/bin/sh | |
#update system | |
yum update -y | |
# install spotify | |
yum-config-manager --add-repo=https://negativo17.org/repos/epel-spotify.repo | |
yum install -y spotify-client | |
#install sublime text | |
rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg |
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
%% $Id$ | |
%% File: `csplainnat.bst' for use with natbib package | |
%% This is a modification of `plainnat.bst' for Czech references style | |
%% (According to "CSN ISO 690: Bibliograficke citace. Obsah, forma a struktura"). | |
%% Some modifications are commented, look for the keyword 'CHANGE' | |
%% For more detailed info use svn repository svn://kraken.pedf.cuni.cz/csplainnat/ | |
%% | |
%% Original plainnat.bst by Patrick W Daly | |
%% Modifications by David Mudr{\'{a}}k [email protected] | |
%% |
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
Nahrani listu adres | |
prefix = Vstup od uzivatele z argumentu | |
jestli jsou to pismena | |
z listu adres vyber mesta, ktera zacinaji s timto prefixem | |
jestli je jedine mesto, ktere zacina timto prefixem | |
vypis mesto | |
return |
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
const http = require('http'); | |
const hostname = '127.0.0.1'; | |
const port = 3000; | |
const server = http.createServer((req, res) => { | |
res.statusCode = 200; | |
res.setHeader('Content-Type', 'text/plain'); | |
res.end('Hello World\n'); | |
}); |
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
(defun len (list) | |
(if list | |
(1+ (len (cdr list))) | |
0)) |