Other ways of doing so: https://unix.stackexchange.com/questions/85873/how-can-i-add-a-signature-png-to-a-pdf-in-linux http://zyliu2005.blogspot.com/2009/08/linux-how-to-insert-img-to-pdf-files.html
This file contains 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
// ==UserScript== | |
// @name tasmota-calibration | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description try to take over the world! | |
// @author yu_ya45 | |
// @match http://*/ | |
// @grant none | |
// ==/UserScript== |
This file contains 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
// Wrote this, but because of this issue: | |
// https://github.com/image-size/image-size/issues/37 | |
// had to switch to https://www.npmjs.com/package/probe-image-size | |
import * as sizeOf from 'image-size'; | |
export const getImageSize = (bucket: string) => ( | |
key: string | |
): Promise<ImageSize> => | |
new Promise((resolve, reject) => { |
This file contains 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
env WINEPREFIX=~/.local/share/wineprefixes/office2007pro wine /setup.exe |
This file contains 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
mogrify -define jpeg:extent=2000kb *.jpg |
This file contains 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
------------------------------------------------------------- | |
% RCRC="$HOME/.dotfiles/host-$(hostname)/config/rcrc" rcup | |
------------------------------------------------------------- | |
add user groups: | |
docker wheel | |
sudo gpasswd -a impankratov docker | |
sudo gpasswd -a impankratov wheel | |
------------------------------------------------------------- | |
change shell chsh | |
------------------------------------------------------------- |
This file contains 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 Handlebars runtime lib | |
const Handlebars = require('handlebars/runtime'); | |
const register = require('handlebars-form-helpers').register; | |
const { registerHandlebarHelpers } = require('../../some/other/place'); | |
// Register extra helpers | |
register(Handlebars); | |
registerHandlebarHelpers(Handlebars); |
This file contains 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
git config --global credential.helper gnome-keyring |
This file contains 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
# Maintainer: Lev Lybin <lev.lybin at gmail dot com> | |
# Maintainer: Maksym Sheremet <msheremet at sheremets dot com> | |
pkgname=upwork | |
pkgver=5.0.1.404 | |
_rawver=${pkgver//./_} | |
_hashver="e83l5wbauyxiky5x" | |
pkgrel=4 | |
pkgdesc="Desktop App (aka Team App) Standard version" | |
arch=('x86_64') |
This file contains 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
// Somewhere in microservice folder | |
// Can be used to create a bundle for this specific microservice | |
import { resolve } from 'path'; | |
import * as webpack from 'webpack'; | |
import config, { Env } from '../../webpack.config'; | |
export default (env: Env = {}): webpack.Configuration => { | |
env.BUNDLE_FOLDER = resolve(__dirname, 'bin'); |
NewerOlder