First quit LibreOffice Writer if you have it running. Next, perform the following commands.
sudo dnf install texlive-cm-unicode
mkdir -p ~/.fonts/
dnf repoquery -l texlive-cm-unicode | egrep '\.otf$' \
| xargs -I{} ln -s {} ~/.fonts/
# -*- coding: utf-8 -*- | |
# Solution for Munich kickstart tasks 2015 | |
# Introduces the vision system, servo control and a finate state machine | |
# ---------------------------------------------------------------------- | |
# | |
# Loest die Aufgaben, die in den Zeilen stehen, die mit #TASK# beginnen. | |
# ---------------------------------------------------------------------- | |
# import SR libraries |
// c = t%(m+1) | |
// T - итоговая сумма, M - макс допустимое значение контрольной суммы | |
#include <stdio.h> | |
#define MAX 256 | |
#define POLYNOMIAL 0x81 | |
FILE *file; | |
unsigned char crc8(unsigned int len) |
using Windows.System.Profile; | |
using Windows.UI.ViewManagement; | |
namespace Wagonli.Tools | |
{ | |
public static class DeviceTypeHelper | |
{ | |
public static DeviceFormFactorType GetDeviceFormFactorType() | |
{ | |
switch (AnalyticsInfo.VersionInfo.DeviceFamily) |
package main | |
import "encoding/json" | |
// Unescape UTF-8 string | |
// e.g. convert "\u0e27\u0e23\u0e0d\u0e32" to "วรญา" | |
func UnescapeString(str string) (unescapedString string) { | |
json.Unmarshal([]byte(`"`+str+`"`), &unescapedString) | |
return | |
} |
Shader "Unlit/Intersection Glow" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,0,0,1) | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Transparent" "Queue"="Transparent" } | |
LOD 100 |
/opt/bin/nvidia-smi | |
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb | |
dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb 2> /dev/null | |
apt-key add /var/cuda-repo-8-0-local-ga2/7fa2af80.pub | |
apt-get update | |
apt-get install -qq cuda gcc-5 g++-5 -y | |
ln -s /usr/bin/gcc-5 /usr/local/cuda/bin/gcc | |
ln -s /usr/bin/g++-5 /usr/local/cuda/bin/g++ | |
/usr/local/cuda/bin/nvcc --version |
extends Node | |
var client | |
var wrapped_client | |
var connected = false | |
var message_center | |
var should_connect = false | |
func _ready(): |
First quit LibreOffice Writer if you have it running. Next, perform the following commands.
sudo dnf install texlive-cm-unicode
mkdir -p ~/.fonts/
dnf repoquery -l texlive-cm-unicode | egrep '\.otf$' \
| xargs -I{} ln -s {} ~/.fonts/
#!/bin/zsh | |
# Asks a series of questions and then returns an image | |
# use like "bash catchphrase.sh" | |
echo "What is your favorite color?" | |
read theColor | |
echo "What is your catchphrase?" | |
read thePhrase | |
convert -size 1000x1000 xc:$theColor +repage \ | |
-size 800x800 -fill white -background None \ |