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
#include <iostream> | |
using namespace std; | |
enum ShapeColor | |
{ | |
BLACK, // = 0 | |
WHITE, | |
GREEN, | |
BLUE, |
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
CREATE TABLE "Documents"( | |
"DID" integer NOT NULL, | |
"Type" varchar(10) NOT NULL, | |
"Category" varchar(10) NOT NULL, | |
"IssueDate" date NOT NULL, | |
"ExpireDate" date NOT NULL, | |
"Identificator" varchar(20) NOT NULL, | |
"Number" varchar(20) NOT NULL, | |
PRIMARY KEY("DID") | |
); |
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
syms x | |
f(x) = x + sin(x) - 1; | |
a = -0.5; | |
b = 0.6; | |
x = 0; | |
precision = 0.01; |
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
# d = [(5, 2), (2, 3), (3, 4), (4, 6)] | |
d = [5, 2, 3, 4, 6] | |
# d0, d1, d2, d3, d4 | |
n = len(d) - 1 # number of matrices | |
matrix = [[0 for j in range(n)] for i in range(n)] | |
# create a n*n matrix and fill with zero | |
for j in range(n): | |
i = 0 |
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
#include <linux/netlink.h> | |
#include <linux/genetlink.h> | |
#include <linux/nl80211.h> | |
#include <sys/socket.h> | |
#include <net/if.h> | |
#include <err.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
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 ( | |
"bytes" | |
"encoding/binary" | |
"fmt" | |
"net" | |
"os" | |
"unsafe" |
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
From Coq Require Import Setoids.Setoid. | |
Parameter G: Set. | |
Parameter H: Set. | |
Parameter opG: G -> G -> G. | |
Parameter opH: H -> H -> H. | |
Parameter eG: G. | |
Parameter eH: H. | |
Parameter iG: G -> G. | |
Parameter iH: H -> H. |
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
Inductive bin : Type := | |
| Z | |
| B0 (b: bin) | |
| B1 (b: bin). | |
Lemma add_0_r : forall (n: nat), | |
n + 0 = n. | |
Proof. | |
intros n. induction n as [| n' IHn']. | |
- reflexivity. |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 6.4.2-gentoo Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="clang version 16.0.6" | |
CONFIG_GCC_VERSION=0 | |
CONFIG_CC_IS_CLANG=y | |
CONFIG_CLANG_VERSION=160006 | |
CONFIG_AS_IS_LLVM=y | |
CONFIG_AS_VERSION=160006 |
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
#include <libnotify/notify.h> | |
#include <sys/param.h> | |
#include <fcntl.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <unistd.h> |
NewerOlder