To generate the formatted patch of last one commit.
[Unit] | |
Description=FlexyDial Drive Sync | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=oneshot | |
User=ganapathi | |
Group=ganapathi | |
ExecStart=rclone sync --update -v --drive-import-formats docx,xlsx,txt,zip --drive-skip-shortcuts --exclude *Thumbs.db* --exclude *.~* /home/ganapathi/Flexydial Flexydial: |
In this tutorial we are going to look into creation of CentOS ISO based on CentOS 8. There are few slight difference between the folder structure from CentOS 7. In CentOS 7 isolinux contains directly Packages without any parent folder and every rpm will be under single folder. But in CentOS 8 it would segreagated into two separate folder such as BaseOS and AppStream. And those configuration defined on media.repo file present in the iso file.
mkdir -p ~/kickstart_build/isolinux/{BaseOS,AppStream}/Packages
from airflow.hooks.postgres_hook import PostgresHook | |
from airflow.models import BaseOperator | |
from airflow.utils.decorators import apply_defaults | |
from datetime import datetime, timedelta | |
from os import environ | |
import csv | |
class DataSourceToCsvOperator(BaseOperator): | |
""" |
#!/bin/bash | |
### Execution of script | |
### ./ffmpeg-trim.sh input.mp4 last-n-sec-to-trim | |
# Arguments | |
FILE_RAW=$1 | |
TRIM_EOF_DURATION=${2:-1.0} # Default is 1.0 second trimmed from EOF | |
# Prepare variables |
echo 'deb http://download.opensuse.org/repositories/home:/ganapathi/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:ganapathi.list | |
curl -fsSL https://download.opensuse.org/repositories/home:ganapathi/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_ganapathi.gpg > /dev/null | |
sudo apt update | |
sudo apt install freeswitch |
" Turn syntax highlighting on. | |
syntax on | |
" Set tab width to 4 columns. | |
set tabstop=4 | |
" Set shift width to 4 spaces. | |
set shiftwidth=4 | |
set autoindent |
LOGGING = { | |
'version': 1, | |
'filters': { | |
'require_debug_true': { | |
'()': 'django.utils.log.RequireDebugTrue', | |
} | |
}, | |
'handlers': { | |
'console': { | |
'level': 'DEBUG', |
I hereby claim:
To claim this, I am signing this object:
@php | |
$links = $articles->links(); | |
$patterns = '#\?page=#'; | |
$replacements = '/page/'; | |
$one = preg_replace($patterns, $replacements, $links); | |
$pattern2 = '#page/([1-9]+[0-9]*)/page/([1-9]+[0-9]*)#'; | |
$replacements2 = 'page/$2'; | |
$paginate_links = preg_replace($pattern2, $replacements2, $one); |