Skip to content

Instantly share code, notes, and snippets.

@Willian-Zhang
Willian-Zhang / tensorflow_1_8_high_sierra_gpu.md
Last active May 12, 2022 04:40
Install TensorFlow 1.8 on macOS High Sierra 10.13.4 with CUDA
@songouyang
songouyang / leetcode.cpp
Last active May 20, 2018 20:20
leetcode.cpp
static const auto _____ = []() {
// toggle off cout & cin, instead, use printf & scanf
ios::sync_with_stdio(false);
// untie cin & cout
cin.tie(nullptr);
return nullptr;
}();
static int x=[](){
std::ios::sync_with_stdio(false);
@geekcui
geekcui / macOS High Sierra 10.13.3 install TensorFlow 1.5.0 with GPU support.md
Last active February 8, 2024 23:24
macOS High Sierra 10.13.3 install TensorFlow 1.5.0 with GPU support

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
@jganzabal
jganzabal / Nvidia Titan XP + MacBook Pro + Akitio Node + Tensorflow + Keras.md
Last active July 10, 2025 15:43
How to setup Nvidia Titan XP for deep learning on a MacBook Pro with Akitio Node + Tensorflow + Keras
@itod
itod / split_keyboards.md
Last active September 23, 2025 07:22
Every "split" mechanical keyboard currently being sold that I know of
@elerch
elerch / arch-usb-uefi.md
Last active October 15, 2025 20:13
Installation of Arch Linux on a USB stick with UEFI and legacy BIOS Support

Our goal here is to have one USB stick to rule them all. Objectives:

  • We want a full system - not a live CD
  • We want to boot this system on a Macbook Pro (requires UEFI)
  • We want to boot this system on a Acer C720 Chromebook (requires Legacy BIOS support)
  • We want the system "functional"

The last bullet is subject to interpretation, but I'm defining functional as:

  • X Windows works (with LXDE)
@aayubkh
aayubkh / huawei_e8372_config.md
Last active August 25, 2025 22:50
Huawei E8372 Linux Configuration and Setup

Dependencies

  1. usb_modeswitch, usb_modeswitch-data
  2. libusb1
  3. libusb-devel(Fedora), libusb-dev(Debian based)

Configuration

By default, your linux box would register your Huawei E8372 as a Mass Storage device and not (somehow) as a modem. First, make sure you have the exace same device we're talking about. This can be confirmed by looking at two values using the following command (while the dongle is plugged in): As an elevated user:

    # lsusb | grep Huawei

KC60 Keyboard end-user tips, tricks, programming notes, etc.

Leimi's note: removed lots of stuff from the original gist of scottjl, (thanks to him by the way!), as in the end some wasn't useful for me. If you are intestered, go check the gist revisions.

The KC60 is kinda like a premade GH60 that was first sold on Massdrop during summer 2015.
It runs on TMK firmware, or something based on it at least (not sure this is the real source for the keyboard but it seems it is), which means it's heavily programmable.
There is a GUI tool (the source of this tool seems to be here) and a command-line tool to ease up the process of programming the board.
**Go check this great article on Key