This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ------------------------------------------------------------------------- | |
% | Attenuation Coefficient Calculator | | |
% | ================================== | | |
% | Olli Vanhoja | | |
% | 2010-08-26 | | |
% ------------------------------------------------------------------------- | |
clear all | |
close all | |
close all hidden | |
clc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ------------------------------------------------------------------------- | |
% | Transmission Coefficient Calculator | | |
% | =================================== | | |
% | Olli Vanhoja | | |
% | 2010-08-26 | | |
% | | |
% e_r1 e_r2 | | |
% mu_r1 mu_r2 | | |
% | | |
% P_in | tau | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ------------------------------------------------------------------------- | |
% | Skin Depth Calculator | | |
% | ===================== | | |
% | Olli Vanhoja | | |
% | 2010-08-26 | | |
% | | |
% e_r1 e_r2 | | |
% e_ri1 e_ri2 | | |
% mu_r1 mu_r2 | | |
% | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launchctl unload /System/Library/LaunchAgents/com.apple.notificationcenterui.plist | |
sudo mv /System/Library/LaunchAgents/com.apple.notificationcenterui.plist /System/Library/LaunchAgents/com.apple.notificationcenterui.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write -g ApplePressAndHoldEnabled -bool false | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d8f85b3eeff44c31d21e987a4494ee1f8299322d Mon Sep 17 00:00:00 2001 | |
From: Olli Vanhoja <[email protected]> | |
Date: Tue, 1 Apr 2014 18:03:56 +0300 | |
Subject: [PATCH] Add a new errno: EMACS - Editor too big. | |
Make a best-effort to detect that Emacs is about to executed and return the error. | |
--- | |
fs/exec.c | 13 ++++++++++++- | |
include/uapi/asm-generic/errno.h | 2 ++ | |
2 files changed, 14 insertions(+), 1 deletion(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/share/ngfd/events.d/email.ini | |
[email => play.mode=short] | |
sound.profile = im_fg.alert.tone@general => sound.filename | |
sound.stream.event.id = event-in-call | |
#ffmemless.effect = NGF_SHORT | |
sound.stream.module-stream-restore.id = x-meego-ringing-volume | |
mce.led_pattern = PatternCommunicationEmail | |
#haptic.type = alarm | |
[email => play.mode=*,context@call_state.mode=active] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 8 = | |
keycode 9 = Escape NoSymbol Escape | |
keycode 10 = 1 exclam 1 exclam NoSymbol exclamdown | |
keycode 11 = 2 quotedbl 2 quotedbl at rightdoublequotemark at | |
keycode 12 = 3 numbersign 3 numbersign sterling guillemotright sterling | |
keycode 13 = 4 currency 4 currency dollar guillemotleft dollar | |
keycode 14 = 5 percent 5 percent U2030 leftdoublequotemark U2030 | |
keycode 15 = 6 ampersand 6 ampersand singlelowquotemark doublelowquotemark singlelowquotemark | |
keycode 16 = 7 slash 7 slash braceleft NoSymbol braceleft | |
keycode 17 = 8 parenleft 8 parenleft bracketleft less bracketleft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stddef.h> | |
#include <stdint.h> | |
struct node { | |
int x; | |
struct node * next; | |
}; | |
void print(struct node * head) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% groups | |
docker | |
% docker run --privileged=true --volume /:/root -it ubuntu sh | |
# ls root | |
bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv swapfile sys tmp usr var |
OlderNewer