Category: Unix / Linux

  • omniawrite

    Today, I am writing about an open-source application for MacOS. A guide for blogging or journalism.

    I installed this application to make my kreatyve designs Ekron Universe, seen at amazon KDP.

    This application is a must. You can write your articles based on cards. Every chapter is written in small fractions as subchapters.

    I found this application on the web because I wanted an open-source solution despite a paying application. I saw a few applications with these abilities. I am writing my blogging stuff there, then I export to rtf file to polish the articles as we see here.

    Also, use this app for Ekron besides writing my blogging articles.

    Remember omniawrite is a helper for writing it’s not a word processor as we see with office 365 or LibreOffice. I can manager later the files from omnia into LibreOffice. I use LibreOffice instead of office 365. I am used to LibreOffice. In this blog I want to show I am writing and use open-source applications.

  • MAMP PRO MySQL

    Hello it’s coder by gleentech. Sometimes, we forgot the user and password of WordPress or MySQL Workbench.

    To work with MySQL Workbench

    Remember this user:

    user: root

    password: root

    You can test it when you install a WordPress custom. Not with the default from MAMP Pro.

    If is there any issue, contact us. We are pleased to help you out.

    Kind Regards,

  • nativescript jdk11

    Hello it’s coder by gleentech. Today the day tip is how to install openjdk 11 with brew to get nativescript worked. I needed to do this because I am coding a professional application. Then this was my solution.

    brew cask install java
    
    
     brew tap adoptopenjdk/openjdk
     brew cask install adoptopenjdk11
    export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8)
    export JAVA_11_HOME=$(/usr/libexec/java_home -v11)
    
    alias java8='export JAVA_HOME=$JAVA_8_HOME'
    alias java11='export JAVA_HOME=$JAVA_11_HOME'
    

    Do everything on ~/.profile then reload the file

    source ~/.profile
    
    

    Then type java11 on terminal and type at last

    java11 or java8

  • What is ZFS

    What is ZFS

    The ZFS article

    Hello it’s coder by gleentech again. This week, we will talk about ports and its installment. We are going to teach what is ZFS, the filesystem, its structure, and its pool data node.

    First of all, as we saw before, about the ports, we cannot delete the structure. If you try to do :

    sudo rm -rf /usr/ports

    You will see a device busy. I will teach how to bypass that issue.

    sudo fstat | grep “/usr/ports”

    But first you should know you cannot delete it. Before I will explain the ZFS itself do this command when you try to delete ports folder.

    sudo svnlite co https://svn.freebsd.org/ports/head /usr/ports

    If this syncing broke up or hang up, we can always do this:

    sudo rm -rf /usr/ports/* && sudo rm -rf /usr/ports/.svn

    or do these commands  separately.

    sudo rm -rf /usr/ports/*

    sudo rm -rf /usr/ports/.svn

    I think you can’t now use anymore the subversion stable. I keep seeing most the help outside from git freebsd hosting.

    What is ZFS?

    ZFS is the default node filesystem adopted and adapted for FreeBSD OS and its derivatives. Unix itself uses a schema called pool nodes. Everything is a node, a file, a structure for files Inside the structure, we can see usr,boot, bin, home, dev, entropy, lib, etc...

    Inside usr, you can see the ports node. Here you can see a structured folder with the major applications to build.

    This project of ZFS is based on openZFS.

    What is openZFS?

    The openZFS is a filesystem coded by Sun Microsystems, then have ported and maintained for FreeBSD, macOS, and Linux. We can see ZFS on macOS, Ubuntu by default. Since 16.04 LTS version and FreeBSD. We see openZFS ported for FreeBSD under version 7.0, since then we see it has a default structure.

    Today we saw filesystems too much stable and good enough coming from Sun Microsystems technology. 

    The openZFS, ZFS itself for me is much safer than ext4 or btrfs. But in spite of you should migrate to openZFS, for me is much safer. You can use RAID-Z with openZFS. Today you can find ZFS by default on Ubuntu also. To have on Ubuntu by default, it’s safe to have it plugged.

    This structure began as a closed source then released as CDDL license in 2005, in 2007 Apple and FreeBSD organizations began to implement it under their systems.

    The structure works as pool nodes. The pool nodes are the files structure we build when we install the operating system. Nowadays, the pool node version is zpool.5000 structure.

    With this structure, the RAID pool is much safer than used with other filesystems. We can operate with tons of data.

  • Install gitweb on Ubuntu LTS

    Install gitweb on Ubuntu LTS

    coder by gleentech will teach how to install gtiweb on an Ubuntu LTS

    Aptitude:

    → sudo aptitude install -y gitweb

    apt mode:

    → sudo apt install -y gitweb

    apt-get install

    → sudo apt-get install -y gitweb

    Uninstall the gitweb

    → sudo apt-get autoremove gitweb

    With all dependencies:

    → sudo apt-get -y autoremove gitweb

    First of all, before you choose to install gitweb do the following steps:

    → sudo apt update && sudo apt upgrade

  • Let's Encrypt

    Today, coder by gleentech will talk about let’s encrypt under Ubuntu 20.04, how to deploy it for a safety https procedure.

    What is let’s encrypt? Let’s encrypt is a ssl certificate generation mode, which works as nonce procedure. It is good to encrypt the apache2 or nginx websites.

    The lets encrypt is a good way and open source to have or generated certificate. Every 30 day you can renew your certification.

    We will teach here how to add letsencrypt.

    sudo apt install python3-certbot-nginx

    sudo apt install python3-certbot-apache

    sudo ufw status

    sudo ufw enable

    sudo ufw status

    sudo ufw allow ‘Apache Full’

    sudo ufw delete allow ‘Apache’

    sudo ufw status

    sudo certbot –apache

    sudo ufw allow 80

    sudo ufw allow 443

    sudo apt install letsencrypt

    sudo systemctl status certbot.timer

    sudo certbot certonly –standalone –agree-tos –preferred-challenges http -d domain-name.com

    For nginx

    sudo certbot --nginx --agree-tos --preferred-challenges http -d domain-name.com

    For apache2

    sudo certbot --apache --agree-tos --preferred-challenges http -d domain-name.com

    sudo certbot certonly –manual –agree-tos –preferred-challenges dns -d

    domain-name.com -d *.domain-name.com

    To block:

    sudo ufw deny from 1.2.3.4 to any
    sudo ufw deny from 1.2.3.0/24 to any
    sudo ufw insert 1 deny from 2.3.4.5 comment ‘block hacker’
    sudo ufw insert 1 reject from 192.168.5.100

    sudo sh -c ‘apt update && apt upgrade && apt install gufw’

  • vuejs3 – part 1 & 2

    Hello, It’s coder by gleentech. Dear readers today I will talk about my vuejs 3 frontend struggles to make a magazine website. I will teach in this first part how to create a project, add small fragments of Menu and footer components, and the build itself.

    I will show it how I made it on my MBP 2011. First of all, I made already in Python flask all the backend environments. I made a small software to render HTML and markdown with flask. I can now manage all my posts. When I decided to use all these technologies was to have a web application. I hope to teach API too. This will be three-part tutorial. I will teach now how we can create and manage the main core. I have been learning vue since I started to code nativescript with typescript.

    1:

    → vue create name_of_the_project

    → choose vuejs3

    → in the end yarn serve

    2:

    → Open the browser and type localhost:8080

    You will see the main project

    Close it with ctrl+c

    3:

    You will need vs code to code all the source files

    After opened create two files on components.

    One called Menu.vue and the other as Footer.vue

    4:

    inside Menu.vue type this lines of code

    <template>

    <header>

    </header>

    </template>

    <script>

    import { defineComponent } from ‘@vue/composition-api’

    export default defineComponent({

    setup() {

    },

    })

    </script>

    <style scoped>

    header {

    background-color: bluebird;

    padding: 10px;

    }

    </style>

    Inside Footer.vue

    <template>

    <footer>

    <p>(C) Copyright Brand 2020</p>

    </footer>

    </template>

    <script>

    import { defineComponent } from ‘@vue/composition-api’

    export default defineComponent({

    setup() {

    },

    })

    </script>

    <style scoped>

    footer {

    background-color: blue;

    padding: 10px;

    }

    </style>

    on the vs code type yarn serve to see what it happens. If shows a few lines to see localhost. You are ready to go. Next article I will teach how to manage components and bootstrap next which is bootstrap 5. This first part is a basic tutorial, not an in-depth tutorial that I have in mind.

    I still have other projects to embrace. I am coding typescript, javascript, and c++ most of the time. I will rather be good at these languages than know a lot of them. It sounds like we are not good at all knowing a lot. I have been working on vue and nativescript since December. Also, I am working with c++ to make my own games which are my hobbies.

    Thanks for reading.

    As a javascript, nodejs, and Unix/Linux developer I will teach how to hack a vuejs3 as a hacking way.

    I started to code vuejs3 in December after coding ecmascript5 and 6 under the hood, besides typescript. Typescript is a superset of the ECMAscript 5 and 6. It’s a transpiling tool. With the management of babel and webpack. Which I will write an article about both.

    To do this we must have part1 done. The majority of things we will hack are on the top of the vuejs3 part 1. If you didn’t do part1 we cannot understand the hacking. But I will explain again part 1 here. Under as a part 2. This part 2 will be delivered as an ebook pdf for kindle and kobo devices. This magazine coder by gleentech delivered by Gleentech Solutions and kreatyve Designs will give techniques about coding and operating systems such as MacOS, FreeBSD and Linux. We will see deployments of those OS’es under Parallels use. I will teach how to manage them with some tutorials under VMs. As a coder, I rather use Parallels Inc instead of Oracle VB and VMWare Inc. These last ones in my opinion are not so optimized for macOS or even Apple structure. So much consumption. This magazine will give some new approaching techniques to optimize your machines, trying to get rid of Kubernetes or even docker-compose. I had some issues with those applications for composing and containerizing them. It made my battery go. So I needed to switch for a new battery around 2 years ago.

    → vue create nameofproject

    → choose vue3 babel / eslint

    → cd nameofproject

    → yarn serve

    I will explain later what is it babel and eslint. These two come as a bundle for yarn serve to debug our web applications.

    This article will teach how to work on vuejs 3 under macOS with the vs code and terminal. Besides I am finishing writing an article about cli, the terminal of POSIX family. POSIX family is the environment for Unix and Linux. Slackware is more POSIX-like than Ubuntu or others. It’s a superuser, power user admin operating system. You need to install everything from the iso from them as a cli shell. You need to install vs code on macOS, I am teaching how to use it on my MBP 2011 but I have also a mac mini from 2015 series. Go to the page of vscode to install the file for macOS.

    Eslint is a javascript tool to debug our own code, we can make npm test or run tests with yarn. Babel tool which we can use to serve our own code basis as a testing and bundler object. We can use it with webpack. For instance, we can run webpack projects with eslint and babel mixed-in.

    When we do

    → yarn build

    We build a ‘dist’ folder with all the website, and components inside to be delivered. With eslint we can test with eval commands to see what is happening with our code. I think the worst scenario is to delete the folder and copy everything into the back. Sometimes when we are learning the worst scenario is to delete all the folders and code everything back on.

    → rm -rf foldername

    → vue create foldername

    → cd foldername

    → yarn serve

    Now I am going to teach how to hack a simple vuejs3 application.

    First of all, type the before commands then follow what I am writing.

    → cd foldername

    → rename HelloWorld.vue to Index.vue

    → <HelloWorld msg=”Welcome to Your Vue.js App”/>

    → rename it to <Home msg=”Welcome to Your Vue.js App”/>

    → <script>

    import Home from ‘./components/Index.vue’

    //import Footer from ‘./components/Footer.vue’

    //import Header from ‘.components/Header.vue’

    export default {

    name: ‘App’,

    components: {

    Home

    }

    }

    </script>

    Under this script rename

    → import HelloWorld from ‘./components/HelloWorld.vue’

    to

    → import Home from ‘./components/Index.vue’

    → yarn serve

    Now you can see a logo and a page.

    Next time we learn how to modify the main component to be seen as a spa application interface.

  • vuejs 3 – Part 1

    Hello, It’s coder by gleentech. Dear readers today I will talk about my vuejs 3 frontend struggles to make a magazine website. I will teach in this first part how to create a project, add a small fragment of Menu and footer components, and the build itself.

    I will show it how I made it on my MBP 2011. First of all, I made already in Python flask all the backend environments. I made a small software to render html and markdown with flask. I can now manage all my posts. When I decided to use all these technologies was to have a web application. I hope to teach API too. This will be three part tutorial. I will teach now how we can create and manage the main core. I have been learning vue since I started to code nativescript with typescript.

    1:

    → vue create name_of_the_project

    → choose vuejs3

    → in the end yarn serve

    2:

    → Open the browser and type localhost:8080

    You will see the main project

    Close it with ctrl+c

    3:

    You will need vs code to code all the source files

    After opened create two files on components.

    One called Menu.vue and the other as Footer.vue

    4:

    inside Menu.vue type this lines of code

    <template>

    <header>

    </header>

    </template>

    <script>

    import { defineComponent } from ‘@vue/composition-api’

    export default defineComponent({

    setup() {

    },

    })

    </script>

    <style scoped>

    header {

    background-color: bluebird;

    padding: 10px;

    }

    </style>

    Inside Footer.vue

    <template>

    <footer>

    <p>(C) Copyright Brand 2020</p>

    </footer>

    </template>

    <script>

    import { defineComponent } from ‘@vue/composition-api’

    export default defineComponent({

    setup() {

    },

    })

    </script>

    <style scoped>

    footer {

    background-color: blue;

    padding: 10px;

    }

    </style>

    On the vs code type yarn serve to see what it happens. If shows a few lines to see localhost. You are ready to go. Next article I will teach how to manage components and bootstrap next which is bootstrap 5. This first part is a basic tutorial, not an in-depth tutorial which I have in mind.

    I still have other projects to embrace. I am coding typescript, javascript and c++ most of the time. I rather be good on these languages than know a lot of them. It sounds like we are not good at all knowing a lot. I have been working on vue and nativescript since December. Also, I am working with c++ to make my own games which are my hobbies.

    Thanks for reading.

  • ringsCE IDE

    Hello,

    It has been a while. I am proud to present ringsCE IDE, a restart from an application with the same name. Coded around 3 years ago. Today, I am proud to share with you the reboot.

    I have been coding, for now, the website and it’s not ready to build up. it’s an embryonic stage.

    I have been coding the 3rd Party stuff and the templates to come as a bundle. We have html5 and CSS templates, c++ or even objective-c templates there also nodejs. I am coding a dmg file structure. I have a lot of things to give this IDE as a qt5 and qt6 ready and really true build.

    Over these 3 years, I have been working on a new build. This IDE is true Xcode openness-based. I want to give a code IDE alternative. It’s been coding on MacOS 10.15 and Monterey besides FreeBSD and airyxos. I am coding on a patch for airyxos too. This application has SDK open-source tools inside and is built on top-notch. I will deliver the Lazarus UI on the same repos. Lazarus UI is based on the www.gleentech.com SPA template. I coded around 5 UI templates.

    The website from github is :

    https://github.com/ringsce

    https://ringsce.github.io

  • AiryxOS on an HP Part 1

    Hello readers. Coder by Gleentech came with a new article. When I read about this new OS to be an openness MacOS gave me a lot of attention.

    After 4 days of managing it I decided to install on my HP 2015 laptop instead of my mbp. I don’t want to mess up my mbp. Today, I have drm-kmod working, a network manager too. 

    What I have done for now?

    I installed it from the airyxos.app from the USB live session. After finishing and after boot I connectd my wired cable.

     

    I done:

    -> sudo portsnap update && sudo portsnap extract

    -> git clone https://vic3t3chn0/networkmgr && cd networkmgr

    -> sudo python3.8 setup.py install

    -> pw groupmod wheel -m username

    -> sudo cp start-network /usr/sbin && sudo chmod +x /usr/sbin/start-network

    -> git clone https://github.com/freebsd/drm-kmod.git

    -> cd drm-kmod && sudo make install clean

     

    I will keep update this topic on live.

     

coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.