Skip to content

Instantly share code, notes, and snippets.

@0x414c
0x414c / pacman.log
Created January 31, 2017 13:59
pacman.log@31Jan17
[2016-10-25 11:31] [PACMAN] Running 'pacman -Syu --root /tmp/newmsys/msys64'
[2016-10-25 11:31] [PACMAN] synchronizing package lists
[2016-10-25 11:31] [PACMAN] starting core system upgrade
[2016-10-25 11:31] [PACMAN] starting full system upgrade
[2016-10-25 11:31] [PACMAN] Running 'pacman -S --noconfirm --root /tmp/newmsys/msys64 base'
[2016-10-25 11:32] [ALPM] transaction started
[2016-10-25 11:32] [ALPM] installed msys2-runtime (2.6.0-1)
[2016-10-25 11:32] [ALPM] installed bash (4.3.046-1)
[2016-10-25 11:32] [ALPM] installed bash-completion (2.3-1)
[2016-10-25 11:32] [ALPM] installed gcc-libs (5.3.0-3)
#!/usr/bin/env bash
PATH="${PATH}:${PROGRAMFILES}/nodejs"
# base_style='v-a-singlestorey v-g-singlestorey v-zero-dotted v-tilde-high v-asterisk-high v-underscore-low v-paragraph-high v-m-shortleg v-caret-high v-at-short v-eszet-sulzbacher v-brace-curly'
# base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted'
base_style='v-a-singlestorey v-g-singlestorey v-m-shortleg v-t-standard v-q-straight v-zero-dotted v-tilde-high v-asterisk-high v-paragraph-high v-caret-high v-underscore-high v-at-short v-eszet-sulzbacher v-brace-curly v-dollar-open v-numbersign-slanted v-three-flattop'
sans_style='v-l-italic v-i-italic'
slab_style='v-l-serifed v-i-serifed'
#!/usr/bin/env bash
source_dir='Halide'
build_dir='halide_build'
if [[ -d "${source_dir}" ]]; then
cd "${source_dir}"
git pull
cd ..
else
tree -a --timefmt '%FT%T%z' -Q -h -D -F --dirsfirst
<scheme name="XC++" version="142" parent_scheme="Default">
<metaInfo>
<property name="created">2016-12-11T20:24:33</property>
<property name="ide">CLion</property>
<property name="ideVersion">2016.3.0.0</property>
<property name="modified">2016-12-22T14:32:02</property>
<property name="originalScheme">Default</property>
<property name="rainbow Default language">true</property>
</metaInfo>
<option name="LINE_SPACING" value="0.92" />
class IOUtils {
static readFile (path = "input.json") {
return new Promise ((resolve, reject) => {
fs.readFile (path, { encoding: "utf8", flag: "r" }, (err, data) => {
if (err !== null) {
reject (err);
} else {
resolve (data);
}
});
<!doctype html>
<html>
<head>
<title>Menu (#3.c)</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="menu.css">
<script src="menu.js" defer></script>
<script src="index.js" defer></script>
</head>
<scheme name="XC++" version="142" parent_scheme="Default">
<metaInfo>
<property name="created">2016-12-11T20:24:33</property>
<property name="ide">CLion</property>
<property name="ideVersion">2016.3.0.0</property>
<property name="modified">2016-12-11T20:34:47</property>
<property name="originalScheme">Default</property>
</metaInfo>
<option name="LINE_SPACING" value="0.92" />
<option name="EDITOR_FONT_SIZE" value="12" />
# - Find dxguid
# Find the dxguid libraries
#
# DXGUID_LIBRARIES - List of libraries
# DXGUID_FOUND - True if dxguid found.
find_library(DXGUID_LIBRARY
NAMES dxguid
PATHS "C:\\Program Files (x86)\\Windows Kits\\10\\Lib\\10.0.14393.0\\um\\x64"
)
#include <cstddef> // std::size_t
#include <cstdint> // std::{uint8_t, int64_t}
#include <cstdlib> // EXIT_SUCCESS
#include <algorithm> // std::{max_element, max}
#include <array> // std::array
#include <limits> // std::numeric_limits
#include <ostream> // std::ostream
#include <iostream> // std::clog
#include <map> // std::map