Skip to content

Instantly share code, notes, and snippets.

View medvid's full-sized avatar

Volodymyr Medvid medvid

View GitHub Profile
@jmazzi
jmazzi / pacman.conf
Created January 25, 2011 18:42
How to fix adobe-air apps on Arch Linux x86_64 (Fix Error: HTMLLoader failed to initializeTypeError: Error #1009)
# sync package db
pacman -Sy
# installed bin32 adobe-air, be sure to remove the old one if you already installed it
yaourt -S aur/bin32-adobe-air
# Install the missing libs the AURs should depend on.
pacman -S lib32-libxt lib32-libxtst
@tarruda
tarruda / .README.md
Last active September 27, 2021 13:21
Tmux/Vim integration

Some scripts/configurations that greatly improve tmux/vim workflows. The shell scripts target zsh but should be adaptable without much effort for other unix shells.

Features:

  • Transparently move between tmux panes and vim windows
  • Using the shell, open files in one vim instance per project or directory
  • Fully integrated copy/paste between tmux, vim and x11 using simple keybinds(need to install the xclip program)
  • Easily send text to any tmux pane without breaking your edit workflow(needs slimux

'vim-tmux-move.zsh', '.vimrc' and '.tmux.conf' cooperate so you can move transparently between tmux panes and vim windows using ALT + (arrow keys or jkhl). It was based on this gist

@tylerneylon
tylerneylon / learn.lua
Last active October 22, 2024 01:07
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
@daemox
daemox / 10-monitor.conf
Created August 23, 2013 23:45
/etc/X11/xorg.conf.d/10-monitor.conf for Dual monitor NVIDIA driver setup. Screen1 is rotated and above screen0.
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 325.15 (buildmeister@swio-display-x64-rhel04-03) Wed Jul 31 19:04:13 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 1280
Screen 1 "Screen1" 448 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
@tr3buchet
tr3buchet / debootstrap.md
Last active July 5, 2023 11:26
debian usb debootstrap

make sure any needed utilities are installed

sudo aptitude install debootstrap coreutils util-linux e2fsprogs

get usb device

df -h
@trixpan
trixpan / How-to Arch Linux on Cubieboard 1.md
Last active July 21, 2021 17:10
How to really Arch Linux on Cubieboard 1.... (for the Wiki entry is sort of short of some things)

Intro Notes

I wrote this guide because after getting my CubieBoard 1 I followed the Arch Linux ARM instructions and was suprised to be left with a system that albeit working, had missing RAM and no fbconsole at all.

This guide gets Arch Linux ARM into your 1GB Cubieboard 1 with the minimum functionality one would expect. It is not intended to be an all encompassing document, focusing instead on saving your time having to read through the forum to get functionality that otherwise every other Linux distribution brings out of box.

You will have to adjust these instructions if you have a 512M Cubieboard.

Step 1 - Format disk your SD Card

At a minimum, you need to create the first partition on an SD card to store the bootloader files and kernel uImage. For the root filesystem you can choose to use either a second partition on the SD card, USB or SATA. This guide however only covers SD. Replace instances of /dev/mmcblkX with the appropriate device name registered on your system.

@alirobe
alirobe / reclaimWindows10.ps1
Last active November 15, 2024 12:08
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
@adinata-id
adinata-id / bwtest.txt
Last active July 8, 2024 05:05
Public Bandwith Test Mikrotik
New Bandwith test Publik (Datacenter JKT)
IP Address : 103.161.184.37
username : mid
password : midtest