Base64 Decode in Golang
Golang programing language provides built-in suport for base64 decoding. The base64 functions are available into the
encoding/base64
package. It provides implementations for both Standard, with or without padding and Filename safe Base64 decoding variant.
How to disable submit button with jQuery
For a long submit operation or to avoid users clicking twice a submit button, a common solution is to disable the submit button after user clicked on it.
To disable a button using jQuery you need to add the disabled
attribute to the button as true.
How to split a string in Java
How to split a string in Java using both variants of the split() method: split(String regex)
and split(String regex, int limit)
.
How to generate JAXB classes with xjc
How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd
How to Check Alexa Rank in Java
How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings
Blinking LED on Raspberry Pi using C
How to make a LED blinking on Raspberry Pi using C. Simple C code sample using WiringPi library.