Skip to content

Instantly share code, notes, and snippets.

View mgalgs's full-sized avatar
🍔
pizza

Mitchel Humpherys mgalgs

🍔
pizza
View GitHub Profile
package com.mgalgs.trackthatthing;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
// import android.support.v7.app.ActionBarActivity; <-- getting "Cannot resolve symbol"
import android.view.LayoutInflater;
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mgalgs.trackthatthing" >
<uses-sdk android:minSdkVersion="15"></uses-sdk>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
(defun mgalgs/completer ()
(let ((tags-case-fold-search t))
(tags-completion-at-point-function)))
(setq completion-at-point-functions 'mgalgs/completer)
/ {
cpus {
cpu-map {
cluster1 {
core0 {
cpu = <&CPU0>;
};
core1 {
cpu = <&CPU1>;
};
/ {
cpus {
cpu-map {
cluster1 {
core0 {
cpu = <&CPU0>;
};
core1 {
cpu = <&CPU1>;
};
(setq load-path (append '("~/.emacs.d/site-lisp/helm" """~/.emacs.d/site-lisp/helm-swoop") load-path))
(require 'helm)
(require 'helm-config)
(require 'helm-swoop)
(defun is-array-def ()
(save-excursion
(let (end-of-statement (save-excursion (search-forward ";")))
;; it's an array if we find all of the following characters before
;; the next semi-colon: `[={'. Is that good enough??
(and (re-search-forward "\\[" end-of-statement t)
(re-search-forward "=" end-of-statement t)
(re-search-forward "{" end-of-statement t)))))
sudo btrfsck --repair /dev/sda6 1 ↵ ~/kk_3.5
enabling repair mode
Checking filesystem on /dev/sda6
UUID: 03a83a42-0bc7-42a2-bed6-df19c825897c
checking extents
Backref 122643533824 parent 5 root 5 not found in extent tree
Backref 122643533824 parent 123939635200 not referenced back 0x55ef990
Incorrect global backref count on 122643533824 found 2 wanted 1
backpointer mismatch on [122643533824 4096]
repair deleting extent record: key 122643533824 168 4096
[13462.391937] btrfs: device fsid 03a83a42-0bc7-42a2-bed6-df19c825897c devid 2 transid 95625 /dev/sdc
[13462.532136] btrfs: device fsid 03a83a42-0bc7-42a2-bed6-df19c825897c devid 1 transid 95625 /dev/sda6
[13479.393750] btrfs: device fsid 03a83a42-0bc7-42a2-bed6-df19c825897c devid 1 transid 95625 /dev/sda6
[13479.394386] btrfs: disk space caching is enabled
[13479.995184] parent transid verify failed on 625292959744 wanted 95626 found 95625
[13479.995191] btrfs: failed to read log tree
[13480.051334] btrfs: open_ctree failed
[40960.905039] btrfs: relocating block group 13992198144 flags 4
[40973.487485] btrfs: found 253 extents
[41003.930553] btrfs: found 253 extents
[41004.776082] btrfs: relocating block group 8623489024 flags 1
[41105.091263] btrfs: found 36351 extents
[41124.402284] btrfs: found 33738 extents
[41124.926495] btrfs: relocating block group 7549747200 flags 4
[41135.152631] btrfs: found 119 extents
[41146.100826] btrfs: found 119 extents
[41146.524311] btrfs: relocating block group 6476005376 flags 4