If you are a React Native, NativeScript, Flutter or Ionic developer maybe you don't want to install the entire Android Studio just to have your environment ready. If this is your case, this guide will help you to setup your minimal Android SDK environment in Windows.
- Step 1: Download 7-ZIP and the ASAR plugin from [
https://www.tc4shell.com/en/7zip/asar/
] - Step 2: After installing 7-ZIP create a new folder inside of its install location called
Formats
- Step 3: Extract the
.dll
from one of the folders in the archive (x64 or 32) to theFormats
folder - Step 4: Go to
C:\Users\**YourUsername**\AppData\Local\Discord\app-1.0.9007\modules\discord_desktop_core-1\discord_desktop_core
(Replace**YourUsername**
with your username) - Step 5: Open the
core.asar
file with 7-ZIP and extract its content to a folder of your choice - Step 6: Enter the folder and go to the
app
subdirectory, after that find the file calledmainWindow.js
ormainScreen.js
and open it with a text editor of your choice - Step 7: Go to
line 419
and changeframe: false
toframe: true
, if you can't find that text pressCTRL+F
and search forframe: false
, it should look like the one attached in the screens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:lottie/lottie.dart'; | |
class NotiferChanges<T> { | |
final StreamController<T> _fetchDoneController = StreamController.broadcast(); | |
changeNavigate(T data) { | |
_fetchDoneController.add(data); // send an arbitrary event |
How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.
This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.
Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4
The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.
Session resources for web developers, in order of presentation from the Microsoft Build 2021 "Microsoft Edge: State of the Platform" on-demand session.
- Introducing Web APIs for Dual Screen and Foldable Devices - Microsoft Edge Blog
- Explainer: Web Platform Primitives for Enlighted Experiences on Foldable Devices
- Form Factors Explained (W3C Second Screen Community Group)
- Documentation on Dual Screen Emulation in DevTools
- Microsoft Build 2021: Dual Screen Web Development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This function converts the byte to the corresponding amount, be it kilo, mega, GB, etc. | |
const convertWeightByte = (byte) => { | |
let sizekiloByte = (byte / 1024); | |
let sizeMega = (sizekiloByte / 1024); | |
let sizeGigabyte = (sizeMega / 1024); | |
let sizeTerabyte = (sizeGigabyte / 1024); | |
let sizePetabyte = (sizeTerabyte / 1024); | |
let sizeExabyte = (sizePetabyte / 1024); | |
if(sizekiloByte > 0 && sizekiloByte <= 1024){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a worker that can be deployed in a desperate situation in order | |
// to disable all service worker caching by overwriting the running worker | |
// with a no-op worker. | |
// | |
// Keep it close for when you need it. | |
self.addEventListener("install", () => { | |
// Activate immediately, taking control from any broken service workers | |
self.skipWaiting(); | |
}); |
NewerOlder