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
[global] | |
index-url = https://pypi.python.org/simple | |
extra-index-url = https://pypi.python.org/simple |
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 | |
# Copyright (c) 2018-2019 Intel Corporation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.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
FROM ubuntu:18.04 | |
USER root | |
WORKDIR / | |
ENV INSTALLDIR /opt/intel/openvino | |
RUN useradd -ms /bin/bash openvino && \ | |
chown openvino -R /home/openvino | |
ARG DEPENDENCIES="autoconf \ | |
automake \ |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net" | |
) | |
var ( |
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
public function findForPassport($identifier) { | |
return $this->orWhere('email', $identifier)->orWhere('username', $identifier)->first(); | |
} |
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
import json | |
suspectes = [""] # forexample "anbarahmet" | |
json_file = "" # forexample: messages.json | |
with open(json_file, 'r', encoding='utf8', errors='ignore') as f: | |
data = json.load(f) | |
for user in suspectes: | |
for i in data: | |
if user in i['participants'][0] or user in i['participants'][1]: |
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
from os import listdir, rename | |
from os.path import isfile, join, isdir | |
class Subtitle: | |
def __init__(self,path,lang): | |
self.path = path | |
self.lang = lang | |
def find_files_edit_name(self, onlyfiles, path): | |
for file in onlyfiles: |