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 otel-example | |
go 1.17 | |
require ( | |
github.com/rs/zerolog v1.25.0 | |
go.opentelemetry.io/otel v1.0.1 | |
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.24.0 | |
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.24.0 | |
go.opentelemetry.io/otel/metric v0.24.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
#!/bin/sh | |
# Replaces classes in Android Package Files | |
# (c) Sebastian Fischer, CC-BY | |
# Enhanced by Ben Bek | |
# Can be used to rebuild an App with a modified version of a used library. | |
exists() | |
{ |
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 Life; | |
Uses CRT; | |
Const MAXGEN = 25 ; | |
Const MATSIZE = 8 ; | |
Const GENTIME = 750; |
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
{ INPUT: The coefficients and terms | |
OUTPUT: The equation with its roots, if applicable } | |
Program Equation; | |
Uses Crt; | |
Var A, B, C : Integer; { Stores the parameters } | |
Ax,Bx,Cx: String; {Temporarly stores the parameters} | |
Desc : Integer; { Stores the discriminant } | |
X1 : Real; { Stores the first root } | |
X2 : Real; { Stores the second root } | |
ValCode : Integer; {Required for Val to work} |
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
/* Nibbles/Snake | |
Programmed during the Sukkot holiday by Ben Bekerman */ | |
#include <conio.h> //Basic header file | |
#include <stdlib.h> //Required by Randomize() and Random() | |
#include <string.h> //Required for string functions | |
#include <time.h> //Required by Randomize() | |
#include <dos.h> //Required by Delay() and by Sound() | |
/* Defines (consts) */ |
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
/* A P P O I N T M E N T | |
A Schedule program written in C | |
Passover 2004 */ | |
#include <stdio.h> //Basic header file | |
#include <conio.h> //Basic header file | |
#include <dos.h> //Mouse, sound, etc. header file | |
#include <stdlib.h> //Supplemental services (exit(), etc.) | |
#include <alloc.h> //Memory allocation services | |
#include <time.h> //Timing and dates header file |
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 <conio.h> | |
#include <malloc.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dos.h> | |
#include <graphics.h> | |
typedef struct Meetings { | |
int Hour; |
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
;; MAMAN 15 | |
;; Question 1 | |
P286N | |
IDEAL | |
DOSSEG | |
MODEL SMALL | |
STACK 100h | |
MAXIMUM = 20 ; Maximum characters to read off the keyboard |
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
#!/bin/bash | |
# sort people by username (column 2) alphabetically | |
ldapsearch -H ldap://ldap.SERVER.com -x -b dc=__DOMAIN__,dc=com | grep ^# | sed -e 's/#//' -e 's/,//g' -e 's/ __DOMAIN__.com//' -e 's/ People//' | sort -k 2 |
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
cat FILE | ruby -e 'puts STDIN.readlines.shuffle' | xargs -t -I {} curl -x {}:80 -U {user}:{password} -o ~/Desktop/whatever/{} -m 15 'https://www.cnn.com/' | |
cd ~/Desktop/whatever | |
grep -il '\\n,\\x22String that exists' * | sort | wc -l | |
grep -iL '\\n,\\x22String that does not\\x22' * | wc -l |