Skip to content

Instantly share code, notes, and snippets.

View widiu7omo's full-sized avatar
🤓
Focused and coding! 🔍💻

Danar Widi widiu7omo

🤓
Focused and coding! 🔍💻
View GitHub Profile
@madkoding
madkoding / get-playstore-in-chormeos-flex.md
Last active February 19, 2025 15:33
Get PlayStore in ChromeOS Flex

Get Play Store in ChromeOS Flex (Unofficial)

Important:

  • Official ChromeOS Flex does not support the Play Store or Android apps.
  • This guide uses unofficial methods (e.g., Brunch + a full ChromeOS recovery image) to achieve Play Store functionality.
  • Success is not guaranteed for all devices; proceed at your own risk.

1. Basic Requirements

@bladeSk
bladeSk / Unity-Linux-VSCode-Intellisense-Debugger.md
Last active October 20, 2024 18:38
How to install Unity3D on Ubuntu based Linux distros (Kubuntu, Xubuntu, POP_OS, Mint, Neon, Zorin, etc.).

How to install Unity3D on Ubuntu based Linux distros (Kubuntu, Xubuntu, POP_OS, Mint, Neon, Zorin, etc.).

This guide details how to install UnityHub, Unity, VS Code and how to get full C# support with IntelliSense and debugging.

Tested on Kubuntu 22.04.

Installing Unity Hub

Unity Hub won't run on Ubuntu newer than 20.04 because it depends on an outdated libssl. We need to manually install the package from 20.04:

@awcodes
awcodes / FilamentServiceProvider.php
Last active September 27, 2023 04:26
Laravel, Vite, SSL Valet with Multiple Tailwind configs
<?php
namespace App\Providers;
use Filament\Facades\Filament;
use Illuminate\Foundation\Vite;
use Illuminate\Support\ServiceProvider;
class FilamentServiceProvider extends ServiceProvider
{
@ibrahimtuzlak0295
ibrahimtuzlak0295 / ubuntu-switch-between-php-versions.md
Created January 31, 2022 10:11
Change default PHP version, Ubuntu (e.g. with ppa:ondrej/php)
$ sudo update-alternatives --config php # and then pick a number from the list
@SomajitDey
SomajitDey / freemium_port_forwarding_services.md
Last active February 28, 2025 07:15
A list of free or freemium services for exposing localhost to internet with a public ip
@prologic
prologic / LearnGoIn5mins.md
Last active February 12, 2025 06:52
Learn Go in ~5mins
@manuelvicnt
manuelvicnt / AnAndroidApp.kt
Last active January 1, 2023 17:05
Hilt and AssistedInject working together in Hilt v2.28-alpha times - ViewModel version
// IMPORTANT! READ THIS FIRST
// Assisted Injection doesn't work with @HiltViewModel or @ViewModelInject
// Read more about the issue here: https://github.com/google/dagger/issues/2287
//
//
// AssistedInject and Hilt working together in v2.28-alpha times
// Example of a ViewModel using AssistedInject injected in a Fragment by Hilt
// As AssistedInject isn't part of Dagger yet, we cannot use in
// conjuction with @ViewModelInject
@theindianappguy
theindianappguy / deploy.yml
Created June 17, 2020 12:59
Github Action WorkFlow to Auto Deploy Flutter Web App to Firebase Hosting and Github Pages.
# This is a basic workflow to help you get started with Actions
name: Build, Release app to Github Pages and Firebase Hosting
# name: Test, Build and Release apk
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
@olegpolukhin
olegpolukhin / Run external Python script in Golang
Last active August 15, 2024 16:18
run external Python script in Golang
package main
import (
"bufio"
"fmt"
"io"
"os/exec"
)
func main() {
@tanaikech
tanaikech / submit.md
Last active January 5, 2025 06:09
Simple Script of Resumable Upload with Google Drive API for Node.js

Simple Script of Resumable Upload with Google Drive API for Node.js

This is a simple sample script for achieving the resumable upload to Google Drive using Node.js. In order to achieve the resumable upload, at first, it is required to retrieve the location, which is the endpoint of upload. The location is included in the response headers. After the location was retrieved, the file can be uploaded to the location URL.

In this sample, a PNG file is uploaded with the resumable upload using a single chunk.

Sample script

Before you use this, please set the variables.