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
module Data.BKTree ( | |
BKTree, | |
MetricSpace(..), | |
empty, | |
null, | |
size, | |
singleton, | |
insert, | |
query, |
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"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="wrap_content" android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<RelativeLayout android:layout_width="fill_parent" | |
android:layout_height="wrap_content" android:id="@+id/top_control_bar"> | |
<Spinner android:id="@+id/sort_by" android:layout_width="fill_parent" | |
android:layout_height="wrap_content" android:entries="@array/default_sorts" /> | |
</RelativeLayout> | |
<LinearLayout android:id="@+id/bottom_control_bar" |
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 os, sys | |
c_like = {"single": "//", "multi_start": ("/*",), "multi_end": ("*/",),} | |
langs = { | |
"py": {"single": "#", "multi_start": ("'''", '"""'), | |
"multi_end": ("'''", '"""'),}, | |
"html": {"single": "//", "multi_start": ("<!--", "/*"), | |
"multi_end": ("-->", "*/"),}, | |
"js": c_like, |
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
gpg --keyserver keys.gnupg.net --recv-key 89DF5277 | |
gpg -a --export 89DF5277 | sudo apt-key add - |
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 | |
/* | |
Plugin Name: Easy Digital Downloads - Variable Pricing License Activation Limits | |
Plugin URL: http://easydigitaldownloads.com/extension/ | |
Description: Limit the number of license activations permitted based on variable prices | |
Version: 1.0 | |
Author: Pippin Williamson | |
Author URI: http://pippinsplugins.com | |
Contributors: mordauk | |
*/ |
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
find . -iname "*.php" -type f | xgettext \ | |
--from-code=UTF-8 \ | |
--keyword=__ \ | |
--keyword=_e \ | |
--keyword=_n:1,2 \ | |
--keyword=_x:1,2c \ | |
--keyword=_ex:1,2c \ | |
--keyword=_nx:1,2,4c \ | |
--default-domain=pronamic_ideal \ | |
--language=PHP \ |
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
{"lastUpload":"2020-06-18T22:29:09.889Z","extensionVersion":"v3.4.3"} |
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
/* | |
Use: [changelog id=""] | |
Atts: "id" is the id of the download in EDD | |
*/ | |
add_shortcode('changelog','edd_changelog_sc')); | |
function edd_changelog_sc($atts,$content = null) { | |
$defaults = array( |
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"?> | |
<templateSet group="WordPress"> | |
<template name="aa" value="add_action( '$hook$', '$callback$' ); $END$" description="add_action" toReformat="false" toShortenFQNames="true"> | |
<variable name="hook" expression="" defaultValue="" alwaysStopAt="true" /> | |
<variable name="callback" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="HTML_TEXT" value="false" /> | |
<option name="HTML" value="false" /> | |
<option name="XSL_TEXT" value="false" /> | |
<option name="XML" value="false" /> |
OlderNewer