Skip to content

Instantly share code, notes, and snippets.

@networkelements
networkelements / officeActivator.bat
Created May 22, 2021 09:42
Activate Microsoft Office 2019
@echo off
title Activate Microsoft Office 2019 !
cls
echo ============================================================================
echo #Project: Activating Microsoft software products
echo ============================================================================
echo.
echo #Supported products:
echo - Microsoft Office Standard 2019
echo - Microsoft Office Professional Plus 2019
@networkelements
networkelements / encryptedNixos.md
Created September 8, 2018 06:29 — forked from ladinu/encryptedNixos.md
NixOS install with encrypted /boot /root with single password unlock

Requirements

  1. Encrypt everthing including /boot and /root
  2. Enter password once
  3. Support UEFI

Installation media setup

Download NixOS minimal iso and copy to USB stick. For example on Mac OSX

$ diskutil list
$ diskutil unmountDisk /dev/disk1 # Make sure you got right device
@networkelements
networkelements / nixos.md
Created September 8, 2018 06:05 — forked from martijnvermaat/nixos.md
Installation of NixOS with encrypted root
@networkelements
networkelements / configuration.nix
Created May 13, 2018 15:16 — forked from joedicastro/configuration.nix
My NixOS configuration
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
## DISK CONFIGURATION
imports =
@networkelements
networkelements / rec_radiko.sh
Created February 17, 2018 10:19 — forked from matchy256/rec_radiko.sh
簡易Radiko録音スクリプト
#!/bin/bash
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
playerurl=http://radiko.jp/apps/js/flash/myplayer-release.swf
playerfile="/tmp/player.swf"
keyfile="/tmp/authkey.png"
@networkelements
networkelements / README.md
Created February 5, 2018 05:00 — forked from wnoguchi/README.md
Preseed Recipe: Soft RAID1, LVM

[WIP]Ubuntu Preseed Recipe: RAID1 + LVM

System Requirements

  • Ubuntu Server 16.04.3 LTS AMD64
  • HDD: 3TB x 2 (Software RAID1)
  • Mem: 16GB
  • LVM

References

@networkelements
networkelements / file0.txt
Created October 1, 2017 05:39
FreeBSD をインストールしたらpkgやporstnapを使おうとしてもError Fetchingとなる ref: http://qiita.com/networkelements/items/0bc5ed6a80c57b2bb56f
root@FreeBSD11:~# pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now?[y/N]:y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:adm64/quarterly,please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:11:adm64/quarterly/Latest/pkg.txz: No address record
A pre-built version of pkg could not be found for your system.
Consider changeing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
root@FreeBSD11:~# portsnap fetch

Keybase proof

I hereby claim:

  • I am networkelements on github.
  • I am networkelements (https://keybase.io/networkelements) on keybase.
  • I have a public key ASDyd9G8azpRd2JfJKQHR-mwnPNsG-AgxNip5RtnlKIcVgo

To claim this, I am signing this object:

@networkelements
networkelements / Introduction.md
Created May 18, 2016 16:07 — forked from vvakame/Introduction.md
Haskellの開発環境が出来るまで
@networkelements
networkelements / README.md
Created April 22, 2016 13:43 — forked from akkijp/README.md
NeoBundle installation

Installation

Just run this...

curl https://gist.githubusercontent.com/k4zzk/ddbf5839e3384571b1b9a717f08eaf83/raw/b42ca85b140f9f5ead32e24ed99ae863ceb53544/install_neobundle.sh | sh && \
vim "+NeoBundleInstall"