- Step 1: Download and install StarUML Version 6 from main website https://staruml.io
- Step 2: Download
app.asar
file from https://drive.google.com/file/d/1_sKvHVL6SebnYF73iZxSWD9l48Pddzvj/view?usp=sharing - Step 3: Copy
app.asar
file download in step 2 (Overrideapp.asar
file)- Window:
C:\Program Files\StarUML\resources
- MacOS:
/Applications/StarUML.app/Contents/Resources/
- Linux:
/opt/StartUML/resources
- Window:
- Step 4: Open StarUML app to use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::borrow::Borrow; | |
use tch::nn::ModuleT; | |
use tch::nn::{self}; | |
use tch::{Kind, Tensor}; | |
#[derive(Debug)] | |
pub struct Dropout { | |
dropout_prob: f64, | |
} |
- iGPU will be used for main display and rendering daily-use softwares in default
- Dedicated GPUs will be used for computing or offload rendering
- Reduce the used VRAM of Dedicated GPU, which is mostly used for X11 server rendering
OS: Ubuntu 18.04.4 LTS
Mainboads
├── iGPU
- Create the GPT partition table
$ parted /dev/sdX mklabel gpt
- Create the UEFI FAT32 partition (which will be
/dev/sdXY
)$ parted /dev/sdX mkpart esp fat32 1MiB 512MiB
$ parted /dev/sdX set 1 esp on
$ parted /dev/sdX set 1 boot on
$ mkfs.fat -F 32 -n UEFI /dev/sdXY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $cursor_size 54 | |
``` | |
# GTK | |
# This is the only place where you must set GTK scaling | |
set $gnome-schema org.gnome.desktop.interface | |
exec_always { | |
gsettings set $gnome-schema gtk-theme 'Matcha-dark-sea' | |
gsettings set $gnome-schema icon-theme 'Numix-Square' | |
gsettings set org.gnome.desktop.interface text-scaling-factor 2.73 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
target="${1:-/opt/sublime_merge/sublime_merge}" | |
check_sha() { | |
local sha_valid |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
my sublime setup for haskell includes:
SublimeHaskell, but with most features disabled. mostly for syntax highlighting.(as was pointed out, it is sufficient to grab the*theme
file and omit the rest of the plugin. And even that is optional.)- for auto-formatting:
- this (slightly modified) external-command plugin: https://github.com/lspitzner/SublimeExternalCommand
- brittany (installed so that is on path)
- the below keybind (you can open the user keybindings in sublime and merge the below)
- you can either select some function and reformat that by pressing
f9
, or select nothing (whole file gets formatted)
- for quick compilation feedback:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a runnable groovy script. | |
* Run with "groovy client.groovy". | |
* | |
* Don't forget to start the server.groovy script first (shown in this gist). | |
*/ | |
import groovy.transform.CompileStatic | |
import groovy.transform.Immutable | |
import groovy.transform.ToString |
NewerOlder