programmingTag ArchiveSubscribe
programming
PowerShell tips – part 016.
The tutorial for today is about the PowerShell G.U.I. (GUI is defined as an acronym for graphical user interface). You can solve this issue with an editor tool like POSHGUI, or use any text editor. I will show you one commented script about how to create a form with a… Continue Reading PowerShell tips – part 016.
Android Studio – simple gradient example.
I used Android Studion 3.6.1 on Ubuntu Linux. I start an Empty Project and I change the activity_main.xml file into this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/gradient_background" tools:context=".MainActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="GRADIENT COLORS" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> |
You can see I change the Hello Word! text into GRADIENT COLORS. I add this source line of code:
1 | android:background="@drawable/gradient_background" |
I create this resource XML into res –… Continue Reading Android Studio – simple gradient example.
Test with an button effect.
This tutorial is about how to create a button with a good effect. First, the HTML 5 source code comes with the button using the div tag:
1 | <div class="button effect">This is a issue!</div> |
The next step is to use a CSS format to add the font style and create these settings: button settings for after,… Continue Reading Test with an button effect.
New Colab from Google .
Collaboratory, or “Colab” for short, is a product from Google Research. Colab allows anybody to write and execute arbitrary python code through the browser and is especially well suited to machine learning, data analysis, and education. More technically, Colab is a hosted Jupyter notebook service that requires no setup to… Continue Reading New Colab from Google .
WebExtensions API – Load an extension in Firefox browser.
You can use WebExtensions API to extend the browser’s built-in developer tools. Today I will show you how to test the web extensions-examples from GitHub.
1 2 3 4 | [mythcat@desk ~]$ cd projects/ [mythcat@desk projects]$ git clone https://github.com/mdn/webextensions-examples.git Cloning into 'webextensions-examples'... ... |
The next steps are to run it with the Firefox browser: open Firefox browser; enter about:debugging in the URL bar; use click on the… Continue Reading WebExtensions API – Load an extension in Firefox browser.
Google Apps Script – change color – part 027.
Open a new spreadsheet with a Sheet named Sheet3, then a new script. This will require a new project. Also, you can run it with an old project. Use this function to add a blue color on each empty cell selected by your mouse in the Sheet3. You can see… Continue Reading Google Apps Script – change color – part 027.
Pug: About the Pug javascript.
I don’t like the Pug very much but for today I will write a simple intro tutorial. The Pug is a template engine for Node and for the browser which can make you more productive and your code more readable. It compiles to HTML and has a simplified syntax with… Continue Reading Pug: About the Pug javascript.