Poweroff, on grub
screen press e
on Arch entry to add on the linux
line (after quiet
option) the
option:
intel_pstate=disable
and boot. Login and run in a terminal:
# Server | |
# To use it: | |
# - Load this script in Blender Note editor as `net.py` | |
# - Select the objects that should handle the network logic (for example an empty or the camera) | |
# - Add an Always sensor with only raise up | |
# - Add a python controller as a module, that calls `net.serve` | |
# - connect sensor and controller | |
# - enjoy | |
import bge |
#!/usr/bin/env ruby | |
require "json" | |
# Changes the shell-version variable for all local active extensions | |
$EXTENSIONS_LIST = eval(`gsettings get org.gnome.shell enabled-extensions`) | |
if not $EXTENSIONS_LIST.is_a?(Array) | |
raise RuntimeError "Cannot read extension list" | |
end | |
$SHELL_VERSION = `gnome-shell --version` |
/** | |
* A simple theme for reveal.js presentations, derived from serif.css | |
* It's in the spirit of the Metropolis theme for beamer https://github.com/matze/mtheme | |
* | |
* This theme is Copyright (C) 2016 Vince Hodges, http://sourdoughlabs.com - it is MIT licensed. | |
*/ | |
@import url(../../lib/font/fira/fira.css); | |
.reveal a { |
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
from timer import Timer | |
with Timer(): | |
print("do something") | |
with Timer(): | |
print("do something else") |
def tictoc | |
tic = Time.now | |
yield | |
toc = Time.now | |
ret = toc - tic | |
puts "Time elapsed #{'%.3f' % ret}" | |
return ret | |
end |
# $Id$ | |
# Maintainer: Matteo Ragni <[email protected]> | |
# Contributor: Matteo Ragni <[email protected]> | |
# Based on the original package by: | |
# Ruben Van Boxem <[email protected]> | |
# Allan McRae <[email protected]> | |
pkgname=('gcc49-cuda') | |
_pkgver=4.9 |
classdef TelegramNotifier | |
%TELEGRAMNOTIFIER is an extremely simple class to send a notification | |
% when a long simulation is ended. | |
properties | |
conf_file | |
config | |
end | |
methods | |
function self = TelegramNotifier(path) | |
%TELEGRAMNOTIFIER create a new telegram notifier object. |
/* Test for Automatic differentiation in C */ | |
/* MIT License - Ragni Matteo 2016 */ | |
#include <math.h> | |
typedef double number; | |
// Math constants | |
#define AD_PI 3.141592653589793 | |
#define AD_E 2.718281828459045 |