Skip to content

Instantly share code, notes, and snippets.

View AvramPop's full-sized avatar

Dani Pop AvramPop

View GitHub Profile
class ClientRepo(Repository):
def __init__(self) -> None:
self.__clientList = []
def hasClientWithId(self, clientId):
for client in self.__clientList:
if client.getId() == clientId:
return True
return False
String query = "Mahershalalhashbaz";
String s = new StringBuilder()
.append("https://bibles.org/v2/verses.js?keyword=")
.append(query)
.append("&version=eng-")
.append("KJV")
.toString();
String requestURL = s;
package sample;
import javafx.application.Application;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
@AvramPop
AvramPop / API.md
Created February 11, 2017 12:20 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

#include <string.h>
void eliminareCuvant(char sir[], char cuv[]){
while(strstr(sir, cuv)){
strcpy(strstr(sir, cuv), strstr(sir, cuv) + strlen(cuv));
}
}
int cuvantMaxim (char text[]){
int i,iaux=0,s=0,mx=0;
@AvramPop
AvramPop / Employee
Last active December 22, 2016 09:55
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.vompi;
/**
*
* @author Admin
@AvramPop
AvramPop / conf.txt
Created July 31, 2016 18:45
atom config
4be64fb3bcfe7e76f8e1d1545766335bd97e6f5d