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
from poetry.console.application import Application | |
from poetry.semver import parse_constraint, VersionUnion | |
def export_requirements(tag=False): | |
app = Application() | |
installed_repo = app.poetry.locker.locked_repository(True) | |
output = [] |
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
- hosts: localhost | |
gather_facts: false | |
tasks: | |
- name: Key-Value Command > Boolean | |
osx_defaults: domain=com.ansible.test key=BooleanKeyValue value=true | |
- name: Key-Value Command > Integer | |
osx_defaults: domain=com.ansible.test key=IntegerKeyValue value=42 | |
- name: Key-Value Command > Float |
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/python | |
# -*- coding: utf-8 -*- | |
from base64 import b64decode | |
import calendar | |
import contextlib | |
import datetime | |
import os | |
import re | |
import shutil |
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
theme loaded | |
app ready | |
pre session restore time: 1.39609 | |
using gamma: 1 (err: 0) | |
Traceback (most recent call last): | |
File "./sublime_plugin.py", line 195, in on_modified | |
File "./sublime_plugin.py", line 154, in run_timed_function | |
File "./sublime_plugin.py", line 194, in <lambda> | |
File "./SublimeCodeIntel.py", line 1503, in on_modified | |
File "./SublimeCodeIntel.py", line 1394, in update |
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
try: | |
from xml.etree.cElementTree import XML | |
except ImportError: | |
from xml.etree.ElementTree import XML | |
import zipfile | |
""" | |
Module that extract text from MS XML Word document (.docx). | |
(Inspired by python-docx <https://github.com/mikemaccana/python-docx>) |
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
# HG changeset patch | |
# User etienne <[email protected]> | |
# Date 1363923789 14400 | |
# Node ID af13fed965d5dadc1b1cac9eb73a0be664f0101f | |
# Parent 532037e7911b9e9f7c06715117ad61873c6ccb9a | |
Added option to use tab key to focus prev, next and close navigation in fancybox. | |
diff --git a/mmac/utils/static/mmac/js/libs/fancybox/jquery.fancybox.js b/mmac/utils/static/mmac/js/libs/fancybox/jquery.fancybox.js | |
--- a/mmac/utils/static/mmac/js/libs/fancybox/jquery.fancybox.js | |
+++ b/mmac/utils/static/mmac/js/libs/fancybox/jquery.fancybox.js |
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
# HG changeset patch | |
# User etienne <[email protected]> | |
# Date 1318347470 14400 | |
# Node ID 4d7b7e9cb7a8346c712e4e65d5037d90f81b9716 | |
# Parent cd403356263f039a4a48a1111c7f5cc38686e481 | |
Towards adding quantization tables options to the JPEG encoder. | |
diff --git a/PIL/JpegImagePlugin.py b/PIL/JpegImagePlugin.py | |
--- a/PIL/JpegImagePlugin.py | |
+++ b/PIL/JpegImagePlugin.py |
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
(function($) { | |
$.fn.changeElementType = function(newType) { | |
this.each(function() { | |
var attrs = {}; | |
$.each(this.attributes, function(idx, attr) { | |
attrs[attr.nodeName] = attr.nodeValue; | |
}); | |
$(this).replaceWith(function() { |
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/env php | |
<?php | |
/** | |
* CSSTidy - Command Line Interface (CLI) | |
* | |
* Command Line Interface that try to mimic as much as possible the C++ CLI | |
* version of csstidy. It should be a drop in replacment for the C++ CLI that is | |
* no longuer maintain. New settings like css_level are added. | |
* | |
* Copyright 2005, 2006, 2007 Florian Schmitz |