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
Required cygwin packages: | |
* tesseract-ocr | |
* ghostscript | |
* imagemagick | |
usr/bin/convert.exe -density 400 input.pdf -depth 8 output.tiff | |
tesseract -l eng -psm 1 output.tiff output_textfile |
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 QtQuick 2.2 | |
import QtQuick.Window 2.2 | |
Window { | |
color: "gray" | |
NumberAnimation { | |
target: fx | |
property: "angle"; from: Math.PI * 2; to: 0 |
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 QtQuick 2.4 | |
Column { | |
width: parent.width | |
height: parent.height | |
property alias model: columnRepeater.model | |
Repeater { | |
id: columnRepeater |
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: Dennis E. Mungai <dmngaie@gmail.com> | |
pkgname=nvidia-prime | |
pkgver=0.7 | |
pkgrel=1 | |
pkgdesc="Tools to enable NVIDIA's Prime." | |
url="https://launchpad.net/ubuntu/+source/nvidia-prime" | |
arch=('x86_64' 'i686') | |
license=('GPLv3') | |
depends=('lightdm' 'bbswitch' 'python' 'bash') | |
optdepends=('nvidia' 'lightdm-gtk3-greeter') |
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
#!/usr/bin/python3 | |
# lives at: https://gist.github.com/bhepple/5c43e83e945a42297ba6433ee8ba88ce | |
# derived from: https://github.com/benkaiser/i3-wm-config | |
# $0 x y width height (-1 for unchanged) | |
import subprocess | |
import sys | |
import json |
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 QtQuick 2.0 | |
import QtGraphicalEffects 1.0 | |
Rectangle { | |
id: root | |
color: '#EEEEEE' | |
width: 960 | |
height: 768 | |
Item { |
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
{ ...}: | |
{ | |
#... | |
nixpkgs.overlays = [ | |
(import ./overlay.nix) | |
]; | |
#... |
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
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<include ignore_missing="yes" prefix="xdg">fontconfig/msfonts.conf</include> | |
<match target="font"> | |
<edit mode="assign" name="rgba"><const>rgb</const></edit> | |
<edit mode="assign" name="hinting"><bool>false</bool></edit> | |
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit> | |
<edit mode="assign" name="antialias"><bool>true</bool></edit> |
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 bb.cascades 1.0 | |
Page { | |
property alias label5 : label5 | |
Container { | |
layout: DockLayout {} | |
Label { | |
id: label5 | |
text: "Hello World" | |
} |
OlderNewer