Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
https://github.com/*https://*.github.comhttps://*.github.com/*https://*.github.io
| #!/bin/bash | |
| url="$1" | |
| #prompt for url if not provided | |
| until [ ! -z "$url" ] ; do | |
| read -p "url=" url | |
| done | |
| id=$(sed 's|.*gofile.io/d/||g' <<< "$url") |
| #!/usr/bin/env bash | |
| # Enable networkd and resolved | |
| systemctl enable systemd-networkd | |
| systemctl enable systemd-resolved | |
| systemctl restart systemd-networkd | |
| systemctl restart systemd-resolved | |
| # Init pacman mirror | |
| curl -s -L "https://www.archlinux.org/mirrorlist/?country=TH&country=SG&country=IN&country=JP&protocol=https&ip_version=4" | sed -e 's/^#Server/Server/' -e '/^#/d' > /etc/pacman.d/mirrorlist |
| ################################################################################################################################### | |
| ### ### | |
| ### Motion-Compensated Temporal Denoise: MCTD() ### | |
| ### ### | |
| ### v1.4.20 by "LaTo INV.", mod 2 by 06_taro ### | |
| ### ### | |
| ### 29 November 2011 ### | |
| ### |
| #!/bin/bash | |
| # Split a JSON into multiple files. Uses jq. | |
| # Usage | |
| # ./split_json.sh /path/to/json/file | |
| file="$1" | |
| jq -cr 'keys[] as $k | "\($k)\t\(.[$k])"' "$file" | awk -F\\t '{ file=$1".json"; print $2 > file; close(file); }' |
| ffmpeg -ss <start_time> -i video.mp4 -t <duration> -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 frame%03d.jpg |
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
https://github.com/*https://*.github.comhttps://*.github.com/*https://*.github.io| # Notes: | |
| # - Minimal appveyor.yml file is an empty file. All sections are optional. | |
| # - Indent each level of configuration with 2 spaces. Do not use tabs! | |
| # - All section names are case-sensitive. | |
| # - Section names should be unique on each level. | |
| #---------------------------------# | |
| # general configuration # | |
| #---------------------------------# |
| from telethon import TelegramClient | |
| from telethon.tl.functions.channels import EditBannedRequest | |
| from telethon.tl.types import ChatBannedRights | |
| import asyncio | |
| import datetime | |
| api_id = 1234 # Your API_ID | |
| api_hash = "1a2b3c456" # Your APP_ID |
| function transfer | |
| if test (count $argv) -eq 0 | |
| echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
| return 1 | |
| end | |
| ## get temporarily filename, output is written to this file show progress can be showed | |
| set tmpfile ( mktemp -t transferXXX ) | |
| ## upload stdin or file |
| #!/usr/bin/env bash | |
| # gdrive_download | |
| # | |
| # script to download Google Drive files from command line | |
| # not guaranteed to work indefinitely | |
| # taken from Stack Overflow answer: | |
| # http://stackoverflow.com/a/38937732/7002068 | |
| gURL=$1 |