view release on metacpan or search on metacpan
public/javascripts/ace.js view on Meta::CPAN
(function(){function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.define.packaged)t.original=i.define,i.define=t,i.define.packaged=!0;if(!i.require||!i.require.packaged)r.original=i.require,i.require=r,i.require.packaged=!0}var ACE_NAMES...
window.require(["ace/ace"], function(a) {
if (a) {
a.config.init(true);
a.define = window.define;
}
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/javascripts/jquery.dataTables.min.js view on Meta::CPAN
b?-1:0}});cb("");h.extend(p.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Xa(a,c)?"num"+c:null},function(a){if(a&&(!Yb.test(a)||!Zb.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||H(a)?"date":null},function(a,b...
typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(p.ext.type.search,{html:function(a){return H(a)?a:"string"===typeof a?a.replace(Nb," ").replace(wa,""):""},string:function(a){return H(a)?a:"string"===typeof a?a.replace(Nb," "):a}});h.extend(!0,p...
b,c,d){var e=c.idx;h("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("<span/>").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(f,g,h,i){if(a===g){b.removeClass(d.sSortAsc+" "+d.sSor...
i[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});p.render={number:function(a,b,c,d){return{display:function(e){var f=0>e?"-":"",e=Math.abs(parseFloat(e)),g=parseInt(e,10),e=c?b+(e-g).toFixed(c).substring(2):"";return f+(d||"")+g.toString().repl...
_fnColumnIndexToVisible:Y,_fnVisbleColumns:Z,_fnGetColumns:X,_fnColumnTypes:Da,_fnApplyColumnDefs:hb,_fnHungarianMap:T,_fnCamelToHungarian:G,_fnLanguageCompat:N,_fnBrowserDetect:fb,_fnAddData:I,_fnAddTr:ha,_fnNodeToDataIndex:function(a,b){return b._D...
_fnDeleteIndex:ka,_fnInvalidateRow:la,_fnGetRowElements:ia,_fnCreateTr:Fa,_fnBuildHead:ib,_fnDrawHead:ba,_fnDraw:K,_fnReDraw:L,_fnAddOptionsHtml:lb,_fnDetectHeader:aa,_fnGetUniqueThs:ma,_fnFeatureHtmlFilter:nb,_fnFilterComplete:ca,_fnFilterCustom:wb,...
_fnPageChange:Ra,_fnFeatureHtmlProcessing:ob,_fnProcessingDisplay:B,_fnFeatureHtmlTable:pb,_fnScrollDraw:W,_fnApplyToChildren:F,_fnCalculateColumnWidths:Ca,_fnThrottle:Ma,_fnConvertToWidth:Cb,_fnScrollingWidthAdjust:Eb,_fnGetWidestNode:Db,_fnGetMaxLe...
_fnCallbackReg:x,_fnCallbackFire:u,_fnLengthOverflow:Qa,_fnRenderer:La,_fnDataSource:z,_fnRowAttributes:Ia,_fnCalculateEnd:function(){}});h.fn.dataTable=p;h.fn.dataTableSettings=p.settings;h.fn.dataTableExt=p.ext;h.fn.DataTable=function(a){return h(t...
document);
view all matches for this distribution
view release on metacpan or search on metacpan
share/mib/RMON2-MIB.txt view on Meta::CPAN
it is associated with will discard the packet if the packet
doesn't match this protocol directory entry."
DEFVAL { 0 }
::= { filter2Entry 2 }
-- Conformance Macros
rmon2MIBCompliances OBJECT IDENTIFIER ::= { rmonConformance 1 }
rmon2MIBGroups OBJECT IDENTIFIER ::= { rmonConformance 2 }
rmon2MIBCompliance MODULE-COMPLIANCE
view all matches for this distribution
view release on metacpan or search on metacpan
bin/plsh.pl view on Meta::CPAN
=head1 CONFIGURATION
An example '.plshrc' file.
use App::PerlShell::Plugin::Macros;
# do not require a semicolon to terminate each line
$ENV{PERLSHELL_SEMIOFF}=1;
# turn on feature 5.10 (use feature ':5.10';)
$ENV{PERLSHELL_FEATURE}=":5.10";
view all matches for this distribution
view release on metacpan or search on metacpan
t/oddmuse-wiki.pl view on Meta::CPAN
$RcFile, $RcOldFile, $IndexFile, $NoEditFile, $VisitorFile, $DeleteFile, $RssLicense,
$FreeLinkPattern, $LinkPattern, $FreeInterLinkPattern, $InterLinkPattern,
$UrlPattern, $FullUrlPattern, $InterSitePattern,
$UrlProtocols, $ImageExtensions, $LastUpdate,
%LockOnCreation, %PlainTextPages, %AdminPages,
@MyAdminCode, @MyFormChanges, @MyInitVariables, @MyMacros, @MyMaintenance,
$DocumentHeader, %HtmlEnvironmentContainers, $FS, $Counter, @Debugging);
# Internal variables:
our ($q, $bol, $OpenPageName, %Page, %Translate, %IndexHash, @IndexList,
@HtmlStack, @HtmlAttrStack, @Blocks, @Flags,
t/oddmuse-wiki.pl view on Meta::CPAN
return $result if defined($result);
}
return;
}
sub RunMyMacros {
$_ = shift;
foreach my $macro (@MyMacros) { $macro->() };
return $_;
}
sub PrintWikiToHTML {
my ($markup, $is_saving_cache, $revision, $is_locked) = @_;
t/oddmuse-wiki.pl view on Meta::CPAN
$string = AddComment($old, $comment) if defined $comment;
if ($comment and substr($string, 0, length($DeletedPage)) eq $DeletedPage) { # look ma, no regexp!
$string = substr($string, length($DeletedPage)); # undelete pages when adding a comment
}
$string .= "\n" if ($string !~ /\n$/); # add trailing newline
$string = RunMyMacros($string); # run macros on text pages only
}
my %allowed = map {$_ => 1} @UploadTypes;
if (@UploadTypes and $type and not $allowed{$type}) {
ReportError(Ts('Files of type %s are not allowed.', $type), '415 UNSUPPORTED MEDIA TYPE');
}
t/oddmuse-wiki.pl view on Meta::CPAN
# rebrowse if no changes
my $oldrev = $Page{revision};
if (GetParam('Preview', '')) { # Preview button was used
ReleaseLock();
if (defined $comment) {
BrowsePage($id, 0, RunMyMacros($comment)); # show macros in preview
} else {
DoEdit($id, $string, 1);
}
return;
} elsif ($old eq $string) {
view all matches for this distribution
view release on metacpan or search on metacpan
t/files/moby11.txt view on Meta::CPAN
BOOK I. (Folio), CHAPTER I. (Sperm Whale).--This whale,
among the English of old vaguely known as the Trumpa whale and
the Physeter whale, and the Anvil Headed whale, is the present
Cachalot of the French, and the Pottsfich of the Germans,
and the Macrocephalus of the Long Words. He is, without doubt,
the largest inhabitant of the globe; the most formidable of all
whales to encounter; the most majestic in aspect; and lastly,
by far the most valuable in commerce; he being the only creature
from which that valuable substance, spermaceti, is obtained.
All his peculiarities will, in many other places, be enlarged upon.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/RoboBot.pm view on Meta::CPAN
simultaneously (critical for some plugins like ChannelLink which let you create
your own bridges between disparate networks), even across different protocols.
The only practical limits are memory and bandwidth for the host running your
bot.
=item * Macros
User-defined macros are core to App::RoboBot's operation and allow authorized
users on your chat services to define new functionality for the bot on the fly
using a Lisp-like (emphasis on the "like") language. Macros can invoke
functions, other macros, and even create more macros. Macros use the exact same
S-Expression language as everything else in the bot, and have access to the
full functionality.
=item * Plugins
lib/App/RoboBot.pm view on Meta::CPAN
}
$logger->debug('Plugin post-initialization hooks finished.');
# Pre-load all saved macros
$self->macros({ App::RoboBot::Macro->load_all($self) });
# TODO: This is an awful hack around the fact that nested macros get parsed incorrectly
# the first time around, depending on their load order out of the database. The
# Parser module doesn't know about their name yet, so it parses them as a String
# instead of a Macro object. That should get fixed in a cleaner way, but for now
# we can just load them a second time. All their names will be available for the
# Parser and we'll just overwrite their definitions with the correct versions.
$self->macros({ App::RoboBot::Macro->load_all($self) });
$logger->debug('Macro initializations finished.');
}
sub run {
my ($self) = @_;
lib/App/RoboBot.pm view on Meta::CPAN
my $logger = $self->logger('core.macro');
$logger->debug(sprintf('Adding macro %s for %s on %s network.', $macro_name, $nick->name, $network->name));
if (exists $self->macros->{$network->id}{$macro_name}) {
$logger->debug('Macro already exists. Overwriting definition.');
$self->macros->{$network->id}{$macro_name}->name($macro_name);
$self->macros->{$network->id}{$macro_name}->arguments($args);
$self->macros->{$network->id}{$macro_name}->definition($body);
$self->macros->{$network->id}{$macro_name}->definer($nick);
return unless $self->macros->{$network->id}{$macro_name}->save;
} else {
$logger->debug('Creating as new macro and saving definition.');
my $macro = App::RoboBot::Macro->new(
bot => $self,
network => $network,
name => $macro_name,
arguments => $args,
definition => $body,
definer => $nick,
);
return unless $macro->save;
$logger->debug('Macro saved successfully. Caching definition for future use.');
$self->macros->{$network->id} = {} unless exists $self->macros->{$network->id};
$self->macros->{$network->id}{$macro->name} = $macro;
}
lib/App/RoboBot.pm view on Meta::CPAN
return unless exists $self->macros->{$network->id}{$macro_name};
$self->macros->{$network->id}{$macro_name}->delete;
delete $self->macros->{$network->id}{$macro_name};
$logger->debug('Macro successfully removed.');
return 1;
}
sub network_by_id {
view all matches for this distribution
view release on metacpan or search on metacpan
socialcalc/socialcalcviewer.js view on Meta::CPAN
this.statuslineFull = true;
this.noRecalc = true; // don't do a recalc when loaded, so no need for external sheet routines
// Repeating macro info
this.repeatingMacroTimer = null;
this.repeatingMacroInterval = 60; // default to 60 seconds
this.repeatingMacroCommands = ""; // what to execute
SocialCalc.CurrentSpreadsheetViewerObject = this; // remember this for rendezvousing on events
return;
socialcalc/socialcalcviewer.js view on Meta::CPAN
pos = rmstr.indexOf("\n");
if (pos > 0) {
t = rmstr.substring(0, pos)-0; // get number
t2 = t;
// if (!(t > 0)) t = 60; // handles NAN, too
spreadsheet.repeatingMacroInterval = t;
spreadsheet.repeatingMacroCommands = rmstr.substring(pos+1);
if (t2 > 0) { // zero means don't start yet
spreadsheet.repeatingMacroTimer = window.setTimeout(SocialCalc.SpreadsheetViewerDoRepeatingMacro, spreadsheet.repeatingMacroInterval * 1000);
}
}
}
}
if (spreadsheet.editor.context.sheetobj.attribs.recalc=="off" || spreadsheet.noRecalc) {
socialcalc/socialcalcviewer.js view on Meta::CPAN
spreadsheet.editor.EditorScheduleSheetCommands("recalc");
}
}
//
// SocialCalc.SpreadsheetViewerDoRepeatingMacro
//
// Called by a timer. Executes repeatingMacroCommands once.
// Use the "startcmdextension repeatmacro delay" command last to schedule this again.
//
SocialCalc.SpreadsheetViewerDoRepeatingMacro = function() {
var spreadsheet = SocialCalc.GetSpreadsheetViewerObject();
var editor = spreadsheet.editor;
spreadsheet.repeatingMacroTimer = null;
SocialCalc.SheetCommandInfo.CmdExtensionCallbacks.repeatmacro = {func:SocialCalc.SpreadsheetViewerRepeatMacroCommand, data:null};
editor.EditorScheduleSheetCommands(spreadsheet.repeatingMacroCommands);
}
SocialCalc.SpreadsheetViewerRepeatMacroCommand = function(name, data, sheet, cmd, saveundo) {
var spreadsheet = SocialCalc.GetSpreadsheetViewerObject();
var rest = cmd.RestOfString();
var t = rest-0; // get number
if (!(t > 0)) t = spreadsheet.repeatingMacroInterval; // handles NAN, too, using last value
spreadsheet.repeatingMacroInterval = t;
spreadsheet.repeatingMacroTimer = window.setTimeout(SocialCalc.SpreadsheetViewerDoRepeatingMacro, spreadsheet.repeatingMacroInterval * 1000);
}
SocialCalc.SpreadsheetViewerStopRepeatingMacro = function() {
var spreadsheet = SocialCalc.GetSpreadsheetViewerObject();
if (spreadsheet.repeatingMacroTimer) {
window.clearTimeout(spreadsheet.repeatingMacroTimer);
spreadsheet.repeatingMacroTimer = null;
}
}
//
// SocialCalc.SpreadsheetViewerDoButtonCmd(e, buttoninfo, bobj)
view all matches for this distribution
view release on metacpan or search on metacpan
# to choose which prompt to process
$ spread-revolutionary-date \
--targets=Mastodon \
--msgmaker=Gemini \
--gemini_api_key=ApiKey \
--gemini_process=MacronJokeColuche \
--gemini_prompt 'MacronJokeColuche=Invente-moi une blague \
dans le style de Coluche sur Emmanuel Macron. Pas besoin \
de dire "D\'accord, voici une blague" ou "Bien sûr, \
voici une blague dans le style de Coluche sur Emmanuel \
Macron" avant la blague.' \
--gemini_img_path "MacronJokeColuche='/my/path/to/image.png'" \
--gemini_img_alt "MacronJokeColuche='Caricature de Coluche \
disant : « Câest lâhistoire dâun mec⦠» avec une caricature \
de macron'" \
# Spread Gemini searching for real time weather on Mastodon
# NB: usually prompts are defined in configuration file along
# See https://ai.google.dev/gemini-api/docs/api-key
api_key = 'GEMINI_API_KEY'
prompt FamousBirthday = 'Which famous people have their birthday on $month_name $day? Give a list of up to 6 people, then after the list give the unformatted URL of the Wikipedia page of only one of them, no comments and no need for an i...
intro FamousBirthday = 'FamousBirthday=Famous people born on $month_name $day for better or for worse:'
prompt MacronJokeColuche = 'Invente-moi une blague dans le style de Coluche sur Emmanuel Macron. Pas besoin de dire "D\'accord, voici une blague" ou "Bien sûr, voici une blague dans le style de Coluche sur Emmanuel Macron" avant la blague....
img_path MacronJokeColuche = '/usr/local/share/perl/5.32.1/auto/share/dist/App-SpreadRevolutionaryDate/images/coluche_macron.png'
img_alt MacronJokeColuche = 'Caricature de Coluche disant : « Câest lâhistoire dâun mec⦠» avec une caricature de macron'
prompt BlanquiRevival = 'Invente-moi un dicton révolutionnaire dans le style d\'Auguste Blanqui. Ne fais pas d\'introduction.'
img_url BlanquiRevival = 'https://example.com/imgs/my_image.jgp'
prompt MeteoParis = 'Quelle est la météo aujourd\'hui à Paris, avec la température, selon meteo-paris.com, ne devine pas, va chercher l\'information.'
search MeteoParis = 1
and, then choose the prompt to use at execution time, like:
$ spread-revolutionary-date --msgmaker=Gemini --gemini_process=FamousBirthday --locale=en
$ spread-revolutionary-date --msgmaker=Gemini --gemini_process=MacronJokeColuche
$ spread-revolutionary-date --msgmaker=Gemini --gemini_process=BlanquiRevival
$ spread-revolutionary-date --msgmaker=Gemini --gemini_process=MeteoParis
These examples show how you can tweak your message to be spread. Let's
review all these options:
defining the "api_key" option. For this you need to get a Gemini API
key, by following instructions on
https://ai.google.dev/gemini-api/docs/api-key.
Then for each prompt, you have to choose an identifier, which is one
word in camel case, like FamousBirthday, MacronJokeColuche,
BlanquiRevival or MeteoParis. This prompt identifier should be the
value of the --gemini_process <ThisPrompt> command line parameter.
All other options are relative to one particular prompt, and therefore
prefixed with the corresponding identifier. Under the hood, these
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Tel.pm view on Meta::CPAN
use POSIX qw(:sys_wait_h :unistd_h); # For WNOHANG
use Module::Load;
use App::Tel::HostRange qw (check_hostrange);
use App::Tel::Passwd;
use App::Tel::Color;
use App::Tel::Macro;
use App::Tel::Merge qw ( merge );
use App::Tel::Expect;
use Time::HiRes qw ( sleep );
use v5.10;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/UnifdefPlus.pm view on Meta::CPAN
}
return (\@params, $rsstate);
}
sub parseFuncMacro {
my $self = shift;
my $expr = shift;
my $lang = $self->{lang};
my $WS = $EXPR->{$lang}->{WHITESPACE};
lib/UnifdefPlus.pm view on Meta::CPAN
}
}
# test for function-like macro:
elsif ( my ($ws_bm, $macro, $ws_am, $params, $remainder2) =
$self->parseFuncMacro($string1)) {
#simplify expression within braces
print DBGOUT "$dbgStr ... macro: .$macro.$params.\n" if $self->{dbg};
my ( $sparams, $remainder3, $sparams_rss, $sparams_ns );
if ( $params =~ /^($WS)$/ ) {
$sparams_ns = $params;
lib/UnifdefPlus.pm view on Meta::CPAN
return ($term,max($rss,RSS_SIMPLIFIED));
}
my %makefileMacroSimplifiers = (
"or" => \&makefileSimplifyOr,
"and" => \&makefileSimplifyAnd,
"strip" => \&makefileSimplifyStrip,
# "if" => \&makefileSimplifyAnd,
);
lib/UnifdefPlus.pm view on Meta::CPAN
foreach (@parms_ns) {
my ($simplified,$dummy,$rssParm,$orig) = makefileSimplifyExpr($self, $_,$currentOpPrec,$level);
push @parms, { orig => $_, rss => $rssParm, simplified => $simplified };
}
# OK, now handle function....
if (exists $makefileMacroSimplifiers{$macroName}) {
my $method = $makefileMacroSimplifiers{$macroName};
my ($simplified, $newRss) = $self->$method($macroName.$ws1, \@parms);
$rss = max($rss,$newRss);
if ((!defined $simplified) or ($newRss == RSS_UNCHANGED)) {
$simplifiedExpr .= '$'.$openBrace.$braceExpr.$closeBrace;
} else {
view all matches for this distribution
view release on metacpan or search on metacpan
t/oddmuse-wiki.pl view on Meta::CPAN
$RcFile, $RcOldFile, $IndexFile, $NoEditFile, $VisitorFile, $DeleteFile, $RssLicense,
$FreeLinkPattern, $LinkPattern, $FreeInterLinkPattern, $InterLinkPattern,
$UrlPattern, $FullUrlPattern, $InterSitePattern,
$UrlProtocols, $ImageExtensions, $LastUpdate,
%LockOnCreation, %PlainTextPages, %AdminPages,
@MyAdminCode, @MyFormChanges, @MyInitVariables, @MyMacros, @MyMaintenance,
$DocumentHeader, %HtmlEnvironmentContainers, $FS, $Counter, @Debugging);
# Internal variables:
our ($q, $bol, $OpenPageName, %Page, %Translate, %IndexHash, @IndexList,
@HtmlStack, @HtmlAttrStack, @Blocks, @Flags,
t/oddmuse-wiki.pl view on Meta::CPAN
return $result if defined($result);
}
return;
}
sub RunMyMacros {
$_ = shift;
foreach my $macro (@MyMacros) { $macro->() };
return $_;
}
sub PrintWikiToHTML {
my ($markup, $is_saving_cache, $revision, $is_locked) = @_;
t/oddmuse-wiki.pl view on Meta::CPAN
$string = AddComment($old, $comment) if defined $comment;
if ($comment and substr($string, 0, length($DeletedPage)) eq $DeletedPage) { # look ma, no regexp!
$string = substr($string, length($DeletedPage)); # undelete pages when adding a comment
}
$string .= "\n" if ($string !~ /\n$/); # add trailing newline
$string = RunMyMacros($string); # run macros on text pages only
}
my %allowed = map {$_ => 1} @UploadTypes;
if (@UploadTypes and $type and not $allowed{$type}) {
ReportError(Ts('Files of type %s are not allowed.', $type), '415 UNSUPPORTED MEDIA TYPE');
}
t/oddmuse-wiki.pl view on Meta::CPAN
# rebrowse if no changes
my $oldrev = $Page{revision};
if (GetParam('Preview', '')) { # Preview button was used
ReleaseLock();
if (defined $comment) {
BrowsePage($id, 0, RunMyMacros($comment)); # show macros in preview
} else {
DoEdit($id, $string, 1);
}
return;
} elsif ($old eq $string) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/remarkpl/public/remark.min.js view on Meta::CPAN
},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSL...
},{begin:":\\s*"+t}]}]}}},{name:"hsp",create:function(e){return{case_insensitive:!0,lexemes:/[\w\._]+/,keywords:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mca...
},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",e...
contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:/\{/,end:/\}/,illegal:/:/}]}}},{name:"matlab",create:function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contai...
illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_M...
contains:[i]});return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try...
},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beg...
literal:"true false nil"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,a,t.preprocessor],illegal:/#/}}},{name:"sql",create:function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKey...
return{aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+o.join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+i,returnBegin:!0,cont...
built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx...
"atelier-lakeside-light":".hljs-atelier-lakeside-light .hljs-comment,.hljs-atelier-lakeside-light .hljs-quote{color:#5a7b8c}.hljs-atelier-lakeside-light .hljs-variable,.hljs-atelier-lakeside-light .hljs-template-variable,.hljs-atelier-lakeside-light ...
grayscale:".hljs-grayscale .hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#fff}.hljs-grayscale .hljs-comment,.hljs-grayscale .hljs-quote{color:#777;font-style:italic}.hljs-grayscale .hljs-keyword,.hljs-grayscale .hljs-selector...
"solarized-dark":".hljs-solarized-dark .hljs{display:block;overflow-x:auto;padding:.5em;background:#002b36;color:#839496}.hljs-solarized-dark .hljs-comment,.hljs-solarized-dark .hljs-quote{color:#586e75}.hljs-solarized-dark .hljs-keyword,.hljs-solari...
containerLayout:'<div class="remark-notes-area">\n <div class="remark-top-area">\n <div class="remark-toolbar">\n <a class="remark-toolbar-link" href="#increase">+</a>\n <a class="remark-toolbar-link" href="#decrease">-</a>\n <span...
view all matches for this distribution
view release on metacpan or search on metacpan
share/revealjs/examples/math.html view on Meta::CPAN
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
\]
</section>
<section>
<h3>TeX Macros</h3>
Here is a common vector space:
\[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\]
used in functional analysis.
</section>
share/revealjs/examples/math.html view on Meta::CPAN
\]
</div>
</section>
<section>
<h3>TeX Macros</h3>
Here is a common vector space:
\[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 < +\infty}\]
used in functional analysis.
</section>
share/revealjs/examples/math.html view on Meta::CPAN
transition: 'linear',
mathjax2: {
config: 'TeX-AMS_HTML-full',
TeX: {
Macros: {
R: '\\mathbb{R}',
set: [ '\\left\\{#1 \\; ; \\; #2\\right\\}', 2 ]
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
unzip-6.0/explode.c view on Meta::CPAN
4225, 4353, 4481, 4609, 4737, 4865, 4993, 5121, 5249, 5377, 5505,
5633, 5761, 5889, 6017, 6145, 6273, 6401, 6529, 6657, 6785, 6913,
7041, 7169, 7297, 7425, 7553, 7681, 7809, 7937, 8065};
/* Macros for inflate() bit peeking and grabbing.
The usage is:
NEEDBITS(j)
x = b & mask_bits[j];
DUMPBITS(j)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macroaleuriospore
macroamylase
macroamylasemia
macroamylasemic
macroanalysis
Macroangiopathy
Macrobdella
Macrobid
Macrobiota
macrobiotic
macroblast
macroblepharia
macrobrachia
macrocardius
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macrocephalous
macrocephalus
macrocephaly
macrocheilia
macrocheiria
MacroChem
macrochemical
macrochemistry
macrochilia
macrochiria
macrocirculation
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macrocytic
macrocytoses
macrocytosis
macrodactylia
macrodactyly
Macrodantin
macrodentium
macrodont
macrodontia
macrodontic
macrodontism
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macrofollicular
macrogamete
macrogametocyte
macrogamont
macrogenia
Macrogenitosomia
macrogingivae
macroglia
macroglobulin
macroglobulinemia
macroglobulins
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macrographia
macrographic
macrography
macrogyria
macrohematuria
Macrokine
macrolabia
macrolecithal
macroleukoblast
macrolide
macrolides
macrolymphocyte
macrolymphocytosis
macromastia
macromazia
MacroMed
macromelanosome
macromelanosomes
macromelia
macromelus
macromere
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macromineral
macromolecular
macromolecule
macromonocyte
macromyeloblast
Macronodular
macronormoblast
macronucleus
macronutrient
macronutrients
macronychia
Macroorchidism
macropathology
macropenis
macrophage
macrophages
Macrophagic
macrophagocyte
macrophagus
macrophallus
macrophthalmia
macrophthalmous
macroplasia
macroplastia
Macroplastique
macropodia
macropolycyte
MacroPore
macroprolactinoma
macroprolactinomas
macropromyelocyte
macroprosopia
macropsia
lib/ArrayData/Lingua/Word/EN/Medical/Glutanimate.pm view on Meta::CPAN
macrospore
macrostereognosia
macrostomia
macrostomum
macrostructural
Macrotec
macrotia
macrotome
macrotooth
Macrovascular
mactans
Macugen
macula
maculae
macular
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Asm/C.pm view on Meta::CPAN
}
}
undef # Parse failed or no such structure
} # extractCStructureSize
#D2 Macros # Extract macro values from C header files
my %extractMacroDefinitionsFromCHeaderFile; # Cache macro definitions
sub extractMacroDefinitionsFromCHeaderFile($) # Extract the macro definitions found in a C header file using gcc
{my ($includeFile) = @_; # C Header file name as it would be entered in a C program
my $d = $extractMacroDefinitionsFromCHeaderFile{$includeFile}; # Cached macro definitions
return $d if $d; # Return cached value
confirmHasCommandLineCommand("gcc"); # Check gcc
my @l = qx(gcc -E -dM -include "$includeFile" - < /dev/null); # Use gcc to extract macro definitions
lib/Asm/C.pm view on Meta::CPAN
{if ($l =~ m(\A#define\s+(\S+)\s+(\S+)(.*)))
{$d{$1} = $2;
}
}
$extractMacroDefinitionsFromCHeaderFile{$includeFile} = \%d; # Return definitions
}
sub extractMacroDefinitionFromCHeaderFile($$) # Extract a macro definitions found in a C header file using gcc
{my ($includeFile, $macro) = @_; # C Header file name as it would be entered in a C program, macro name
if (my $d = extractMacroDefinitionsFromCHeaderFile($includeFile)) # Get macro definitions
{return $$d{$macro};
}
undef
}
lib/Asm/C.pm view on Meta::CPAN
extractCFieldSize
extractCFieldType
extractCStructure
extractCStructureFields
extractCStructureSize
extractMacroDefinitionFromCHeaderFile
extractMacroDefinitionsFromCHeaderFile
);
%EXPORT_TAGS = (all=>[@EXPORT, @EXPORT_OK]);
# podDocumentation
=pod
lib/Asm/C.pm view on Meta::CPAN
=head2 Extract macro values from a C header file.
Find the value of a macro definition in a C header file:
my $m = extractMacroDefinitionsFromCHeaderFile("linux/mman.h");
is_deeply $$m{MAP_ANONYMOUS}, "0x20";
=head1 Description
lib/Asm/C.pm view on Meta::CPAN
int b;
int c;
} s;
=head2 Macros
Extract macro values from C header files
=head3 extractMacroDefinitionsFromCHeaderFile($includeFile)
Extract the macro definitions found in a C header file using gcc
Parameter Description
1 $includeFile C Header file name as it would be entered in a C program
lib/Asm/C.pm view on Meta::CPAN
if (1)
{my $h = "linux/mman.h";
my $m = extractMacroDefinitionsFromCHeaderFile("linux/mman.h"); # ðð
ð®ðºð½ð¹ð²
is_deeply $$m{MAP_ANONYMOUS}, "0x20";
ok extractMacroDefinitionFromCHeaderFile("linux/mman.h", q(PROT_WRITE)) eq "0x2";
}
=head3 extractMacroDefinitionFromCHeaderFile($includeFile, $macro)
Extract a macro definitions found in a C header file using gcc
Parameter Description
1 $includeFile C Header file name as it would be entered in a C program
2 $macro Macro name
B<Example:>
if (1)
{my $h = "linux/mman.h";
my $m = extractMacroDefinitionsFromCHeaderFile("linux/mman.h");
is_deeply $$m{MAP_ANONYMOUS}, "0x20";
ok extractMacroDefinitionFromCHeaderFile("linux/mman.h", q(PROT_WRITE)) eq "0x2"; # ðð
ð®ðºð½ð¹ð²
}
lib/Asm/C.pm view on Meta::CPAN
6 L<extractCStructureFields|/extractCStructureFields> - Extract the names of the fields in a C structure
7 L<extractCStructureSize|/extractCStructureSize> - Extract the size of a C structure
8 L<extractMacroDefinitionFromCHeaderFile|/extractMacroDefinitionFromCHeaderFile> - Extract a macro definitions found in a C header file using gcc
9 L<extractMacroDefinitionsFromCHeaderFile|/extractMacroDefinitionsFromCHeaderFile> - Extract the macro definitions found in a C header file using gcc
=head1 Installation
This module is written in 100% Pure Perl and, thus, it is easy to read,
comprehend, use, modify and install via B<cpan>:
lib/Asm/C.pm view on Meta::CPAN
if (0)
{my $s = extractCStructure q(#include <time.h>);
}
if (1) #TextractMacroDefinitionsFromCHeaderFile #TextractMacroDefinitionFromCHeaderFile
{my $h = "linux/mman.h";
my $m = extractMacroDefinitionsFromCHeaderFile("linux/mman.h");
is_deeply $$m{MAP_ANONYMOUS}, "0x20";
ok extractMacroDefinitionFromCHeaderFile("linux/mman.h", q(PROT_WRITE)) eq "0x2";
}
lll "Finished:", time - $start;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
# Insert a new worksheet in the workbook.
#
# @name string (required) The file name.
# @sheetName string (required) The worksheet name.
# @index int (required)
# @sheettype string (required) Specifies the worksheet type(VB/Worksheet/Chart/BIFF4Macro/InternationalMacro/Other/Dialog).
# @newsheetname string
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
lib/AsposeCellsCloud/CellsApi.pm view on Meta::CPAN
# Add a new worksheet in the workbook.
#
# @name string (required) The file name.
# @sheetName string (required) The new sheet name.
# @position int The new sheet position.
# @sheettype string Specifies the worksheet type(VB/Worksheet/Chart/BIFF4Macro/InternationalMacro/Other/Dialog).
# @folder string The folder where the file is situated.
# @storageName string The storage name where the file is situated.
#
{
my $params = {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeWordsCloud/Object/FormField.pm view on Meta::CPAN
'StatusText' => 'string',
'OwnStatus' => 'boolean',
'HelpText' => 'string',
'OwnHelp' => 'boolean',
'CalculateOnExit' => 'boolean',
'EntryMacro' => 'string',
'ExitMacro' => 'string',
'NodeId' => 'string',
'link' => 'Link'
};
my $attribute_map = {
lib/AsposeWordsCloud/Object/FormField.pm view on Meta::CPAN
'StatusText' => 'StatusText',
'OwnStatus' => 'OwnStatus',
'HelpText' => 'HelpText',
'OwnHelp' => 'OwnHelp',
'CalculateOnExit' => 'CalculateOnExit',
'EntryMacro' => 'EntryMacro',
'ExitMacro' => 'ExitMacro',
'NodeId' => 'NodeId',
'link' => 'link'
};
# new object
lib/AsposeWordsCloud/Object/FormField.pm view on Meta::CPAN
#
'OwnHelp' => $args{'OwnHelp'},
#
'CalculateOnExit' => $args{'CalculateOnExit'},
#
'EntryMacro' => $args{'EntryMacro'},
#
'ExitMacro' => $args{'ExitMacro'},
#
'NodeId' => $args{'NodeId'},
#
'link' => $args{'link'}
};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Asterisk/config/syntax/highlight.pm view on Meta::CPAN
JabberStatus
KeepAlive
Log
LookupBlacklist
LookupCIDName
Macro
MacroExclusive
MacroExit
MailboxExists
MeetMe
MeetMeAdmin
MeetMeChannelAdmin
MeetMeCount
view all matches for this distribution
view release on metacpan or search on metacpan
eg/My/Macros.pm view on Meta::CPAN
package My::Macros;
use 5.008;
use strict;
use warnings;
eg/My/Macros.pm view on Meta::CPAN
__END__
=head1 NAME
My::Macros - Implement 'macros' using code.
=head1 SYNOPSIS
The following assumes this file is actually findable in C<@INC>:
satpass2> macro load My::Macros
satpass2> hi Yehudi
Hello, Yehudi!
satpass2> angle sun moon -places 2
102.12
satpass2>
eg/My/Macros.pm view on Meta::CPAN
=head1 SEE ALSO
L<Astro::App::Satpass2|Astro::App::Satpass2>
L<Astro::App::Satpass2::Macro::Code|Astro::App::Satpass2::Macro::Code>.
The L<Code Macros|Astro::App::Satpass2::TUTORIAL/Code Macros> write-up
in the L<TUTORIAL|Astro::App::Satpass2::TUTORIAL>.
=head1 SUPPORT
Support is by the author. Please file bug reports at
view all matches for this distribution
view release on metacpan or search on metacpan
1983utu..conf Understanding the Universe. The Impact of Space Astronomy
2000udq..conf Understanding Deconfinement in QCD
1979uefg.conf Unification of Elementary Forces and Gauge Theories
1983uft..conf Unified Field Theories of >4 Dimensions
1994ussl.conf Unified Symmetry in the Small and in the Large
1987uvmm.conf A Unified View of the Macro- and the Micro- Cosmos
1990uoam.book The Universe and its Origins : From Ancient Myth to Present Reality and Fantasy
1977ulki.book The Universe at Large, Key Issues in Astronomy and Cosmology
1981uuw..proc Universe at Ultraviolet Wavelengths
1981uviu.nasa The Universe at Ultraviolet Wavelengths: The First Two Years of International Ultraviolet Explorer
1926unst.book The Universe of Stars, Radio Talks from the Harvard Observatory
view all matches for this distribution
view release on metacpan or search on metacpan
libnova-0.15.0/doc/doxyfile.in view on Meta::CPAN
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = YES
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
view all matches for this distribution
view release on metacpan or search on metacpan
erfasrc/src/erfam.h view on Meta::CPAN
/*
** - - - - - - - -
** e r f a m . h
** - - - - - - - -
**
** Macros used by ERFA library.
**
** Copyright (C) 2013-2020, NumFOCUS Foundation.
** Derived, with permission, from the SOFA library. See notes at end of file.
*/
view all matches for this distribution
view release on metacpan or search on metacpan
bin/satpass 0.009:
* Fix defaulting of second argument of quarters().
* Allow macros to override core commands. Macros can no longer
call themselves, and core commands can be accessed explicitly
by the syntax core.command.
* Relative times for the second and subsequent arguments of a
command are relative to previous time argument of the same
view all matches for this distribution
view release on metacpan or search on metacpan
libsamplerate/M4/ltoptions.m4 view on Meta::CPAN
])
])# _LT_SET_OPTIONS
## --------------------------------- ##
## Macros to handle LT_INIT options. ##
## --------------------------------- ##
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
# -----------------------------------------
m4_define([_LT_MANGLE_DEFUN],
view all matches for this distribution
view release on metacpan or search on metacpan
include/pinttypes.h view on Meta::CPAN
typedef struct {
intmax_t quot;
intmax_t rem;
} imaxdiv_t;
// 7.8.1 Macros for format specifiers
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198
// The fprintf macros for signed integers are:
#define PRId8 "d"
view all matches for this distribution
view release on metacpan or search on metacpan
Data/mkVFunc view on Meta::CPAN
/tk.m - #define's to include in sub-extension
/tk_f.h - #included both sides.
/tk_f.c - Actual table definition.
/tk.t - 'shared' set of macros which produce table
included in tk_f.c and tk_f.h
/tkVMacro.h - Wrapper to include *.m files
In addition to /tk* there are /tkInt*, /Lang* and /tix*
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
scrypt-1.2.1/libcperciva/cpusupport/cpusupport.h view on Meta::CPAN
#define CPUSUPPORT_FEATURE(arch, feature, enabler) \
CPUSUPPORT_FEATURE_(arch ## _ ## feature, enabler, CPUSUPPORT_ ## enabler)
/*
* CPUSUPPORT_FEATURE_DECL(arch, feature):
* Macro which defines variables and provides a function declaration for
* detecting the presence of "feature" on the "arch" architecture. The
* function body following this macro expansion must return nonzero if the
* feature is present, or zero if the feature is not present or the detection
* fails for any reason.
*/
view all matches for this distribution