Tutorial by Examples: l

Open HTML minifier Open build.html Copy all its code In the HTML minfier's first textarea, paste the code you copied from build.html Click Minify button In the second textarea, minified code will appear. Copy that Create a build.min.html file and paste all your copi...
Remove all previous imports from those HTmL files from which you copy-pasted the imports. Replace imports with <link rel="import" href="PATH/TO/IMPORTFILE/build.min.html">
Link function is best way in custom directives to manipulate DOM. It takes three attributes as input (scope, element, attribute) in sequence scope: its local scope object of directive. element: html element on which directive is used. attribute: it gives access to all attributes used in element ...
In your custom application class, override the onCreate() method, add the line below: CleverTapAPI.setDebugLevel(1);
AIX by IBM Solaris by Sun Microsystems HP-UX by Hewlett Packard IRIX by Silicon Graphics, Inc FreeBSD by Free BSD Group GNU/Linux by Open Source Movement SCO Unix by The Santa Cruz Operation Inc
Detailed instructions on getting java-stream set up or installed.
For this example we will use the Live Test RavenDB instance. We will build a simple console app here which demonstrates the most basic operations: Creation Retrieval by Id Querying Updating Deletion Begin by creating a new Visual Studio solution and add a Console Application project to it...
Because Boxes implement the Deref<Target=T>, you can use boxed values just like the value they contain. let boxed_vec = Box::new(vec![1, 2, 3]); println!("{}", boxed_vec.get(0)); If you want to pattern match on a boxed value, you may have to dereference the box manually. struct...
As a way of subdividing Ada programs, packages may have so-called children. These can be packages, too. A child package has a special privilege: it can see the declarations in the parent package's private part. One typical use of this special visibility is when forming a hierarchy of derived types ...
Let's say you have already created the custom Test Work Orders screen to manage test work orders in your Acumatica ERP application: There is already NoteID field declared in the TestWorkOrder DAC, managed on the Test Work Orders screen: [Serializable] public class TestWorkOrder : IBqlTable { ...
The visible binding will hide an element by applying style="display: none;" to it when the binding evaluate as falsey. <input type="text" data-bind="textInput: name"> <span class="error" data-bind="visible: isInvalid">Required!</span&...
func loginHandler(w http.ResponseWriter, r *http.Request) { // Steps to login } func main() { http.HandleFunc("/login", loginHandler) http.ListenAndServe(":8080", nil) }
// logger middlerware that logs time taken to process each request func Logger(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { startTime := time.Now() h.ServeHttp(w,r) endTime := time.Since(startTime) log...
func CORS(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { origin := r.Header.Get("Origin") w.Header().Set("Access-Control-Allow-Origin", origin) if r.Method == "OPTIONS" { ...
func Authenticate(h http.Handler) http.Handler { return CustomHandlerFunc(func(w *http.ResponseWriter, r *http.Request) { // extract params from req // post params | headers etc if CheckAuth(params) { log.Println("Auth Pass") // pas...
func Recovery(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request){ defer func() { if err := recover(); err != nil { // respondInternalServerError } }() h.ServeHTTP(w , r) }...
16#A8# -- hex 2#100# -- binary 2#1000_1001_1111_0000 -- long number, adding (optional) _ (one or more) for readability 1234 -- decimal
The example assumes you have successfully run and fully understand the tutorial of MNIST(Deep MNIST for expert). %matplotlib inline import matplotlib.pyplot as plt # con_val is a 4-d array, the first indicates the index of image, the last indicates the index of kernel def display(con_val, kern...
Install Apache Web Server First step is to install web server Apache. sudo yum -y install httpd Once it is installed, enable (to run on startup) and start Apache web server service. sudo systemctl enable --now httpd Point your browser to: http://localhost You will see the default Apache web s...

Page 753 of 861