Skip to content

Instantly share code, notes, and snippets.

@michel-zimmer
Last active April 11, 2016 13:03
Show Gist options
  • Save michel-zimmer/83f8a823d0f04b1f2381 to your computer and use it in GitHub Desktop.
Save michel-zimmer/83f8a823d0f04b1f2381 to your computer and use it in GitHub Desktop.

Packages

Core packages

gnome-core xorg

Basic packages

htop texlive-full vlc libreoffice xca keepassx indicator-cpufreq git git-flow gitg file-roller gnome-shell-extensions gnome-tweak-tool software-properties-common flashplugin-installer xdg-user-dirs-gtk transmission-gtk

Sublime text

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Package control

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

Sugested packages

  • ApplySyntax
  • BracketHighlighter
  • Emmet
  • FindKeyConflicts
  • Git
  • GitGutter
  • Seti_UI
  • Seti_UX
  • SideBarEnhancements
  • SublimeLinter
  • SublimeLinter-annotations
  • SublimeLinter-contrib-eslint
  • SublimeLinter-contrib-sass-lint
  • SublimeLinter-contrib-scss-lint
  • SublimeLinter-html-tidy
  • SublimeLinter-json
  • SublimeLinter-rubocop
  • SublimeLinter-ruby
  • SublimeLinter-shellcheck
  • TypeScript

Suggested settings

{
	"caret_extra_bottom": 3,
	"caret_extra_top": 3,
	"caret_extra_width": 2,
	"color_scheme": "Packages/Seti_UX/Seti.tmTheme",
	"font_size": 9,
	"highlight_line": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"overlay_scroll_bars": "enabled",
	"theme": "Seti.sublime-theme",
	"update_check": false
}

Java

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer oracle-java7-installer oracle-java8-installer oracle-java8-set-default

Minecraft

sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer

Extra packages

apt-file p7zip-full p7zip-rar gimp inkscape imagemagick pdfmod

ADK on 64bit

sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

Sound

zynaddsubfx rosegarden fluid-soundfont-gm qsynth

Commands

midi

timidity -iA -B2,8 -Os1l -s 44100

bluetooth audio

# reset bluetooth
hciconfig piscan
sudo hciconfig hcix reset
pacmd load-module module-bluetooth-discover

# connect
hcitool scan
bluez-test-audio connect xx:xx:xx:xx:xx:xx

# set audio mode
pactl list cards short
pactl set-card-profile x a2dp

wifi

iwconfig
sudo airmon-ng start wlan0
sudo airodump-ng mon0
sudo reaver -i mon0 -b MAC -vv -a

Stuff

Parameters for a minecraft server on Java 8

-Xmn2G -Xss4M -Xms4G -Xmx4G -XX:+UseLargePages -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -Djava.net.preferIPv4Stack=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment