Skip to content

Instantly share code, notes, and snippets.

View okitavera's full-sized avatar
🏖️
Hiatus (kind of)

Nanda Oktavera okitavera

🏖️
Hiatus (kind of)
View GitHub Profile
@okitavera
okitavera / Youtube-mp3-converter.user.js
Last active September 28, 2023 18:37
Convert Youtube video to MP3 using ThatMP3.com
// ==UserScript==
// @name Youtube MP3 Converter
// @namespace www.thatmp3.com
// @description Convert YouTube to MP3 with album art & ID3 tags automatically fixed!
// @include https://www.youtube.com/*v=*
// @version 0.1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant unsafeWindow
// ==/UserScript==
@okitavera
okitavera / SimpleClosersJPBypasser.vbs
Created September 19, 2016 07:47
Simple VBScript dialog for bypassing Closers JP. Get Keys inspector from here https://greasyfork.org/en/scripts/23313-closers-jp-hash-inspector
Const segaKey = "abcdefghijklmnopqrstuvwxyz"
Const clsDir = "D:\sega\CLOSERS"
int respShell
set objShell = CreateObject("Shell.Application")
logDir = clsDir & "\Log"
respShell = MsgBox("Open Patcher ? (Yes = Open Patcher, No = Open Closers)", vbYesNoCancel + vbQuestion + vbDefaultButton3, "CLSJPSL")
DeleteFolder logDir
# Disable the DiagTrack service
Get-Service DiagTrack |
Stop-Service -Verbose -PassThru |
Set-Service -StartupType Disabled -Verbose
# Disable compattelrunner.exe launched by scheduled tasks
'Microsoft Compatibility Appraiser',
'ProgramDataUpdater' | ForEach-Object {
Get-ScheduledTask -TaskName $_ -TaskPath '\Microsoft\Windows\Application Experience\' |
Disable-ScheduledTask
@okitavera
okitavera / mixer_paths.xml
Last active October 11, 2017 03:47
screamyskrillex's patched wcd9326 mixer_paths for kenzo (Redmi Note 3 Pro)
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015-2016, The Linux Foundation. All rights reserved -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
@okitavera
okitavera / X550IU FreeSync enabler.bat
Created October 13, 2017 23:33
Customized monitor DRR's vendor data to Fix FreeSync issue on ASUS X550IU
@echo off
NET SESSION >nul 2>&1
IF %ERRORLEVEL% EQU 0 GOTO install_mod
echo Run As Administrator to make this script works.
pause
goto:eof
:install_mod
echo :: Finding the right registry key
reg query HKLM\SYSTEM\CurrentControlSet\Control\Class /F "AMD Radeon R7" /s | Find "HKEY" | Findstr /vi "Settings" > %TEMP%\R7REGKEY.TXT
@okitavera
okitavera / userChrome.css
Created January 24, 2018 12:09
Custom userChrome.css for firefox 57 for auto-hiding the navigation bar and bookmark bar
/* Auto-hide toolbar */
:root[uidensity=compact] #navigator-toolbox {
--nav-bar-height: 33px;
}
:root:not([uidensity]) #navigator-toolbox {
--nav-bar-height: 39px;
}
:root[uidensity=touch] #navigator-toolbox {
@okitavera
okitavera / material-colors.json
Created January 26, 2018 15:22 — forked from kawanet/material-colors.json
Material Design Style Color Palette as JSON
{
"red": {
"50": "#ffebee",
"100": "#ffcdd2",
"200": "#ef9a9a",
"300": "#e57373",
"400": "#ef5350",
"500": "#f44336",
"600": "#e53935",
"700": "#d32f2f",
@okitavera
okitavera / userChrome.css
Created January 27, 2018 16:51
My Current userChrome.css
/* Auto-hide toolbar */
:root[uidensity=compact] #navigator-toolbox {
--nav-bar-height: 33px;
}
:root:not([uidensity]) #navigator-toolbox {
--nav-bar-height: 39px;
}
:root[uidensity=touch] #navigator-toolbox {
/*
my indicator in lightdm-gtk-greeter.conf
indicators = ~host;~power;~spacer;~~Arch Linux;~spacer;~session;~clock
*/
@define-color bg rgba(20, 45, 50, 0.9);
@define-color bg_darken rgba(20, 45, 50, 0.75);
@define-color clear rgba(0, 0, 0, 0);
@define-color bg_alt #b13041;
masuk ke mode root:
# sudo su
masuk ke folder www
# cd /var/www
buat folder nya (contoh cobaweb) :
# mkdir /var/www/cobaweb.com
buat file index.html nya :