dpkg: error processing archive ....
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
<div> | |
<svg width="100%" viewBox="-2000 -2000 4000 4000" | |
preserveAspectRatio="xMidYMin meet" | |
style='stroke-width: 0px; background-color: black;' | |
> | |
<g class="g-circles" fill="none" | |
stroke-width="40" | |
stroke="url(#paint1)" | |
stroke-linecap="round" |
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
# -*- coding: utf-8 -*- | |
import requests | |
import os | |
import vk_api | |
# from vk_api import VkUpload | |
# from vk_api.utils import get_random_id | |
from vk_api.bot_longpoll import VkBotLongPoll, VkBotEventType | |
def get_random_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
#!/bin/bash | |
## This gist contains step by step instructions to install cuda v9.0 and cudnn 7.2 in ubuntu 18.04 | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### |
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
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
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
[options] | |
default_indent = 4 | |
enable_debug = 1 | |
enable_ale = 0 | |
# enable_ycm = 1 | |
# snippet_engine = "ultisnips" | |
line_on_the_fly = 0 | |
realtime_leader_guide = 1 | |
enable_tabline_filetype_icon = 1 | |
enable_os_fileformat_icon = 1 |
I set this to solve wss error transloadit/uppy#1075
server {
server_name uppy.xxxxx.com;
charset utf-8;
location / {
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
ffmpeg -i "concat:01.mp3|02.mp3|03.mp3|04.mp3|05.mp3|06.mp3|07.mp3|08.mp3|09.mp3|10.mp3|11.mp3|12.mp3|13.mp3|14.mp3|15.mp3|16.mp3|17.mp3|" -acodec copy output.mp3 | |
ffmpeg -loop 1 -i img.jpeg -i output.mp3 -shortest -acodec copy ubik.mp4 |
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
import uuid | |
import datetime | |
import json | |
from typing import Callable, Dict, Iterable, List, Tuple | |
import attr | |
from pprint import pprint | |
@attr.s | |
class File: | |
hash = attr.ib(default=attr.Factory(dict)) |