Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
set -eux
git clone https://github.com/andsens/homeshick "${HOME}/.homesick/repos/homeshick"
homeshick_bin="${HOME}/.homesick/repos/homeshick/bin/homeshick"
homeshick="${homeshick_bin} --force --verbose"
yes | $homeshick clone ivan-c/dotfiles
# Clone castle that requires symlinks, even if disabled by user
@ivan-c
ivan-c / FE3542FE-C1D3-4EF8-657C-8048606FF670 IFR.txt
Created September 23, 2016 23:25
Sony Vaio SVT13116FXS BIOS Setup IFR
UEFI Protocol Detected
--------------------------------------------------------------------------------
String Packages
--------------------------------------------------------------------------------
Offset: Language:
--------------------------------------------------------------------------------
0x1F7EC en-US
0x2E72D fr-FR
#!/bin/sh
set -euxo pipefail
# docker install script for debian
# https://docs.docker.com/engine/installation/linux/docker-ce/debian/
apt-get update
apt-get install --yes --no-install-recommends \
apt-transport-https \
@ivan-c
ivan-c / install_composer.sh
Created March 6, 2018 07:39
install composer
#!/bin/sh -e
COMPOSER_SCRIPT_VERSION="${COMPOSER_SCRIPT_VERSION:-a68fc08d2de42237ae80d77e8dd44488d268e13d}"
wget "https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_SCRIPT_VERSION}/web/installer"
php installer \
--filename composer \
--install-dir "$HOME/bin" \
--version 1.4.1
@ivan-c
ivan-c / build-git.sh
Last active August 29, 2023 03:38 — forked from LaggAt/build-git.sh
compile git with openssl instead of gnutls
#!/usr/bin/env bash
# original gist from pescobar/build-git.sh
# changes by LaggAt:
# * to be usable on Raspbian / tested RPi3 and
# * for automatic depency resolving
# Clear out all previous attempts
rm -rf "/tmp/source-git/"
# Get the dependencies for git, then get openssl
@ivan-c
ivan-c / .gitmodules
Created September 7, 2018 05:57 — forked from 0xcaff/0_README.md
OpenVPN, rTorrent and Flood Docker Compose Configuration
[submodule "wait-for"]
path = wait-for
url = https://github.com/Eficode/wait-for
@ivan-c
ivan-c / idchanger.c
Created October 30, 2018 17:42 — forked from imasaru/idchanger.c
Program derived from AR5k posted some time ago to overwrite regional domain code set in Atheros adapters, and repurposed to modify EEPROM addresses. Found at dagarlas.org. Thanks, Mr. Davide!
/*
* This program is derived from code bearing the following Copyright(s)
/* -*- linux-c -*-
* _ _ ____ __ _ ___ ____ ____ __ _ _ _ _ |
* . \/ |--| | \| | |--< [__] | \| | _X_ | s e c u r e s y s t e m s
*
* .vt|ar5k - PCI/CardBus 802.11a WirelessLAN driver for Atheros AR5k chipsets
*
* Copyright (c) 2002, .vantronix | secure systems
@ivan-c
ivan-c / bootstrap-ansible.sh
Last active February 7, 2020 03:38
Ansible bootstrapping script; Install ansible and prerequisites; `wget --content-disposition https://git.io/fjOm2 `
#!/bin/sh
set -e
cmdname="$(basename "$0")"
usage() {
cat << USAGE >&2
Usage:
$cmdname [-h] [--help]
-h
#!/bin/sh
# support 1440p on Dell U2713HM over HDMI, albiet at 30hz
# add 1440p @ 30hz profile to HDMI interface
xrandr --newmode "2560x1440_30.00_rb2" 115.71 2560 2568 2600 2640 1440 1447 1455 1461 +hsync -vsync
xrandr --addmode HDMI-1 "2560x1440_30.00_rb2"
@ivan-c
ivan-c / .gitignore
Last active July 28, 2020 05:56
debootstrap script for rpi4
*.img