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
[ | |
{ | |
"name": "Apache Kafka", | |
"ring": "trial", | |
"quadrant": "Languages & Frameworks", | |
"isNew": "FALSE", | |
"description": "We are currently evaluating Apache Kafka for real-time data streaming and message queueing scenarios. If the trials prove successful in terms of scalability and reliability, we plan to adopt it broadly across more projects." | |
}, | |
{ | |
"name": "Code Review", |
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
dataContractSpecification: 0.9.3 | |
id: create_user_request | |
info: | |
title: Create User Request | |
description: Model representing a request to create a user. | |
version: "0.0.1" | |
links: | |
documentation: https://example.com/docs/create_user_request | |
servers: | |
main: |
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
# -- Use bash script in this file | |
#!/bin/bash | |
function line() { | |
echo -e "\n----------------------------------------------------------------------------------------------------" | |
} | |
function log() { | |
echo -e "\n$(date '+%Y-%m-%d %H:%M:%S') $1" | |
line |
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
# This command is used if the build should be executed in context | |
# of another user (the shell executor) | |
cat generated-bash-script | su --shell /bin/bash --login user | |
# This command is used if the build should be executed using | |
# the current user, but in a login environment | |
cat generated-bash-script | /bin/bash --login | |
# This command is used if the build should be executed in | |
# a Docker environment |
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
# List all badges of a project | |
GET /projects/:id/badges | |
Example: | |
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/:id/badges" | |
# Gets a badge of a project. | |
GET /projects/:id/badges/:badge_id |
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
# face_recognition ve opencv kütüphanelerini import ederek başlıyoruz | |
import face_recognition | |
import cv2 | |
from playsound import sayHelloToMiray | |
from playsound import stopMusic | |
def stopPlayingMusic(): | |
stopMusic() | |
globals()['__nowPlaying']=False | |
return |
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
INPUT "How many numbers to sort? "; T | |
DIM n(T) | |
FOR i = 1 TO T | |
PRINT "NUMBER:"; i | |
INPUT n(i) | |
NEXT i | |
'Calculations: | |
C = T | |
E180: | |
C = INT(C / 2) |
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
#!/bin/bash | |
function log() { | |
echo -e "\n$(date '+%Y-%m-%d %H:%M:%S') $1" | |
} | |
function check() { | |
if [ ! -f /usr/local/bin/gitlab-runner ]; then | |
log "gitlab-runner not found!" | |
sudo wget -q -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 | |
log "gitlab-runner downloaded!" | |
sudo chmod +x /usr/local/bin/gitlab-runner |
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
public abstract class IGeneralization { | |
public abstract boolean isCovering(); | |
public abstract boolean isDisjoint(); | |
} | |
public class SpecialistClass1: IGeneralization { | |
public boolean isCovering(){ | |
//statement for implement isCovering method | |
} |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
TransferOperation transferOperation = null; | |
// -- Parametrenin Email geldiğini varsayıyorum | |
var tType = TransferType.EMAIL; | |
// -- Türe göre oluşacak nesneyi oluşturuyoruz. | |
switch(tType) |
NewerOlder