This file contains hidden or 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
pdf.font "app/assets/fonts/verdana.ttf" | |
pdf.font_size 12 | |
@background = "app/assets/declarations/vat-7.png" | |
#pdf.canvas { pdf.image(@background, :width => pdf.bounds.width) } if @background | |
pdf.image(@background, :width => pdf.bounds.width + 30, :at => [-15,pdf.bounds.height + 40]) | |
pdf.draw_text "999999999999", :at => [50,705] | |
pdf.draw_text "Urząd Skarbowy w Sochaczewie", :at => [45,590] | |
pdf.draw_text "12345,89", :at => [430,0] | |
pdf.start_new_page(:layout => :portrait) |
This file contains hidden or 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
1. Install python 2.7.X from: https://www.python.org/downloads/ | |
2. Install mac ports from: https://www.macports.org/install.php | |
3. Run commands: | |
su admin_user | |
sudo easy_install pip | |
sudo pip install virtualenv | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
sudo port install freetype |
This file contains hidden or 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
1. Umieścić plik księgarni (ksiegarnia.zip) na dysku Windows. | |
2. W Wubi wejść w linię komend i odnaleźć ścieżkę do pliku ksiegarnia.zip na dysku Windows, który z Wubi jest dostępny pod ścieżką: /host | |
3. Wykonywać kolejno polecenia: | |
cd ~ | |
mkdir ksiegarnia | |
cp /host/sciezka_do_ksiegarni/ksiegarnia.zip ./ksiegarnia | |
cd ./ksiegarnia/ | |
unzip ksiegarnia.zip |
This file contains hidden or 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
module ProxyAuthentication | |
class Configuration | |
DEFAULT_SECRET = "api_proxy_auth_secret_key".freeze | |
DEFAULT_URL = "http://localhost:8080/".freeze # "https://api.sageone.com/v2/".freeze | |
attr_reader :secure_store | |
def initialize(secure_store, env) | |
@secure_store = secure_store.load[env, :api_proxy] | |
rescue Exception |
This file contains hidden or 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
http://blog.inkandfeet.com/How-To-Use-A-Generic-Usb-20-10100M-Ethernet-Adaptor-Rd9700-On-Mac-Os-1010-Mavericks |
This file contains hidden or 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
https://github.com/skorzewski/psi-toolkit | |
- remove lines including iayko normalizer from psi/tools/normalizers/CMakeLists.txt and some other CMakeLists.txt files that includes it (as as far as I remember there is at least one more) | |
- open niema_tests.cpp file and completely empty it, save | |
- follow all the steps for comiling on ubuntu 16 |
This file contains hidden or 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
featured_courses = [ | |
{ | |
image: 'course-7.jpg', | |
price: '555', | |
title: 'Some new course', | |
grades: ['9'], | |
codes: ['XXX10'], | |
credit_value: 1.0, | |
instructor: 'Ms. Karen Morrison', | |
course_type: 'Academic - Online Delivery', |
This file contains hidden or 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
# copy latin_to_rus to pl_to_ua to add new transliteration from PL to UA; remove ё, ъ, ы and э as non exist in UA; make basic corrections | |
# coding: utf-8 | |
module Ruslat | |
# (c) 2008 Andrey V. Lukyanov (e-mail: [email protected]) | |
# License: I grant anyone the right to use this program | |
# for any purpose, without any conditions. | |
# |
This file contains hidden or 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
https://github.com/Yegorov/rails_admin_yamap_field | |
and / or | |
https://react-yandex-maps.now.sh/ | |
---------------------- | |
to get free api keys : https://developer.tech.yandex.ru/ | |
This file contains hidden or 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/ruby -w | |
# | |
# USAGE: | |
# | |
# ruby ../rbut.rb /media/p/x_app/app/models/*.rb | |
# | |
# /*************************************************************************** | |
# * Copyright (C) 2008, Paul Lutus * | |
# * Copyright (C) 2014, Carlos Puchol * |