search for: programmatic

Displaying 20 results from an estimated 755 matches for "programmatic".

2006 Jul 20
2
programmatical retrieval of windows event logs from linux
Am a Linux guy and trying to support security monitoring for Windows devices. Am trying to find a programmatic way of pulling security and application logs from Windows machine. OR it can be a push model where windows can generate events/traps. It should all be built-in in windows with no external tool installation. Looks like there is no NATIVE built in asynchronous event reporting from win...
2010 Jun 02
5
Programmatically counting RSpec tests?
If I have an object `obj` that is a SpecTask, and subsequently invoke it, is there a way to programmatically determine the number of tests that were successful, failed, and pending as a result of running that SpecTask? -- John Feminella Principal Consultant, Distilled Brilliance
2016 Jan 29
3
Asterisk 13.6.0: Is there a way to create PJSIP users and dialplans programmatically using API
Hi, I am using Asterisk 13.6.0 and was wondering if I can programmatically add users (to pjsip.conf) and dialplan (to extensions.conf) to the Asterisk server using API of some sort. Please do let me know. Thanks, Sonny. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/201...
2018 Mar 29
5
site-site vpn setup..
Just search online why in general that is insecure via CLI vs programmatic for first class automation.. there is a reason why snmp, rest, ... exist. On Thu, Mar 29, 2018 at 3:50 AM, Tomasz Chmielewski <mangoo at wpkg.org> wrote: > You've mentioned security issues in your previous email, but now you're > hopping to management issues. > > Have y...
2019 Jan 21
2
How to set command line option programmatically?
Hello, i want to use the Scalarizer pass. (http://llvm.org/doxygen/Scalarizer_8cpp_source.html). This pass exposes the "scalarize-load-store"(default false) option on the command line. For my use-case i want to always enable this option. How can i enable this option programmatically? Thank you
2006 Apr 03
3
How do I programmatically send a 404 error
I want to programmatically under certain conditions return a 404 (page not found) error to the browser. How can I do this from my controller? I''m assuming I need to set a header on the reponse obect. However I can''t figure out what the header name is. thanks, scott. -- Posted via http://www.ruby...
2013 Jan 30
2
Programmatically give file name to a matrix
I have a situation when I need to save matrix with file names that are programmatically created. for (i in levels(mergeTrn$Continent)) { matrix here.... # I want to save this matrix with a file name that carries "i" from for loop. The following does not work. paste("plotroc_GBM_Trn_", i, sep="") <- matrix } Thanks, Kumar -- Section of...
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy a netCDF file? (Without calling > system("cp whatever wherever") :-) Why I ask: I need to "do surgery" on a large netCDF file (technically an I/O API file which uses netCDF). My group believes a data-assimilation error caus...
2018 Jan 06
3
How to programmatically save a web-page using R (mimicking Command+S)
Hi, I would appreciate if someone can give me a pointer on how to save a webpage programmatically using R. For example, let say I have this webpage open in my browser: http://www.bseindia.com/stock-share-price/dabur-india-ltd/dabur/500096/ When manually I save this page, I just press Command+S (using Mac) and then this page get saved in hard-disk Now I want R to mimic this same job that...
2018 Aug 11
3
Programmatically Retrieve Current Stable Version
I am writing an update script for Samba (compiled from source) and I am wondering how best to programmatically get the latest release version number. I know that https://download.samba.org/pub/samba/samba-latest.tar.gz exists, but I would like to get the version number to compare to smbd -V, so that it can quietly ignore if Samba is already up to date. My currently solution is to incrementally prod at...
2013 Feb 04
2
Modifying a function programmatically
Dear list # I have a function ff <- function(a,b=2,c=4){a+b+c} # which I programmatically want to modify to a more specialized function in which a is replaced by 1 ff1 <- function(b=2,c=4){1+b+c} # I do as follows: vals <- list(a=1) (expr1 <- as.expression(body(ff))) expression({ a + b + c }) (expr2 <- do.call("substitute", list(expr1[[1]], vals))) {...
2008 Dec 16
1
Programmatically minimising main R window (on windows)
Hi all, Is it possible to programmatically minimise the main window of the windows R gui? I'm designing a small gui with gwidgets & RGtk2 for an non-statistician to use, and it would be nice if I could easily hide all the R stuff that they don't need. Thanks, Hadley -- http://had.co.nz/
2007 Oct 08
1
How to get database adapter type programmatically in rails?
Hi,all I am developing a Rails application supporting both Mysql and Oracle. I have to use Native SQL statements some place. While we know the SQL grammar is quite different for Mysql and Oracle, so I have to get database adapter type programmatically in my codes to process different native SQL statements. I haven''t found any document for this situation. After some research, I have found a way to do so like following: if ActiveRecord::Base::connection.is_a? (ActiveRecord::ConnectionAdapters::OracleAdapter) {Process nati...
2018 Mar 29
2
site-site vpn setup..
Programmatic management with first class APIs is preferred for larger deployments.. On Mon, Mar 26, 2018 at 12:28 PM, Tomasz Chmielewski <mangoo at wpkg.org> wrote: > Could you elaborate on why CLI (SSH) managing is insecure? > > > Tomasz Chmielewski > https://lxadm.com > > > On...
2013 Aug 19
4
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
...VM. Thanks for your awesome work! I have come across some bytecode like the following with an GetElementPtr instruction in brackets: Bytecode:%3 = call i32 @_Z4funcPKc(i8* getelementptr inbounds ([5 x i8]* @.str2, i32 0, i32 0)) C++ code:func("bleh"); However when I am generating bytecode programmatically, I can not have the GetElementPtr value "inlined" in the function argument list: Bytecode:%bbname = getelementptr inbounds [29 x i8]* @bbname10, i32 0, i32 0call void @incrementFaultSiteCount(i8* %bbname, i32 2) C++ code: (What I mean to generate)incrementFaultSiteCount("BBName&q...
2018 Jan 06
0
How to programmatically save a web-page using R (mimicking Command+S)
The 'webshot' package (on CRAN) can do this. Henrik On Jan 6, 2018 05:27, "Christofer Bogaso" <bogaso.christofer at gmail.com> wrote: > Hi, > > I would appreciate if someone can give me a pointer on how to save a > webpage programmatically using R. > > For example, let say I have this webpage open in my browser: > > http://www.bseindia.com/stock-share-price/dabur-india-ltd/dabur/500096/ > > When manually I save this page, I just press Command+S (using Mac) and > then this page get saved in hard-disk > >...
2013 Aug 19
0
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
...across some bytecode like the following with an GetElementPtr instruction in brackets: > > Bytecode: > %3 = call i32 @_Z4funcPKc(i8* getelementptr inbounds ([5 x i8]* @.str2, i32 0, i32 0)) > > C++ code: > func("bleh"); > > However when I am generating bytecode programmatically, I can not have the GetElementPtr value "inlined" in the function argument list: > > Bytecode: > %bbname = getelementptr inbounds [29 x i8]* @bbname10, i32 0, i32 0 > call void @incrementFaultSiteCount(i8* %bbname, i32 2) > > C++ code: (What I mean to generate) &gt...
2009 Feb 25
1
Samba4: programmatic account creation via LDAP (unicodePwd)
...ollowing code: my $charmap = Unicode::Map8->new('latin1') or die $!; my $unipwd = $charmap->tou(qq{"$passwd"})->byteswap()->utf16(); But that doesn't seem to work either. I was wondering if anyone working with samba4 could recommend a way to create users programmatically. If a mechanism does not exist, perhaps someone could point me in the right direction to add the necessary hooks to samab4 to allow it. -- James R. Leu jleu@mindspring.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-...
2010 Feb 25
2
[LLVMdev] Programmatic compilation of C++ file into bitcode
...words, it basically needs to do this: llvmc hello.cpp -emit-llvm -O0 -S -g Except that instead of writing the bitcode to a file, it needs to load it into memory (presumably as an instance of Module) for further processing and analysis. So my goal is to do essentially what llvmc does, but programmatically by invoking the LLVM API directly. I thought I could use lib/CompilerDriver/Main.cpp as a guide, but after studying the code and associated docs, I'm stumped. Much of the logic is woven through TableGen'd drivers, so I can't even figure out how the command line options are fe...
2010 Feb 25
0
[LLVMdev] Programmatic compilation of C++ file into bitcode
...g the bitcode to a file, it needs to load > it into memory (presumably as an instance of Module) for further > processing and analysis. You could just pipe it to your program: llvm-gcc hello.cpp -emit-llvm -c -o - | analysis_program So my goal is to do essentially what llvmc > does, but programmatically by invoking the LLVM API directly. You can add your static analysis to llvm-gcc as an LLVM pass. If you write it as an LLVM pass then you can also use it from "opt", which would be convenient. > I thought I could use lib/CompilerDriver/Main.cpp as a guide, but > after studying...