Skip to content

Instantly share code, notes, and snippets.

Ali Abdulkadir sgeto

Block or report user

Report or block sgeto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sgeto
sgeto / file-explorer.html
Created Nov 23, 2019 — forked from vinodc/file-explorer.html
Kloudless File Explorer example implementation
View file-explorer.html
<!DOCTYPE html>
<html>
<head>
<title>File Explorer</title>
</head>
<body>
<!--
Throw in the HTML from the JSFiddle's HTML tab here.
The JSFiddle is at http://jsfiddle.net/pseudonumos/PB565/embedded/
-->
@sgeto
sgeto / vmfusion.sh
Created Nov 23, 2019 — forked from vinodc/vmfusion.sh
Shell script to run VMware VM in headless mode.
View vmfusion.sh
#!/bin/sh
# Modified version of:
# http://tech.namshi.com/blog/2015/08/02/vmware-fusion-headless/
# See above for adding `vmrun` to your path.
if [ -z "$vmFile" -a -f *.vmx ]
then
vmFile=`ls *.vmx | head -n 1`
echo "vmFile set to $vmFile."
@sgeto
sgeto / high-sierra-workstation.vmx
Created Nov 20, 2019 — forked from mcandre/high-sierra-workstation.vmx
High Sierra VMware Workstation VMX
View high-sierra-workstation.vmx
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "14"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
@sgeto
sgeto / mikrotik
Created Sep 5, 2019 — forked from morteza-mori/mikrotik
Mikrotik nslookup
View mikrotik
put [resolve google.com server 8.8.8.8]
@sgeto
sgeto / doze_mode_adb_commands.sh
Created Apr 15, 2019 — forked from y-polek/doze_mode_adb_commands.sh
adb commands to test Doze mode
View doze_mode_adb_commands.sh
#! /bin/zsh
# Buttery powered state
adb shell dumpsys battery | grep powered
# Unplug battery
adb shell dumpsys battery unplug
# Reset battery
adb shell dumpsys battery reset
@sgeto
sgeto / AdbCommands
Created Mar 23, 2019 — forked from Pulimet/AdbCommands
Adb useful commands list
View AdbCommands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@sgeto
sgeto / recovery-flags.mk
Created Mar 9, 2019 — forked from zawzaww/recovery-flags.mk
Useful TWRP Recovery flags for building Custom Bootable Recovery
View recovery-flags.mk
# USEFUL TWRP RECOVERY FLAGS
# by ZawZaw @XDA-Developers
# Thanks to : @xda-developers for helps
# Add EXT4 support
TARGET_USERIMAGES_USE_EXT4 := true
# Disable/enable SELinux. Only suggested when you want to enable SELinux support
TWHAVE_SELINUX := true
View Remove-Windows10-Bloat.bat
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
@sgeto
sgeto / external.patch
Created Feb 17, 2019 — forked from flankerhqd/external.patch
Patch on mksh to enable shell command logging into logcat. Rememeber to replace ash to mksh on emulator builds.
View external.patch
diff --git a/Android.mk b/Android.mk
index e53b863..1d3854e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -8,7 +8,6 @@ LOCAL_PATH:= $(call my-dir)
# /system/etc/mkshrc
include $(CLEAR_VARS)
-
LOCAL_MODULE:= mkshrc
@sgeto
sgeto / mirror.py
Created Dec 23, 2018 — forked from yy0c/mirror.py
OpenWrt Setup
View mirror.py
from flask import Flask,send_from_directory
import os
UPLOAD_FOLDER = os.getcwd()
application = app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
@app.route('/snapshots/trunk/ar71xx/packages/')
You can’t perform that action at this time.