Skip to content

Instantly share code, notes, and snippets.

@Nepoxx
Nepoxx / journal.log
Created October 30, 2018 14:31
black screen boot
-- Logs begin at Thu 2018-10-25 14:44:55 EDT, end at Tue 2018-10-30 10:26:29 EDT. --
Oct 30 10:18:42 plgagnon-laptop kernel: Linux version 4.18.16-arch1-1-ARCH (builduser@heftig-28760) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 2018
Oct 30 10:18:42 plgagnon-laptop kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=c7d128cc-5358-426c-8af9-6cb4487cfa16 rw cryptdevice=/dev/disk/by-uuid/9f858e00-b4e7-458e-8a1c-53a55f0015e8:crypt quiet resume=UUID=d0bd4d41-c0d1-4422-b3b0-062516f6ccbc mem_sleep_default=deep
Oct 30 10:18:42 plgagnon-laptop kernel: KERNEL supported cpus:
Oct 30 10:18:42 plgagnon-laptop kernel: Intel GenuineIntel
Oct 30 10:18:42 plgagnon-laptop kernel: AMD AuthenticAMD
Oct 30 10:18:42 plgagnon-laptop kernel: Centaur CentaurHauls
Oct 30 10:18:42 plgagnon-laptop kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Oct 30 10:18:42 plgagnon-laptop kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Oct 30 10:18:42 plgagnon
@Nepoxx
Nepoxx / bumpme
Last active October 3, 2017 20:12
Tue Oct 3 20:12:41 UTC 2017
@Nepoxx
Nepoxx / app.html
Created September 30, 2016 17:59 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="keys"></require>
<require from="stringTypeOf"></require>
<require from="titlerize"></require>
<form class="form-horizontal form-label-left input_mask">
<div class="form-group" repeat.for="key of data | keys">
Key: ${key}, Value: ${data[key]}
<br>
<label class="control-label col-md-3 col-sm-3 col-xs-12">Title: ${key | titlerize}</label>
interface RequestHandler {
(req: Request, res: Response, next: NextFunction): any;
}
// where Request...
interface Request extends http.ServerRequest, Express.Request {
// ...
}
'use strict';
const Benchmark = require('benchmark');
const benchmarkOutput = require('beautify-benchmark');
var suite = new Benchmark.Suite;
function litteral() {
return {
a: 3,
<template>
<require from="~/_templates/sidebar/sidebar"></require>
<require from="~/_templates/topbar/topbar"></require>
<div class="container body">
<div class="main_container">
<!-- sidebar menu -->
<side-bar class="side-bar"></side-bar>
<!-- /sidebar menu -->
<!-- top navigation -->
this.addNewListener = function(user) {
joinChannel(user.name);
return addNewChannelCache(user)
.then(function(data) {
return cache.getAsync(user.name);
})
.then(function(obj) {
if (obj == null) {
throw new Exception('Object was not in cache');
/*class Neuron {
Neuron(x, y) {
this.location = {x: x, y: y};
this.connections = [];
this.sum = 0;
}
feedForward(input) {
this.sum +=input;
if(this.sum >1) {
this.fire();
config:
target: 'http://mydomain.com/myApi'
phases:
# Warm Up
- duration: 30
arrivalRate: 5
# Ramp Up
- duration: 60
arrivalRate: 5