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
Shader "Unlit/Intersection Glow" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,0,0,1) | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Transparent" "Queue"="Transparent" } | |
LOD 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
#!/usr/bin/env python | |
""" | |
Script to open TCP connection and send 1 HTTP GET request containing | |
a specific string, and header | |
Usage: | |
./http.py <IP_of_target> | |
There is only one mandatory argument, which is the target IP address. |
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
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 | |
} |
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/
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
# -*- 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 |
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
using Windows.System.Profile; | |
using Windows.UI.ViewManagement; | |
namespace Wagonli.Tools | |
{ | |
public static class DeviceTypeHelper | |
{ | |
public static DeviceFormFactorType GetDeviceFormFactorType() | |
{ | |
switch (AnalyticsInfo.VersionInfo.DeviceFamily) |
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
//Now with less jquery | |
//1) go to your my-list page, and scroll to the bottom to make sure it's all loaded: | |
//http://www.netflix.com/browse/my-list | |
//2) Next, paste this in your developer tools console and hit enter: | |
[...document.querySelectorAll('.slider [aria-label]')].map(ele => ele.getAttribute('aria-label')) | |
//or use this to copy the list to your clipboard: | |
copy([...document.querySelectorAll('.slider [aria-label]')].map(ele => ele.getAttribute('aria-label'))) |