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
EESchema-LIBRARY Version 2.4 | |
#encoding utf-8 | |
# | |
# STM32L431RBTx | |
# | |
DEF STM32L431RBTx U 0 40 Y Y 1 L N | |
F0 "U" -6000 2025 50 H V L BNN | |
F1 "STM32L431RBTx" 1000 1850 50 H V R BNN | |
F2 "LQFP64" -700 1900 50 H I R TNN | |
F3 "" 0 1200 50 H I C CNN |
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
module Data.Gerber.Interpreter where | |
import Data.Gerber.Types | |
data InterpreterState = InterpreterState | |
{ commandsParsed :: Integer } | |
deriving (Show, Eq) | |
initState = InterpreterState | |
{ commandsParsed = 0 } |
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
;************************************************************** | |
; | |
; Program HelloWorld - IAS | |
; FIT VUT v Brne | |
; | |
;************************************************************** | |
; Preklad programu lze provest nasledovne: | |
; nasm -fobj helloworld.asm | |
; alink -oPE -subsys console helloworld.obj | |
; nebo pomoci davky run.bat: |
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
require "wiringpi" | |
#GC.disable | |
io = WiringPi::GPIO.new | |
digits = [ | |
[1,1,0,0,0,0,0,0], #0 | |
[1,1,1,1,1,0,0,1], #1 | |
[1,0,1,0,0,1,0,0], #2 | |
[1,0,1,1,0,0,0,0], #3 | |
[1,0,0,1,1,0,0,1], #4 |
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
;************************************************************** | |
; | |
; Program HelloWorld - IAS | |
; FIT VUT v Brne | |
; | |
;************************************************************** | |
; Preklad programu lze provest nasledovne: | |
; nasm -fobj helloworld.asm | |
; alink -oPE -subsys console helloworld.obj | |
; nebo pomoci davky run.bat: |
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
# Slick class for neat output coloring. | |
# Author: Adam Lucansky <xlucan01 at stud.fit.vutbr.cz> | |
# Created: 6th Nov 2015 | |
# License: Public domain | |
class ColorPrint: | |
# List of terminal colors. | |
# Source: http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python | |
HEADER = '\033[95m' |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
static int cmp(const void *str1, const void *str2) { | |
return strcmp((char*) str1, (char*)str2); | |
} | |
int main() { | |
char mena[3][10] = {"sadfdsafv", "greqplkxn", "pwoikjhsq"}; |
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
-- drop all database objects in the schema of the current user | |
BEGIN | |
FOR rec IN ( | |
SELECT 'DROP ' || object_type || ' ' || object_name || DECODE ( object_type, 'TABLE', ' CASCADE CONSTRAINTS PURGE' ) AS v_sql | |
FROM user_objects | |
WHERE object_type IN ( 'TABLE', 'VIEW', 'PACKAGE', 'TYPE', 'PROCEDURE', 'FUNCTION', 'TRIGGER', 'SEQUENCE' ) | |
ORDER BY object_type, object_name | |
) LOOP | |
EXECUTE IMMEDIATE rec.v_sql; | |
END LOOP; |
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
-- source: http://stackoverflow.com/questions/2549718/dropping-all-user-tables-sequences-in-oracle | |
DECLARE | |
login varchar2(8); | |
BEGIN | |
-- Change value according to your username | |
login := 'XLUCAN01'; | |
-- Remove all sequences | |
FOR i IN (SELECT us.sequence_name, us.sequence_owner | |
FROM ALL_SEQUENCES us WHERE sequence_owner = LOGIN) LOOP |
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
---------------------------------- | |
protocol: 0 | |
PPC class : WC/WC, self count: 118, other count 101 | |
PPC class : WC/HI, self count: 0, other count 0 | |
PPC class : HI/WC, self count: 0, other count 0 | |
PPC class : HI/HI, self count: 0, other count 0 | |
PPC class : WC/LO, self count: 0, other count 0 | |
PPC class : LO/WC, self count: 0, other count 0 | |
PPC class : HI/LO, self count: 0, other count 0 | |
PPC class : LO/HI, self count: 0, other count 0 |
NewerOlder