Skip to content

Instantly share code, notes, and snippets.

View potiuk's full-sized avatar

Jarek Potiuk potiuk

View GitHub Profile
@potiuk
potiuk / gist:5145368
Created March 12, 2013 18:11
IOS_template.xml
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>90</daysToKeep>
<numToKeep>30</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
@potiuk
potiuk / libmemcached.rb
Last active December 29, 2020 10:07
Install libmemcached with brew in preview (build 13A558) version of OSX Mavericks with XCode 5 Developer Preview 6
require 'formula'
class Libmemcached < Formula
homepage 'http://libmemcached.org'
url 'https://launchpad.net/libmemcached/1.0/1.0.17/+download/libmemcached-1.0.17.tar.gz'
sha1 '1023bc8c738b1f5b8ea2cd16d709ec6b47c3efa8'
depends_on 'memcached'
def install

Keybase proof

I hereby claim:

  • I am potiuk on github.
  • I am jarekpotiuk (https://keybase.io/jarekpotiuk) on keybase.
  • I have a public key ASDRIXQHQHwqfsdYH6lYOa_nnbJNSEJEjELWa3R8WEZaWAo

To claim this, I am signing this object:

@potiuk
potiuk / yubikey.pub
Created May 2, 2017 19:43
My Yubikey public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDARD7VKmBgGuIGs7BskbhKxjbPG8PCCGMppXecwDe2SnexZ4Wx/5u6gC8LCAUkuJq2plZTfL82LMS4/RwO2BdZCuIHOvEA4bs0O83T3M1bjFUpSuE68OWpBktGhMLfinaoo1C//wl+XoukUraeJEsCJg9STGWfw4o6mxT/jXgs1j8Vha+W6wKlAjzXvW2o1nTjBWxms3glsClSDLqZg8tFV0npVVvRWunAFujW1wlzilgRqv/rpIGlY6ql5f89+BrW/XTFn4ZYvm8APqJUHrC+7fB8Jgb4t2ZI/fDjypyiS+hVntBMdtKN8I3ysWLFhgqobBmR+CITZlD7XhciJcQj Yubikey
@potiuk
potiuk / gist:04f6127469a709e3e47be7585c9a863c
Created April 23, 2021 15:16
Installing airflow[google] with pip=21.0
```
pip install apache-airflow[google]==2.0.2 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.0.2/constraints-3.6.txt
Collecting apache-airflow[google]==2.0.2
Downloading apache_airflow-2.0.2-py3-none-any.whl (4.6 MB)
|████████████████████████████████| 4.6 MB 9.2 MB/s
Collecting termcolor>=1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting attrs<21.0,>=20.0
Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
|████████████████████████████████| 49 kB 14.0 MB/s
This file has been truncated, but you can view the full file.
pip install -vvvv apache-airflow[google]==2.0.2 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.0.2/constraints-3.6.txt
Using pip 21.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-rvwadya0
Created temporary directory: /tmp/pip-req-tracker-83tx9fgp
Initialized build tracking at /tmp/pip-req-tracker-83tx9fgp
Created build tracker: /tmp/pip-req-tracker-83tx9fgp
Entered build tracker: /tmp/pip-req-tracker-83tx9fgp
Created temporary directory: /tmp/pip-install-licfxj35
Starting new HTTPS connection (1): raw.githubusercontent.com:443
This file has been truncated, but you can view the full file.
root@d65474eee0cb:/opt/airflow# pip install -vv apache-airflow[google]==2.0.2 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.0.2/constraints-3.6.txt
Using pip 21.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-ts76mcs4
Created temporary directory: /tmp/pip-req-tracker-qdp_isuo
Initialized build tracking at /tmp/pip-req-tracker-qdp_isuo
Created build tracker: /tmp/pip-req-tracker-qdp_isuo
Entered build tracker: /tmp/pip-req-tracker-qdp_isuo
Created temporary directory: /tmp/pip-install-2u2d9gn8
Starting new HTTPS connection (1): raw.githubusercontent.com:443
https://github.com/apache/airflow/issues/18025
https://github.com/apache/airflow/issues/16316
https://github.com/apache/airflow/issues/16125
https://github.com/apache/airflow/issues/15892
https://github.com/apache/airflow/issues/15456
https://github.com/apache/airflow/issues/15326
https://github.com/apache/airflow/issues/14287
https://github.com/apache/airflow/issues/14167
https://github.com/apache/airflow/issues/13918
https://github.com/apache/airflow/issues/13070
ff --git a/setup.cfg b/setup.cfg
index 65c22d2280..b83ef9be02 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,7 +30,6 @@ license_files =
# Start of licenses generated automatically
licenses/LICENSE-bootstrap.txt
licenses/LICENSE-bootstrap3-typeahead.txt
- licenses/LICENSE-connexion.txt
licenses/LICENSE-d3-shape.txt
@potiuk
potiuk / output.txt
Created February 25, 2022 17:50
Backtracking when github3.py is not limited.
root@f7c21e8bf1c8:/opt/airflow# pip install ".[devel_all]" --upgrade --upgrade-strategy eager "dill<0.3.3" "certifi<2021.0.0" "google-ads<14.0.1"
Processing /opt/airflow
Preparing metadata (setup.py) ... done
Requirement already satisfied: dill<0.3.3 in /usr/local/lib/python3.7/site-packages (0.3.1.1)
Collecting dill<0.3.3
Downloading dill-0.3.2.zip (177 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.6/177.6 KB 2.8 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: certifi<2021.0.0 in /usr/local/lib/python3.7/site-packages (2020.12.5)
Requirement already satisfied: google-ads<14.0.1 in /usr/local/lib/python3.7/site-packages (14.0.0)