- golinks - golinks is a web app that allows you to create smart bookmarks, commands and aliases by pointing your web browser's default search engine at a running instance. Similar to bunny1 or yubnub. (Demo)
MITGo - notes - notes is a self-hosted note taking web app that lets you keep track of your notes and search them in a easy and minimal way. (Demo)
MITGo - pastebin - pastebin is a simple pastebin service with convenient CLI. (Demo)
MITGo - shorturl - shorturl is a simple URL shortener with very tiny URL(s). (Demo)
MITGo - todo - todo is a simple todo manager. (Demo)
MITGo - [wiki](https://git.mills.io/prolog
| /* =========================================================================== | |
| * | |
| * LIBRARY | |
| * | |
| * =========================================================================== */ | |
| /* Proof of Concept GUI: | |
| * - PoC UI implementation in ~2.5kLOC of C89 (ANSI C) | |
| * => Core solutions has no external dependencies (removing standard library dependency is trival) | |
| * => Does not use or require any special language constructs or macro constructs just pointers and enums | |
| * - Combines both "retained" and "immediate mode" UI by providing control over update frequency |
| variable "aws_region" { | |
| description = "EC2 Region for the VPC" | |
| default = "us-west-2" | |
| } | |
| variable "aws_availability_zones" { | |
| default = "us-west-2a,us-west-2b,us-west-2c" | |
| description = "List of availability zones, use AWS CLI to find your " | |
| } |
| export ZSH=$HOME/.oh-my-zsh | |
| export DEFAULT_USER='athityakumar' | |
| TERM=xterm-256color | |
| ZSH_THEME="powerlevel9k/powerlevel9k" | |
| POWERLEVEL9K_MODE='awesome-fontconfig' | |
| POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
| POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
| POWERLEVEL9K_RPROMPT_ON_NEWLINE=true | |
| POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 |
| /* | |
| * Copyright (C) 2017 Alberts Muktupāvels | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service| sudo apt install -y autoconf automake build-essential python-dev libtool libssl-dev pkg-config | |
| cd /tmp | |
| git clone https://github.com/facebook/watchman.git -b v4.9.0 --depth 1 | |
| cd watchman/ | |
| ./autogen.sh | |
| ./configure --enable-lenient | |
| make | |
| sudo make install |
2017-03-03 fm4dd
The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.
These flags can both be used to set the CPU type. Setting one or the other is sufficient.
Encoding high-quality HEVC content in a two-pass manner with FFmpeg - based NVENC encoder on supported hardware:
If you've built ffmpeg as instructed here on Linux and the ffmpeg binary is in your path, you can do fast HEVC encodes as shown below, using NVIDIA's NPP's libraries to vastly speed up the process.
Now, to do a simple NVENC encode in 1080p, (that will even work for Maxwell Gen 2 (GM200x) series), start with:
ffmpeg -i <inputfile> -pass 1 \
-filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload,format=nv12 \
-c:v hevc_nvenc -profile main -preset slow -rc vbr_2pass \
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name matrix.tristor.ro; | |
| location '/.well-known/acme-challenge' { | |
| default_type "text/plain"; | |
| allow all; | |
| root /var/www/matrix.tristor.ro/public/; | |
| } |