Skip to content

Instantly share code, notes, and snippets.

View IMSoley's full-sized avatar
💫
Exploring

Md Soleyman IMSoley

💫
Exploring
View GitHub Profile
@IMSoley
IMSoley / NSC.c
Last active June 9, 2019 08:29
Number System Conversion In C (Assignment)
#include <stdio.h>
#include <string.h>
int from, number, to;
long long binNumber;
char hexNum[100], binNum[100];
char options[5][100] = {" ", "Decimal", "Hexadecimal", "Octal", "Binary"};
void selectOption() {
for (int i=1; i<5; i++) {
@IMSoley
IMSoley / Anaconda.sublime-settings
Created February 14, 2019 16:45
Sublime3Settings
{
"swallow_startup_errors": true,
"disable_anaconda_completion": false,
"anaconda_linting": true,
"anaconda_gutter_theme": "retina",
"pep8_ignore":
[
"E309",
"E501"
@IMSoley
IMSoley / KiteSublime.sublime-settings
Last active January 17, 2020 14:33
Sublime_Config
{
"show_help_dialog": false,
"show_popular_patterns": false
}
@IMSoley
IMSoley / dropbearonandroid.md
Created December 17, 2020 09:17 — forked from hamgravy/dropbearonandroid.md
Run an SSH daemon with root console access in Android without rooting

Sometimes you want an Android device on a network. Sometimes that Android device isn't rooted for whatever reason. It's convenient to be able to log into such an Android device's console with root access over the network. Network access can exist over WiFi or Ethernet. There are ssh daemon Android apps out there, but they usually require root. A convenient use-case is logging into your tablet in your backpack under your desk, or on another desk in a remote laboratory.

A great utility for this is dropbear. It's a self-contained binary that implements a stand-alone ssh server with key generation abilities. Once compiled, the binary can be placed on an Android device, will allow the generation of ssh keys and provide root console access over the network.

Get source code and patch it. The patches apply specifically for Android use. Dropbear is obviously suited for most *nix platforms, but Android requires some special modifications.

This is a repository that mirrors the main dropbear repo with the tag that

@IMSoley
IMSoley / History\-10b539e8\entries.json
Last active November 1, 2022 08:35
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///c%3A/Users/Soleyman/Pictures/apidev/app/models.py","entries":[{"id":"L0wr.py","timestamp":1659042361879},{"id":"Ioy6.py","timestamp":1659042375366},{"id":"wp4Z.py","timestamp":1659042465087},{"id":"Bnui.py","timestamp":1659042477325},{"id":"U7oV.py","timestamp":1659042534147},{"id":"AMdZ.py","timestamp":1659042552606},{"id":"6DJJ.py","timestamp":1659042568396},{"id":"NsG0.py","timestamp":1659042593876},{"id":"dSnW.py","timestamp":1659042611616},{"id":"aNgC.py","timestamp":1659043548094},{"id":"Y9ba.py","timestamp":1659043567196},{"id":"LXmw.py","timestamp":1659043704090},{"id":"GBQr.py","timestamp":1659043725306},{"id":"dkcb.py","timestamp":1659043781871},{"id":"W9jM.py","timestamp":1659043817198},{"id":"mE6b.py","timestamp":1659043895555},{"id":"FASH.py","timestamp":1659046513753},{"id":"pPVE.py","timestamp":1659065077036},{"id":"cnKJ.py","timestamp":1659065155463},{"id":"b0sd.py","timestamp":1659065272127},{"id":"cVmf.py","timestamp":1659065307281},{"id":"KCEN.py","timestamp