Skip to content

Instantly share code, notes, and snippets.

View blackvitriol's full-sized avatar
👨‍💻
creating AGI...

Ahmad M. blackvitriol

👨‍💻
creating AGI...
View GitHub Profile
@bizz84
bizz84 / tab_bar_navigation_flutter.dart
Created October 12, 2021 09:29
Programmatic TabBar navigation in Flutter
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@GhostofGoes
GhostofGoes / mac_addrs.py
Last active November 13, 2023 13:00
Get MAC addresses using a variety of Python packages.
# **************************************
# ** Get MAC address of a remote host **
def arpreq_ip(ip):
# type: (str) -> Optional[str]
import arpreq
return arpreq.arpreq('192.168.1.1')
def scapy_ip(ip):
# type: (str) -> str
"""Requires root permissions on POSIX platforms.
@pat-coady
pat-coady / humanoid.ipynb
Last active February 16, 2018 00:05
OpenAI Gym Humanoid
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.