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
| struct GridView<S>: View where S: ShapeStyle { | |
| let linesCount: Int | |
| let content: S | |
| private func hLine(geometry: GeometryProxy, index: Int) -> Path { | |
| Path { path in | |
| let yPosition = geometry.size.height / 10 * CGFloat(index) | |
| path.move(to: CGPoint(x: 0, y: yPosition)) | |
| path.addLine(to: CGPoint(x: geometry.size.width, y: yPosition)) |
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 <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| char *normalize(const char *path); | |
| int main(int argc, const char * argv[]) | |
| { | |
| puts(normalize("../bar")); |
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
| find ./ -name \*.m -print0 | xargs -0 genstrings -o en.lproj |
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
| program pr_game; | |
| uses crt; | |
| label exit,start; | |
| var pos:array [1..5] of integer; | |
| i,w,pobed,stav,time:integer; | |
| k:boolean; | |
| begin | |
| start: | |
| normvideo; | |
| textbackground(15); |