Skip to content

Instantly share code, notes, and snippets.

View codemobiles's full-sized avatar

CodeMobiles codemobiles

View GitHub Profile
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// Material Form Controls
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatNativeDateModule } from '@angular/material/core';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatRadioModule } from '@angular/material/radio';
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
@codemobiles
codemobiles / build_mysql.sh
Last active November 3, 2020 10:00 — forked from huangqiheng/build_mysql.sh
Build and install MySQL 5.1 from source on Ubuntu 18.04
https://programmersought.com/article/99584829847/
# Crontab
@reboot /usr/local/php52/sbin/php-fpm start
#!/bin/bash
# Run as root
yum install make
yum install readline-devel
yum install ncurses-devel
@codemobiles
codemobiles / my_flutter
Last active September 18, 2020 09:00
my_flutter
import 'package:cubit/cubit.dart';
import 'package:equatable/equatable.dart';
import 'package:my_flutter/src/commons/constants.dart';
import 'package:my_flutter/src/utils/StringValidator.dart';
import 'package:shared_preferences/shared_preferences.dart';
part 'login_state.dart';
class LoginCubit extends Cubit<LoginState> {
LoginCubit() : super(LoginInitial());
if self.navigationItem.rightBarButtonItem?.title == "Edit" {
self.navigationItem.rightBarButtonItem?.title = "Done"
self.mTableView.setEditing(true, animated: true)
}else {
self.navigationItem.rightBarButtonItem?.title = "Edit"
self.mTableView.setEditing(false, animated: true)
}
@codemobiles
codemobiles / UXUI
Last active March 12, 2021 09:37
UXUI
https://drive.google.com/file/d/1qBpdAyHuUUXPFuyINESqx3aOhyXNZJ1M/view?usp=sharing
https://zoom.us/j/535327910?pwd=OWh2MExEaXFCTVkzY0EvdUZmM3NhQT09
HPRT Driver : https://drive.google.com/open?id=1JTtKKxRYTcW4TWsbys0bgVlwABjlOg0X
POSPOS Wallpaper : https://drive.google.com/file/d/1F7yJuCJj4Nd8VmUEcYuTRbnV8BMvEzgh/view?usp=sharing
https://drive.google.com/open?id=1zzAl9LEibKaCvnQE5BHHPlaPMj4tSupN
docker run -p 3000:3000 -v [..]:/usr/src/app/upload [0012e2430b33]
docker run --rm -p 3000:3000 -v /Training/ReactNative/Reative_Dist/yourworkshops/YourAuthenDemo/docker_demo/upload:/usr/src/app/upload 0012e2430b33
docker pull chaiyasitt/rn_upload:dev
#Xamarin
https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh