Skip to content

Instantly share code, notes, and snippets.

View Atlantic777's full-sized avatar

Nikola Hardi Atlantic777

  • CERN
  • Switzerland
View GitHub Profile
Debugger entered--Lisp error: (file-error "Searching for program" "is a directory" "")
call-process("" nil t nil "-c" "/usr/bin/timeout --help")
apply(call-process "" nil t nil ("-c" "/usr/bin/timeout --help"))
process-file("" nil t nil "-c" "/usr/bin/timeout --help")
shell-command-to-string("/usr/bin/timeout --help")
(string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))
(and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help"))))
(if (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) (progn prog))
(when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)
(let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog))
Debugger entered--Lisp error: (file-error "Searching for program" "is a directory" "")
call-process("" nil t nil "-c" "/usr/bin/timeout --help")
apply(call-process "" nil t nil ("-c" "/usr/bin/timeout --help"))
process-file("" nil t nil "-c" "/usr/bin/timeout --help")
shell-command-to-string("/usr/bin/timeout --help")
(string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))
(and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help"))))
(if (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) (progn prog))
(when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)
(let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog))
def find_local_min(A, start):
current = A[start]
cid = start
while cid < len(A)-1:
if current > A[cid+1]:
current = A[cid+1]
cid += 1
else:
break
@Atlantic777
Atlantic777 / Punjenje džakova i nasipi
Last active August 29, 2015 14:01
Punjenje džakova i nasipi
Nekoliko crtica za poboljšanje samoorganizacije pri izgradnji nasipa
M4y 18, 2014 @ 8:23am
Budući da su poslednjih dana sa bukvalno svih lokacija na kojima je
bez kolektivne narodne akcije nezamislivo sprovođenje odbrane od
poplava stigle informacije da je najveći problem na terenu rasulo u
koordinaciji (i sami delimo taj uvid), sastavljamo ovaj spisak
iskustava i smernica sa aktivnosti u kojima su naše članice i članovi
tokom jučerašnjeg dana učestvovali/e (postavljanje nasipa u Sremskoj
### Keybase proof
I hereby claim:
* I am atlantic777 on github.
* I am atlantic777 (https://keybase.io/atlantic777) on keybase.
* I have a public key whose fingerprint is C031 D066 0FB0 8111 54CD 2B48 DF3A B7A9 74DF 3FC6
To claim this, I am signing this object:
23:36 Ref Name Active item Server Level
23:36 1 (status) lugons ALL
23:36 2 #lugons lugons
23:36 4 #ubuntu-rs lugons
23:36 5 #archlinux-rs lugons
23:36 7 #balccon lugons
23:36 8 #linux.hr lugons
23:36 9 #slackware-srb lugons
23:36 10 #floss-magazin lugons
This file has been truncated, but you can view the full file.
================================================================================
__ __ _____ _ _____ ____ _ _ ______ _____
| \/ |_ _| | |_ _/ __ \| \ | | ____| __ \
| \ / | | | | | | || | | | \| | |__ | |__) |
| |\/| | | | | | | || | | | . ` | __| | _ /
| | | |_| |_| |____ _| || |__| | |\ | |____| | \ \
|_| |_|_____|______|_____\____/|_| \_|______|_| \_\
----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 23:20:28 11/20/2013
-- Design Name:
-- Module Name: stop_3 - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-- uključiti ovu biblioteku
use IEEE.STD_LOGIC_UNSIGNED.ALL
-- dodati ovaj interni signal
signal sCOUNTER : STD_LOGIC_VECTOR (7 downto 0);
signal sSECONDS : STD_LOGIC_VECTOR (7 downto 0);
process (iCLK) begin
if(iCLK'event and iCLK = '1') then
if(inRST = '0') then
-- uključiti ovu biblioteku
use IEEE.STD_LOGIC_UNSIGNED.ALL
-- dodati ovaj interni signal
signal sCOUNTER : STD_LOGIC_VECTOR (7 downto 0);
process (iCLK) begin
if(iCLK'event and iCLK = '1') then
if(inRST = '0') then
sCOUNTER <= "00000000";