Skip to content

Instantly share code, notes, and snippets.

View Gigabyte Aorus - Linux fan
View tic_tac_toe.dart
import 'dart:math';
import 'package:flutter/material.dart';
Color crossColor = const Color(0xFF1ABDD5);
Color circleColor = const Color(0xFFD8B9FA);
Color accentColor = const Color(0xFF90A4AE);
void main() => runApp(MyApp());
tberghuis / fix bluetooth mouse
Created October 14, 2019 06:19
fix bluetooth mouse
View fix bluetooth mouse
You have to edit the following file:
sudo nano /var/lib/bluetooth/<MAC of BT adapter>/<MAC of BT Mouse>/info
At the end of the file, add the section:
View mint resize swap
sudo swapoff -a
# 10G
sudo dd if=/dev/zero of=/swapfile bs=1024 count=10240k
sudo mkswap /swapfile
sudo chown root:root /swapfile
tberghuis / android studio setup 18.04.txt
Last active February 3, 2019 04:45
android studio setup 18.04
View android studio setup 18.04.txt
# install kvm
sudo apt install qemu-kvm
# add user to kvm group
sudo adduser [YOUR_LOGIN] kvm
# install libraries
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
# download and extract zip from android studio website
tberghuis / !media play pause
Last active January 15, 2019 22:08
media play pause
View !media play pause
using xbindkeys and xdotool
View android dev setup.txt
android studio, wifi adb connect
i can use keyboard and mouse on device with deskdock app
******** Android Studio **********
Editor - General - Code Completion - case sensitive completion - None
# 1280 * 800
# should i research the effect of the refresh rate....
# gtf 800 1280 60
View vscode setup
**user settings**
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
"editor.suggestOnTriggerCharacters": false,
"editor.parameterHints": false,
# set to google temporily
echo "nameserver" | sudo tee /etc/resolv.conf