Skip to content

Instantly share code, notes, and snippets.

View yogithesymbian's full-sized avatar
🏠
Working from home

Yogi Arif Widodo yogithesymbian

🏠
Working from home
View GitHub Profile
@yogithesymbian
yogithesymbian / mbpm1_report.txt
Created October 24, 2021 10:12
log mbp m1 android studio panic was restarting my mac
panic(cpu 5 caller 0xfffffe0015678af0): "FED err (L1C I-side data parity) on P-core: FAR=0x127e5dce8 FED_ERR_STS=0xf01fe00147b9d40 MMU_ERR_STS=0 ErrDet_Addr: VA=0x1fe00147b9d40"
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 20G165
Kernel version: Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 6304A06696A657F4CF48CC569B129642
Kernel UUID: DA16DC13-5845-3638-9BB4-B14F9AC08E55
iBoot version: iBoot-6723.140.2
secure boot?: YES
@yogithesymbian
yogithesymbian / generate_unique_with_primary_key.sql
Created October 21, 2021 03:21
generate auto number mysql before insert with unique logic concat with primary key
DELIMITER $$
DROP TRIGGER IF EXISTS `auto_number`$$
CREATE TRIGGER `auto_number` BEFORE INSERT on users
FOR EACH ROW BEGIN
SET new.auto_number = CONCAT(new.id, LEFT(UUID(), 8));
END$$
DELIMITER ;
// https://github.com/yogithesymbian/Kotlin-Setup-Starterpackjelly-2021
// model viemodel viewmodelfacotry interface livedata
// soon will publish
// (File Header.java)
/**
* Android Studio Arctic Fox | 2020.3.1 Patch 3
* Build #AI-203.7717.56.2031.7784292, built on October 1, 2021
* Runtime version: 11.0.10+0-b96-7281165 x86_64
* VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
* macOS 11.6
@yogithesymbian
yogithesymbian / ALL_Mime_Type
Last active June 25, 2023 08:45
mime types
{
{".3gp", "video/3gpp"},
{".torrent","application/x-bittorrent"},
{".kml", "application/vnd.google-earth.kml+xml"},
{".gpx", "application/gpx+xml"},
{".csv", "application/vnd.ms-excel"},
{".apk", "application/vnd.android.package-archive"},
{".asf", "video/x-ms-asf"},
{".avi", "video/x-msvideo"},
{".bin", "application/octet-stream"},
@yogithesymbian
yogithesymbian / scratch.dart
Created August 16, 2021 23:31 — forked from angelabauer/scratch.dart
Starting Code for Futures/Async/Await Demo
import 'dart:io';
void main() {
performTasks();
}
void performTasks() {
task1();
task2();
task3();
similiar issue : https://stackoverflow.com/questions/67568375/searching-for-inspections-failed-undefined-method-map-for-nil-nilclass-in-fl , and https://github.com/CocoaPods/CocoaPods/issues/8425
i have try with
```
pod cache clean
pod deintegrate
pod install
```
```
Process: ruby [31132]
Path: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Identifier: ruby
Version: 145.100.1
Code Type: ARM-64 (Native)
Parent Process: zsh [16103]
Responsible: iTerm2 [15883]
User ID: 501
Date/Time: 2021-07-27 03:49:46.271 +0800
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
CocoaPods' output:
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `firebase_auth` from `.symlinks/plugins/firebase_auth/ios`
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
Setup Oracle Database
Oracle Database 12.2.0.1 Setup
Fri Jun 25 07:11:32 UTC 2021
Check parameters ......
log file is : /home/oracle/setup/log/paramChk.log
paramChk.sh is done at 0 sec
untar DB bits ......
log file is : /home/oracle/setup/log/untarDB.log