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> | |
using namespace std; | |
#include "stog_pokazivaci.h" | |
//#include "stog_polje.h" | |
int kraj_rek; | |
bool print; | |
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
class MyDraggable extends StatefulWidget { | |
final Widget child; | |
final Widget childWhenDragging; | |
final Widget feedback; | |
final VoidCallback onDragEnd; | |
MyDraggable({ | |
@required this.child, | |
@required this.childWhenDragging, | |
@required this.feedback, | |
this.onDragEnd |
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
pub fn init_idt( | |
) { | |
// IDT.load(); | |
} | |
extern "x86-interrupt" fn breakpoint_handler( | |
stack_frame: &mut x86_64::structures::idt::ExceptionStackFrame | |
) { | |
// println!("EXCEPTION: BREAKPOINT\n{:#?}", stack_frame); | |
} |
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
$> tsc src/foo.ts | |
src/foo.ts:29:20 - error TS2339: Property 'length' does not exist on type 'string | {}'. | |
Property 'length' does not exist on type '{}'. | |
18 new Foo("wot").x().length | |
~~~~~~ | |
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
(function($){ | |
function Calendar(dayRenderFunc, options){ | |
this.dayRenderFunc = dayRenderFunc | |
this.settings = $.extend({ | |
month: new Date(), | |
firstDayOfWeek: 0, | |
tableAttributes: { | |
"class": 'calendar' | |
} | |
}, options) |
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
UNWIND {legs} as pair | |
MATCH (stopA:TdefPos)--(stopB:TdefPos) | |
WHERE | |
(stopA.logicalTrainId = stopB.logicalTrainId) | |
AND | |
(stopA.stopId = pair[0] AND stopB.stopId = pair[1]) | |
RETURN stopA.trainId as trainId, stopA.itineraryId as itineraryId, stopA.periodId as periodId |
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
(let [items-by-month (group-by get-month items)] | |
(mapcat (fn [month] (sort-by get-date (get items-by-month month))) | |
(sort (keys items-by-month)))) |
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
(ns huffda.expectations-basics-test | |
(:require [clojure.test :refer [deftest testing is async]] | |
[huffda.expectations :as expec] | |
[cljs.core.async :refer [chan <! >! put! close! alts! timeout promise-chan]]) | |
(:require-macros [cljs.core.async.macros :refer [go go-loop]])) | |
(defmacro async-test [name & form] | |
`(testing name | |
(async done | |
(do ~@form) |
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
(ns huffda.expectations-basics-test | |
(:require [clojure.test :refer [deftest testing is async]] | |
[huffda.expectations :as expec] | |
[cljs.core.async :refer [chan <! >! put! close! alts! timeout promise-chan]]) | |
(:require-macros [cljs.core.async.macros :refer [go go-loop]])) | |
(defmacro async-test [& form] | |
`(async done | |
(go | |
(do ~@form) |
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
Disable-UAC | |
Disable-BingSearch | |
Disable-GameBarTips | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -Lock | |
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -AlwaysShowIconsOn |
NewerOlder