Skip to content

Instantly share code, notes, and snippets.

@Manouchehri
Manouchehri / vps.md
Last active August 29, 2015 14:22
Setting up OpenVPN VPS

ssh as root

Disable password auth in /etc/ssh/sshd_config

Pick random port

shuf -i 49152-65000 -n 1

Disable root login

@Manouchehri
Manouchehri / gtx460.md
Created May 29, 2015 02:12
Flashing a GTX 460 to a Quadro 4000M

nvflash –index=X –straps 0x7FFC3FC3 0x10006428 0x7FF1FFFF 0x00020000

shuf -i 49152-65000 -n 1
delegated -P63891 SERVER=http SOCKS=localhost:62325
@Manouchehri
Manouchehri / cloud9specs.md
Last active August 29, 2015 14:22
Cloud9 Specifiations (free instance)

lspci -vv

00:01.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 03)
        Physical Slot: 1
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
        Physical Slot: 1
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
<!--
...
-->
<head>
<link href="https://blogger.davidmanouchehri.com/favicon.ico" rel="icon" type="image/x-icon">
<!--
...
-->
</head>
<!--
https://help.ubuntu.com/community/Grub2/ISOBoot#Menuentry_Example
nofb nomodeset vga=normal nosplash
http://squeezehead.com/b/2010/10/disabling-the-ubuntu-framebuff.html
https://askubuntu.com/questions/470613/how-to-avoid-framebuffer-error-in-ubuntu-touch-emulator
@Manouchehri
Manouchehri / info.md
Last active August 29, 2015 14:23
Vi8 Debian

dmidecode

# dmidecode 2.12
# SMBIOS entry point at 0x7bd8a000
SMBIOS 2.7 present.
34 structures occupying 2009 bytes.
Table at 0x7BD89000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
@Manouchehri
Manouchehri / Xorg.0.log
Last active August 29, 2015 14:23
/var/log/Xorg.0.log
[ 3694.133]
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 3694.146] X Protocol Version 11, Revision 0
[ 3694.150] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 3694.159] Current Operating System: Linux Chuwi 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64
[ 3694.159] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=6dba5498-0451-4c1a-8e3c-4131caff6e76 ro nofb nomodeset nosplash vga=normal
[ 3694.172] Build Date: 04 May 2015 11:22:06PM
[ 3694.177] xorg-server 2:1.17.1-2 (http://www.debian.org/support)
[ 3694.181] Current version of pixman: 0.32.6
@Manouchehri
Manouchehri / grub.cfg
Created June 16, 2015 20:35
grub.cfg from debian-testing-amd64-i386-netinst.iso
if loadfont $prefix/font.pf2 ; then
set gfxmode=800x600
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
terminal_output gfxterm
fi
@Manouchehri
Manouchehri / blocklist.url.txt
Last active August 29, 2015 14:23
Useful third party blocklists
https://easylist-downloads.adblockplus.org/fb_annoyances_full.txt
https://easylist-downloads.adblockplus.org/message_seen_remover_for_facebook.txt
https://raw.githubusercontent.com/r4vi/block-the-eu-cookie-shit-list/master/filterlist.txt
http://rickrolldb.com/ricklist.txt