- Ethernet: N/A
- Wifi: No (had to use USB WiFi dongle)
- Video: Yes
- HDMI: Don't know
- ZZZ: No, did not hibernate, hung
- zzz: Yes. Suspended and resumed properly. Had to manually run netstart to start network after resuming.
- Headphones: No sound
- Mic: No
- Speakers: No sound
- LCD backlight: Yes (but only at 100%)
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
diff --git a/PKGBUILD b/PKGBUILD | |
index e890744..224afed 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -7,6 +7,7 @@ arch=('i686' 'x86_64') | |
url="https://github.com/tummychow/git-absorb" | |
license=('BSD') | |
depends=( | |
+ 'libgit2' | |
) |
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
rustc --version | |
rustc 1.31.1 (b6c32da9b 2018-12-18) | |
cat src/main.rs | |
fn main() { | |
println!("Hello, world!"); | |
} | |
cargo build | |
Compiling binsize v0.1.0 (/tmp/binsize) | |
Finished dev [unoptimized + debuginfo] target(s) in 0.81s | |
du -h target/debug/binsize |
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
use std::collections::HashMap; | |
use serde::ser::{Serialize, SerializeStruct}; | |
#[derive(Default)] | |
pub struct Object { | |
pub context: Context, | |
pub id: String, | |
// type to be defined by sub-type? Or have a big enum for it? | |
pub attachment: Option<String>, |
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
[ | |
{ | |
"enabled": false, | |
"iconPath": ":google", | |
"name": "Google", | |
"trigger": "gg ", | |
"url": "https://www.google.com/search?q=%s" | |
}, | |
{ | |
"enabled": false, |
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
#!/bin/sh | |
# Run this to generate all the initial makefiles, etc. | |
#name of package | |
test "$PKG_NAME" || PKG_NAME=Package | |
test "$srcdir" || srcdir=. | |
# default version requirements ... | |
test "$REQUIRED_AUTOMAKE_VERSION" || REQUIRED_AUTOMAKE_VERSION=1.11.2 | |
test "$REQUIRED_AUTORECONF_VERSION" || REQUIRED_AUTORECONF_VERSION=2.53 |
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
# This will open files at the specified line in vim if the last argument | |
# matches filename:line. E.g. app/models/user.rb:123 | |
function v() { | |
last_arg="${@: -1}" | |
parts=("${(s/:/)last_arg}") | |
file=$parts[1] | |
line_number=$parts[2] | |
if [[ $line_number -gt 0 ]]; then |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>SLACK</appname> | |
<equal>com.tinyspeck.slackmacgap</equal> | |
</appdef> | |
<item> | |
<name>Slack Customisation</name> |
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
require 'active_support/core_ext/array' | |
items = ["African", "Ambient", "Asian", "Avant-garde", "Blues", "Breakbeat", "Caribbean", "Comedy", "Country", "Disco", "Downtempo", "Drum & Bass", "Easy listening", "Electro", "Electronic", "Folk", "Hardcore", "Hardstyle", "Hip hop", "House", "Industrial", "Jazz", "Jungle", "Latin", "Pop", "R&B", "Rock", "Soul", "Techno", "Trance"] | |
letters = ('a'..'z') | |
puts letters.to_a.map(&:upcase).join(' ') | |
last_letter = '`' # ` is the char before 'a' | |
items.in_groups_of(2).each do |group| | |
next_letter = group.compact.map { |item| item[0].downcase }.last |
NewerOlder