https://www.geeksforgeeks.org/dijkstras-shortest-path-algorithm-greedy-algo-7/
BFS, DFS
Two pointers
https://algodaily.com/lessons/using-the-two-pointer-technique https://www.freecodecamp.org/news/greedy-algorithms/
https://microsoft.github.io/sarif-web-component/ | |
https://github.com/microsoft/sarif-tools | |
https://wizer-ctf.com/ | |
https://juice-shop.herokuapp.com/#/score-board-preview | |
https://snyk.io/product/snyk-code/ | |
https://semgrep.dev/ | |
https://github.com/trufflesecurity/trufflehog | |
https://www.checkov.io/ | |
There is an engineer in the team who does not provide enough dedication to the project. We feel like it might be associated with a separate job. Due to it, we need to collect some evidances for the fruitful conversation.
We need to analize the GIT repository commits data and compare it to the other developers behavior. The timezones are more or less the same. The amount of code written should be more or less the same due to the fact the tasks handled are quite similar: to create the UI kit widgets for the new website written in ReactJS.
import moment from 'moment-timezone' | |
angular.module('GCRM').filter('moment', () => { | |
return (input, format, tz) => { | |
if(!input) | |
return '-' | |
let dt = input === 'now'? moment() : moment(input) | |
if(tz) | |
dt = dt.tz(tz) | |
if(format && format=='calendar') { |
#Функия для сортировки тредам по последним ответам или дате создания | |
threads = Thread.objects.all().prefetch_related('posts') | |
def thread_list_f(threads): | |
work_list = [] | |
thread_list = [] | |
for element in threads: | |
try: | |
work_list.append(element.posts.all()[::-1][0].post_time) | |
except IndexError: | |
work_list.append(element.thread_time) |
class BaseCollection | |
model: null | |
params: {} # main filter params | |
items: [] | |
constructor: (@model, @params, extra) -> | |
_.extend @, extra if extra | |
reload: -> | |
@model.prototype.promise (resolve, reject) => |
class BaseModel | |
url: null | |
http: null | |
promise: null | |
constructor: (data={}, @params, extra)-> | |
_.extend @, extra if extra | |
@processData data | |
@get: (id, params, extra) -> |
from pyparsing import * | |
class Percent(float): | |
def __str__(self): | |
return super(Percent, self).__str__() + '%' | |
def __repr__(self): | |
return super(Percent, self).__repr__() + '%' |
http://maxburstein.com/blog/realtime-django-using-nodejs-and-socketio/ |
[2013-09-30 18:42:25] DEBUG Adhearsion::Call: 0aad0a86-48fd-4de5-a2c3-4d702164f9e4@: Executing command #<Punchblock::Component::Prompt target_call_id=nil, target_mixer_name=nil, component_id=nil, domain=nil, transport=nil, barge_in=true, output=#<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, domain=nil, transport=nil, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=false, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer=nil, render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, domain=nil, transport=nil, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US"> | |
<audio src="/var/lib/asterisk/sounds/ru/gc-in-out-1"/> | |
<audio src="/var/lib/asterisk/sounds/ru/gc-actions-bonuses-2"/> | |
<audio src="/var/lib/asterisk/sounds/ru/gc-tech-support-3"/> | |
<audio src="/var/lib/asterisk/sounds/ru/gc-school-4"/> |