Skip to content
Daily IT Help

My daily IT journal

  • Programming
  • Monitoring
  • Azure
  • Splunk
  • About me
  • Programming
  • Monitoring
  • Azure
  • Splunk
  • About me
  • General - Programming

    PHP : HTTP Post with Curl

    October 8, 2019 - By itdoctor

    A sample function to use curl post data. $data=array() $data=array(); $data[“field1″]=”hello world”; $data[“user”]=”hello user”; curl_post($url,$data) function curl_post($url,$fields) { //open connection…

    Read More
  • General

    Find the kerberos server for your domain

    September 25, 2019 - By itdoctor

    The service record for ldap and kerberos are used to identify LDAP and Kerberos server for a domain in Active…

    Read More
  • General

    Splunk – Custom Alert – Input Validation

    September 25, 2019 - By itdoctor

    I built a customize alert, and there are some required fields on the form. User must provide data for these…

    Read More
  • General

    Ubuntu: How to execute a command at start up?

    June 16, 2019 - By itdoctor

    There will come a time when you need to start some scripts at startup, but you don’t want to to…

    Read More
  • General

    php 7 – session_set_save_handler

    April 14, 2019 - By itdoctor

    session_set_save_handler(“open”, “close”, “read”, “write”, “destroy”, “gc”); function read($id) { //if we can’t find the data for this session, we must…

    Read More
  • General

    Apache: too many sending reply (W) – server is busy

    March 8, 2019 - By itdoctor

    This is mostly because the script is hang at some point , the server still keeps the connection, this will…

    Read More
  • General

    How to see a list of available php7 package to install

    December 28, 2018 - By itdoctor

    You can run this command:

    Read More
  • General

    PHP7.2: How to install mcrypt extension

    December 28, 2018 - By itdoctor

    mcrypt extension is an interface to the mcrypt cryptography library. mcrypt is included in php5 to  php7.1 , but it’s…

    Read More
  • General

    git ignore certificate error

    December 12, 2018 - By itdoctor

    git clone https://github.com/commx/python-rrdtool.git -c http.sslVerify=false

    Read More
  • General

    bash – check if a string in a variable

    December 11, 2018 - By itdoctor

    if you use#! /bin/zsh $MYVAR=”Hello world” if [[ $MYVAR == *”hello”*]] thenecho “FOUND”fi If we don’t use #! /bin/zsh $MYVAR=”Hello…

    Read More
 Older Posts
Newer Posts 

Categories

  • Apple
  • Azure
  • Database
  • General
  • Linux
  • Marketing
  • Monitoring
  • Networking
  • Phone
  • Programming
  • Splunk
  • Windows
Graceful Theme by Optima Themes