- copy the autostart
cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
curl
to get the JSON response for the latest releasegrep
to find the line containing file URLcut
and tr
to extract the URLwget
to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
// Merge all attributes of multiple PDF files (pdf-full-merge.js) | |
// Extended from MuPDF's docs/examples/pdf-merge.js | |
// Ever had problems with tools that don't copy certain attributes of a PDF? | |
// This script uses MuPDF to merge/join/concatenate as much as possible, including: | |
// - bookmarks / outlines / table of contents | |
// - link attributes of said outlines, such as viewrect and zoom | |
// - whether outlines appear open or closed by default | |
// - annotations | |
// - 3d objects / PDF3D |
#!/bin/sh | |
set -e | |
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | | |
while read path_key path | |
do | |
url_key=$(echo $path_key | sed 's/\.path/.url/') | |
url=$(git config -f .gitmodules --get "$url_key") | |
git submodule add $url $path |
timedatectl set-ntp true | |
timedatectl set-timezone Europe/Bucharest | |
fdisk /dev/sda | |
######################################## | |
n 1G pentru /boot /dev/sda1 | |
a - Flag it as bootable | |
n - 4G pentru swap /dev/sda3 | |
n - 70G pentru / /dev/sda2 |
require 'webrick' | |
require 'fileutils' | |
if ARGV.length != 0 | |
root = ARGV.first.gsub('\\', '/') | |
else | |
root = '.' | |
end | |
BACKUP_DIR = 'bak' |
To bookmark online knowledge resources and trendy new technologies in the field of computer science.
-------------------------- | |
2018_04_24 | |
------------ | |
---------------- | |
* [How to fork your own repo in Github](http://kroltech.com/2014/01/01/quick-tip-how-to-fork-your-own-repo-in-github/) | |
* [Directory](https://apis.guru/openapi-directory/) | |
* [Top 20 Best Tech Websites & Blogs](http://www.grafdom.com/blog/top-20-best-tech-websites-and-blogs/) | |
* [Indie Hackers: Work Together to Build Profitable Online Businesses](https://www.indiehackers.com/) |