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 / 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"
@networkelements
networkelements / gist:e8d81877bdba528df6ec
Created February 21, 2016 02:51 — forked from tanakh/gist:8750952
なぜ我々はHaskellを使うのか

スタートアップ企業 Silk が、Haskellを採用した理由。

http://engineering.silk.co/post/31920990633/why-we-use-haskell

As a newly started company, we have a lot of technical decisions to make. One of the important ones is the choice of a programming language. Since we’re building a web application, this goes for both the client (i.e. the web browser) and the server.

新しく始めた会社として、我々はたくさんの技術的決定を行わなければなりません。中でも重要なのは、プログラミング言語の選択です。我々はウェブアプリケーションを作っていたので、この選択がクライアント(Webブラウザなど)とサーバの両方で必要になります。

On the client, there wasn’t much discussion. Javascript is the only viable choice, unless you want to use Flash or similar plugin-based models. But on the server, we had more freedom. Popular choices for web applications are dynamically typed languages like Ruby, Python and PHP, and statically typed languages like Java and C#.

@networkelements
networkelements / last_of_opera_wiki.md
Created February 4, 2016 14:25 — forked from makotom/last_of_opera_wiki.md
Opera Wiki の最期

Opera Wiki の最期

訳合って Opera と私に関することをまとめていたときにふと Opera Wiki 遺跡 が目に留まったので, さらっとまとめる気になった. Opera Wiki 1周忌ということもあるので, 回顧の意味も含めて書いてみる.

ここで主に書きたいことは,

  • Opera Wiki の晩年は集団管理体制だったということ.
  • Opera Wiki の終了は主に私の判断だったということ.

Opera Wiki はどのようにして私のところに来たのか

Opera Wiki を私に引きついだのは @amatanoyo である. これは種々の記録から2011年5月の頭のことであることが分かっている. (*1) 実は, Opera Wiki を引き継いだ時点で, opera-wiki.com ドメインは, Wiki を @amatanoyo が, 2ちゃんのログを @crckyl がメンテしているという状態だった. データを引き継ぐときも, FTP のアクセス権限を @crckyl にも当てるのを忘れないようにとの注意喚起が @amatanoyo からあった. また, MediaWiki 上では, 何人か管理者権限を持っているユーザーがいた.