Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Articles

Pandora Stock Data

Statistical data

First figure shows accumulated trading for Anonymous and the second figure shows the stock price of Pandora DK Stock.

Directory Statistics Linux Terminal

Took me a while to find the perfect command for finding the biggest directory in the linux terminal. I was looking for something similar to the graphical tools like QDirStat and K4DirStat (Directory Statistics). In windows you can achieve this with windirstat.

Use find:

Copy paste images from clipboard drupal

Notes for further investigation.

https://www.drupal.org/project/image_from_word
Drupal 8 https://www.drupal.org/project/ckeditor_uploadimage

React Native

Getting started

http://facebook.github.io/react-native/docs/getting-started.html

Tutorials

https://www.tutorialspoint.com/react_native/

Interesting Free Drupal Themes

2017

2017-07: Top 10 Free Drupal Themes (vardot.com). 

2015

Be inspired by this search on Drupal.org.

Chiang Mai Secret Notes

Places to stay

Cool guesthouse in the old city square: Ban I Lim.

Luxurary house just outside the city square to the south: Baan Sri Dha - Luxury 3Bed in Town

CSV Kit Notes Tips and Examples

Nice thing to use when working with CSV-files is CSV Kit.

See the file statistics: csvstat -e UTF-16 test.csv

Merge all files in a folder: csvstack -e UTF-16 -t *.csv > all.csv

Save column 2 to output .csv: csvcut -c 2 -e UTF-8 all.csv > output.csv

Shutdown Linux Machine At Specific Time

Here is a useful command when you need to shutdown you machine at a specific time of the day. For example after a specific event you needed to log.

shutdown -h hh:mm

Shutdown scheduled for ons 2017-04-12 22:35:00 ICT, use 'shutdown -c' to cancel.

Remark, you can can always cancel the shutdown with "shutdown -c".

Example:

shutdown -h 22:35

Get more info with "shutdown --help".

 

She Feels

She is the brightest star on the sky.
She shines so radiantly that you might go blind if you look at her for too long.
She is not able to control her immense power.

She overwhelms most and consumes many purely by her presence.
She might burn you up if you come too close to the heat and warmth of her core.
She is destined to a specific direction.

Check version of pip installed python package CSVkit

pip show csvkit

Time Stamp in R

How to make a nice time stamp with date and time in R:

now <- strptime(Sys.time(), "%Y-%m-%d%T")
time_stamp <- sprintf("%s", now )

 

SMF php 7

This does not work unfortunately. Waiting for a stable release of 2.1.X which runs php7 and the latest database technology.

Here are the instructions to get SMF 2.0.12 running with PHP 7.

Thanks to sleepycode.com :-D https://sleepycode.com/2016/05/smf-2-0-with-php-7/

Drupal 8 Bootstrap 3 sub theme setup

Here is a quick guide and notes for myself to be able to setup Bootstrap 3 in Drupal 8. :-)

  • Copy the sub-theme from the starterkit in the bootstrap theme folder to the sub-theme folder.
  • Rename all files to the sub-theme name.
  • Copy the info file from the boostrap theme to the sub-theme.
  • Setup the theme in /admin/appearance/settings
Glxgears No Vertical Synchronization

Glxgears is a very simple benchmarking tool for your graphics card.

Running glxgears with no vsync (vertical synchronization) is a great simple way to do a very simple benchmark of your graphical situation when you are testing out drivers on your linux system.

You just run the command: vblank_mode=0 glxgears

Easy way to see current graphics driver in use in Xorg: egrep -i " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log

Downloading Facebook Videos

Downloading videos from Facebook: http://fbdown.net/down.php

I did not succeed with youtube-dl unfortunately.

Nordic Stocks

I enjoy to take money from the rich and give to the less fortunate.

I trade my stocks and shares at NordNet.dk

Here are some cool links you can check out if you want the latest news regarding the Nordic stock markets:

http://www.redeye.se/

http://www.aktienyt.dk/

https://www.americanbulls.com has swedishbulls, danishbulls, finnishbulls, and norwegianbulls too. :-)

Forerunner 910XT Linux downloading files from device
Forerunner 910XT In Linux - Garmin Connect

Holy molly. I thought Garmin would provide a fancy and "updatede" procedure for uploading and/or extracting data from the fancy Garmin 910XT... but no. You need to search for a while before you find the gold. First I thought you could find a garmin connect tool or plugin for Firefox, but that failed completely. Then I narrowed down my search to "forerunner 910xt linux" (without the quotation marks in google). I found some sites that suggested to download a lot of python stuff and get things directly from Git.

Screen Capture In Linux With Audio From Microphone and System Sounds

My random notes regarding screen capture. The screen capture is not hard, and it is not hard to have one source of audio like the microphone. The hard part is to have multiple audio sources, like the microphone and the system sounds.

I use Cheese for the built in webcam capture. Here are the random links:

Design Colors Palette

It is not always easy to find the right design colors for your project. A little cool website that can help you is: http://paletton.com/

 

Import Data From External Source To Drupal

I have a couple of SMF forum sites I wan't to replace with Drupal, but there is a considerable amount of content, why I started to speculate if it could be done programmatically (semi automatic magic). I found a couple of outdated modules for merging data from SMF to PHPBB and then from PHPBB to Drupal. I tried that route once but did not succeed. The thing I would love to see is a transformation of the table data in the SMF database to CSV and then import it with the standard import module for Drupal Migrate.

Pagination

  • First page
  • Previous page
  • …
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Next page
  • Last page

Review Greg on Google

Greg Nowak Google Reviews

 

  • WooCommerce Checkout Blocks: Default by Design, Rollback for Compatibility
  • When Google can call the business, your local data stops being cosmetic
  • Drupal CMS 2.0 Speeds Marketing Site Rebuilds, but It Is Not Autopilot
  • Your OpenAI and Cloudflare Keys Need an Expiry Date
  • Structured Outputs Shift Intake Automation From Prompts to Schema Design
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.