Git uses send-pack
and fetch-pack
for transferring data over
the smart protocol,. These
plumbing commands are a bit too smart for their own good, in the
sense that they always try to run their peer commands
(receive-pack
and upload-pack
respectively), either on the
local host or over ssh to the remote host (for file://
and
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/perl -w | |
use strict; | |
use warnings; | |
use Carp; | |
use MIME::Base64; | |
use Compress::Zlib; | |
use URI; | |
use URI::QueryParam; | |
use XML::Canonical; |
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 python | |
# -*- coding: utf-8 -*- | |
from lxml.objectify import parse | |
import urllib2 | |
request = urllib2.Request | |
urlopen = urllib2.urlopen | |
xpath_ns = {'ds': 'http://www.w3.org/2000/09/xmldsig#', | |
'md': 'urn:oasis:names:tc:SAML:2.0:metadata', |
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
require [ "regex", "editheader", "relational", "variables" ]; | |
if header :regex "X-JIRA-FingerPrint" "^(jira-server1-fingerprint|server2-fingerprint)$" { | |
# assumption: common mail domain | |
set "msfx" "@example.com"; | |
# match up to 3 g.assignees | |
if header :regex "X-JIRA-GroupAssignee" "^(([^ ]+) ?)(([^ ]+) ?)?(([^ ]+) ?)?$" { | |
set "gass" "${2}${msfx}"; | |
if string :count "ne" "${4}" ["0"] { | |
set "gass" "${gass}, ${4}${msfx}"; |
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
# -*- coding: utf-8 -*- | |
#------------------------------------------------------------------------------- | |
# Portions coming from EOxServer | |
# ( https://github.com/EOxServer/eoxserver/blob/master/eoxserver/services/testbase.py ) | |
# Copyright (C) 2011 EOX IT Services GmbH | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
--------- beginning of crash | |
E/AndroidRuntime( 3138): FATAL EXCEPTION: main | |
E/AndroidRuntime( 3138): Process: uk.ac.swansea.eduroamcat, PID: 3138 | |
E/AndroidRuntime( 3138): java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.ac.swansea.eduroamcat/uk.ac.swansea.eduroamcat.EAPMetadata}: java.lang.NumberFormatException: Invalid double: "38,6321" | |
E/AndroidRuntime( 3138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) | |
E/AndroidRuntime( 3138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) | |
E/AndroidRuntime( 3138): at android.app.ActivityThread.access$800(ActivityThread.java:151) | |
E/AndroidRuntime( 3138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) | |
E/AndroidRuntime( 3138): at android.os.Handler.dispatchMessage(Handler.java:102) | |
E/AndroidRuntime( 3138): at android.os.Looper.loop(Looper.java:135) |
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" encoding="utf-8"?> | |
<EAPIdentityProviderList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eap-metadata.xsd"> | |
<EAPIdentityProvider ID="hospital-agrinio.gr" namespace="urn:RFC4282:realm" lang="el" version="1"> | |
<AuthenticationMethods> | |
<AuthenticationMethod> | |
<EAPMethod> | |
<Type>21</Type> | |
</EAPMethod> | |
<ServerSideCredential> | |
<CA format="X.509" encoding="base64">MIIE+TCCA+GgAwIBAgIJAKFnOJwzoM0BMA0GCSqGSIb3DQEBBQUAMIGSMQswCQYDVQQGEwJHUjE9MDsGA1UEChM0R0VORVJBTCBIT1NQSVRBTCBPRiBBSVQvTklBUyBOVVJTSU5HIFVOSVQgT0YgQUdSSU5JTzFEMEIGA1UEAxM7R0VORVJBTCBIT1NQSVRBTCBPRiBBSVQvTklBUyBOVVJTSU5HIFVOSVQgT0YgQUdSSU5JTyBFQVAgQ0EwHhcNMTYwODMwMTU1MDM3WhcNMjYwODI4MTU1MDM3WjCBkjELMAkGA1UEBhMCR1IxPTA7BgNVBAoTNEdFTkVSQUwgSE9TUElUQUwgT0YgQUlUL05JQVMgTlVSU0lORyBVTklUIE9GIEFHUklOSU8xRDBCBgNVBAMTO0dFTkVSQUwgSE9TUElUQUwgT0YgQUlUL05JQVMgTlVSU0lORyBVTklUIE9GIEFHUklOSU8gRUFQIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsbWwuD4f3iAeT/mEM |
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
<?php | |
$questionTypes = array( | |
"1" => array( | |
'description' => gT("Array dual scale"), | |
'group' => gT('Arrays')), | |
"5" => array( | |
'description' => gT("5 Point Choice"), | |
'group' => gT("Single choice questions")), | |
"A" => array( | |
'description' => gT("Array (5 Point Choice)"), |
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
version 1.0; | |
ns junos = "http://xml.juniper.net/junos/*/junos"; | |
ns xnm = "http://xml.juniper.net/xnm/1.1/xnm"; | |
ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0"; | |
ns grnet = "urn:mace:grnet.gr:slax"; | |
import "../import/junos.xsl"; | |
function grnet:snmp_set($val) { |
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 python | |
# -*- coding: utf-8; -*- | |
import sys | |
import csv | |
import urllib | |
import subprocess | |
import os | |
import re | |
from datetime import datetime |
OlderNewer