Skip to content

Instantly share code, notes, and snippets.

View prabowomurti's full-sized avatar
🦋
Working from home

Prabowo Murti prabowomurti

🦋
Working from home
View GitHub Profile
@prabowomurti
prabowomurti / ToggleMute
Created August 13, 2024 16:22
Apple Script to those who don't have a mute button on their microphone
on getMicrophoneVolume()
input volume of (get volume settings)
end getMicrophoneVolume
on disableMicrophone()
set volume input volume 0
display notification "Microphone has been disabled" with title "Muted"
end disableMicrophone
on enableMicrophone()
set volume input volume 100
display notification "Microphone has been enabled" with title "Unmuted"
@prabowomurti
prabowomurti / kata.txt
Created February 7, 2022 08:58
Kata Bahasa Indonesia 5 huruf
"abadi"
"abaka"
"abang"
"abate"
"abawi"
"abaya"
"abbas"
"abdas"
"abdis"
"abdul"
@prabowomurti
prabowomurti / index.js
Created October 15, 2020 05:59
Cloud Function to Stop Instance (NodeJS 8)
/**
* Copyright 2018, Google, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@prabowomurti
prabowomurti / index.js
Created October 15, 2020 05:05
Cloud Function to Start / Stop instance (NodeJS 8)
/**
* Copyright 2018, Google, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
import 'package:retroapp/variables.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:retroapp/lounge_screen.dart';
import 'package:retroapp/sign_in.dart';
import 'package:retroapp/login_screen.dart';
final String setting = 'Setting';
@prabowomurti
prabowomurti / log
Created May 29, 2020 09:25
Build scrcpy on MacOSX Catalina without Homebrew
$ git clone https://github.com/Genymobile/scrcpy
$ cd scrcpy
$ sudo port install ninja meson libsdl2 ffmpeg
laylamajnun:scrcpy sangprabo$ meson x --buildtype release --strip -Db_lto=true
The Meson build system
Version: 0.53.2
Source dir: /Users/sangprabo/Applications/scrcpy
Build dir: /Users/sangprabo/Applications/scrcpy/x
@prabowomurti
prabowomurti / CoreImage.php
Last active February 20, 2019 13:43
CoreImage
<?php
namespace common\components\coremodels;
use Yii;
use yii\base\NotSupportedException;
use yii\web\UploadedFile;
use yii\helpers\FileHelper;
use common\models\Item;
@prabowomurti
prabowomurti / Dota 2 Items
Last active April 26, 2018 09:09
Scrapping Data from dotafire.com
# Items
Aegis of the Immortal
Abyssal Blade
Aeon Disk
Aether Lens
Aghanim's Scepter
Animal Courier
Arcane Boots
Arcane Rune
@prabowomurti
prabowomurti / style.css
Last active July 17, 2018 13:31
Tree Diagram with Multiple Parents
* {
margin: 0 auto;
padding: 0;
text-align: center;
color: black;
font-family: tahoma;
}
.items ul {
padding-top: 20px;
@prabowomurti
prabowomurti / script
Last active June 14, 2016 04:35
How to make a screen capture every x seconds on Mac OSX
while [ 1 ];
do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S);
screencapture -t jpg -x ~/Desktop/screencapture/$vardate.jpg;
sleep 10;
done