Blog: Settings

博客

Add a new blog
August 24

Flutter Layout Cheat Sheet

view for detail: https://medium.com/flutter-community/flutter-layout-cheat-sheet-5363348d037e  ...

July 31

Flutter - main

import 'package:flutter/material.dart'; //3rd party import 'package:findiss/Helper/Constants.dart'; import 'package:findiss/pages/home.dart'; void main() { return runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( title: Constants.APPTITLE, theme: new ThemeData( primaryColor: Colors.pink ), ...

July 22

Updating App To AppStore

Step 1: Select on the app you want to update and click on 'VERSION OR PLATFORM' Step 2: A pop-up will appear enter the version of the updated app you want to submit (Optional: version must match the version you put it the xCode) Step 3: Enter an information on what's new on this version and click 'save' Step 4: Choose a build then click 'save'. (new...

July 13

Flutter notes

1. setup coding env. for Andriod & iOS Anrioid download Android stuidio and install it: https://developer.android.com/studio  and download for Flutter for Mac: https://flutter.dev/docs/get-started/install/macos   (tip: you might want to use https://code.visualstudio.com/docs/?dv=osx for IDE) iOS note: you might have to run to get your code for xocde: $  sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer $ sudo xcodebuild -license Set up the iOS simulator $ open -a Simulator Ensure that homebrew is up to date: brew update brew install --HEAD usbmuxd brew link...

May 28

Tips for linux/ubuntu 'du' for hidden files

du -sch .[!.]* * |sort -h ...

May 13

Use /etc/hosts to direct wildcard domain name

You need to set up a DNS server. (install dnsmasq (is light) or bind (is rather heavy)). To install... Ubuntu OS: sudo apt-get install dnsmasq In /etc/NetworkManager/dnsmasq.d/dnsmasq-localhost.conf and address=/localhost.com/127.0.0.1 restart sudo /etc/init.d/dnsmasq restart with Mac OS: Install dnsmasq brew update # Always update Homebrew and the formulae first brew install dnsmasq sudo brew services start dnsmasq sudo brew services start dnsmasq Configure dnsmasq Its default configuration file is located at /usr/local/etc/dnsmasq.conf and contains examples of...

May 5

Fast and easy way to create free logo online in minutes

1. Use https://logojoy.com to create your ideal logo (you don't need to buy it from them). 2. get your SVG code and paste into any html page. 3. use SVG to PNG tool online with https://ezgif.com/svg-to-png by copying your SVG code url into the SVG to PNG tool online to download your PNG file. All free, and you will have your free logo in minutes if you...

April 17

Remove or revoke DB access or privileges from mysql user both local and remote

Remove or revoke DB access or privileges from mysql user both local and remote: REVOKE ALL PRIVILEGES ON *.* FROM 'plugins_dbuser'@'localhost'; REVOKE ALL PRIVILEGES ON *.* FROM 'plugins_dbuser'@'%'; ...

April 15

Update a column value, replacing part of a string

here is how we can replace partial of the string on all rows in MySQL:  UPDATE my_table_name SET my_field_name = REPLACE(my_field_name, 'unwanted-string', 'new-string'); ...

Experteer's Scripting: Coding - Experts Only
Send us a message. We will reply as soon as we can.
×