Skip to content

Instantly share code, notes, and snippets.

View CristiFati's full-sized avatar

Cristi Fati CristiFati

  • Cluj-Napoca, Romania
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 26, 2025 10:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ernestkamara
ernestkamara / AdbCommands
Created June 26, 2018 08:42 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@clalancette
clalancette / ziptest.cc
Last active January 26, 2025 20:34
libzip example to create archive
// Copyright (c) 2018, Chris Lalancette
//
// 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 disclaimer in the
@applenob
applenob / load_from_pb.py
Last active April 26, 2023 18:37
Load tensorflow model from frozen pb file.
# coding=utf-8
import tensorflow as tf
def get_session():
"""load a new session"""
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
return tf.Session(config=config)