recentpopularlog in

therobyouknow : script   75

Automating your infrastructure with Vagrant and Puppet
nice, very nice - sets up the mysql root user - otherwise this can be an awful hassle to setup within the VM.
lamp  puppet  computing  mysql  login  database  user  password  example  script  vagrant  automation  provisioning  howto 
march 2013 by therobyouknow
Bash script, read file into array (Newbie)
while read line ; do
MYARRAY[$index]="$line"
index=$(($index+1))
done < $ips
array  file  howto  linux  load  read  reference  script  syntax  tip  bash  shell  bsh  loop  computing  work 
july 2010 by therobyouknow
Recursive Linux "Find Files Containing" : Joe Grossberg
find . -name '*.*' -exec grep -i -H -n 'string_to_search' {} \;
Make sure path expression is in single quotes e.g.'*.*' and so is string to search
cli  command  find  grep  howto  linux  recursive  script  search  unix  look  lookfor  directory  folder  subfolder  leaf  iterate  hierarchy  path  within  contains  inside  string  computing  work 
july 2010 by therobyouknow
WMI and VBScript for Microsoft Operating Systems - Guy's Secrets
Read from "Example 1b: To Discover the ComputerName" for how to get the Windows machine name/hostname/Computer name for the machine on which the script is running. Set objNetwork = CreateObject("WScript.Network")
machineid = objNetwork.ComputerName
script  scripting  vbscript  vbs  wmi  machine  name  machinename  machineid  computer  computername  host  hostname  client  identifier  id  node  computing  work  howto  visualbasic  basic  visual  microsoft  vb  windows  programming 
june 2010 by therobyouknow
Winsock: HTTP File Upload - VBForums
Partial solution: Successfully packages the uploaded file in multi-part format in a HTTP POST. But needs WinHttpRequest in Corel Draw as Winsock is not available.
winhttprequest  visual  basic  visualbasic  vb  visualbasicapplication  vba  form  cgi  post  http  submit  multi-part  multi  part  content  mime  multipart  header  setrequestheader  coreldraw  corel  script  howto 
february 2010 by therobyouknow
winhttprequest posting byte() and string in multipart message. Howto - ASP / Active Server Pages answers
This crucial snippet (below) helped make the WinHttpRequest work

req.open "POST", URL, False
req.setRequestHeader "Content-Type", "multipart/form-data;
boundary=" & boundary
req.send FormData
winhttprequest  visual  basic  visualbasic  vb  visualbasicapplication  vba  form  cgi  post  http  submit  multi-part  multi  part  content  mime  multipart  header  setrequestheader  coreldraw  corel  script 
february 2010 by therobyouknow
[Chapter 12] Debugging and Testing CGI Applications
Malformed Header from Script - if you forgot to specify to the client what type of content you are returning
perl  apache  script  cgi  debugging  httpd  work  computing 
november 2009 by therobyouknow
How do I check whether a perl module is installed? - Stack Overflow
How do I check whether a perl module is installed WITHIN the perl code itself. There are many solutions for checking at the command line. But on some occasions you may want to check WITHIN the code itself. For example as a preliminary installation checklist script.
perl  module  install  check  within  insitu  programming  computing  work  preliminary  installation  checklist  script  inside  code  howto  presence  available  detect  dependency 
november 2009 by therobyouknow
Perl Regular Expressions
The most basic string comparison is
$string =~ m/sought_text/;
The above returns true if string $string contains substring "sought_text", false otherwise
howto  software  programming  reference  development  perl  search  tutorial  code  language  documentation  script  regexp  expression  regular  match  find  within  string  substring  work  tip  contain 
september 2009 by therobyouknow
Taskbar Repair Tool Plus!
tool for fixing windows not showing as minimised on taskbar works on Vista as well as XP
windows  xp  vista  taskbar  task  bar  minimise  minimize  not  disappear  invisible  visible  hidden  solution  fix  problem  script  vbscript  repair  tool  visual  basic  microsoft  safe 
march 2009 by therobyouknow
webpage won't load, Apache Debian /etc/apache2/sites-available/default file seems OK
webpage won't load, Apache Debian /etc/apache2/sites-available/default file seems OK posted to HowToForge Linux Web Server forum
discussion  forum  question  thread  apache  webserver  web  server  default  sites-available  request  cgi-bin  script  perl  cgi  problem  re-direct  redirect  linux  work  technical 
august 2007 by therobyouknow

Copy this bookmark:





to read