Skip to content

Instantly share code, notes, and snippets.

tobynet tobynet

  • Toyama, Japan
Block or report user

Report or block tobynet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wybiral
wybiral / noscript-tracking.go
Last active Nov 9, 2019
Tracking cursor position in real-time with remote monitoring (without JavaScript)
View noscript-tracking.go
// Tracking cursor position in real-time without JavaScript
// Demo: https://twitter.com/davywtf/status/1124146339259002881
package main
import (
"fmt"
"net/http"
"strings"
)
@udzura
udzura / yawaraka-docker.md
Last active Apr 28, 2019
やわらかDocker
View yawaraka-docker.md
@mtei
mtei / helix_keyboard_build_tool_memo.md
Last active Oct 5, 2019
キーボード自作、特に Helix キーボードキットの製作に最低必要な工具のメモ
@mrry
mrry / tensorflow_self_check.py
Last active Oct 30, 2019
[DEPRECATED] TensorFlow on Windows self-check
View tensorflow_self_check.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@knowsuchagency
knowsuchagency / typecheck.py
Last active Sep 21, 2019
A cell magic to enable the use of mypy within jupyter notebooks
View typecheck.py
"""
Add mypy type-checking cell magic to jupyter/ipython.
Save this script to your ipython profile's startup directory.
IPython's directories can be found via `ipython locate [profile]` to find the current ipython directory and ipython profile directory, respectively.
For example, this file could exist on a path like this on mac:
/Users/yourusername/.ipython/profile_default/startup/typecheck.py
View LINQX.cs
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Linq
{
/// <summary>LINQ Extension</summary>
[DebuggerStepThrough]
public static partial class LINQX
{
public static bool? MixedResult<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate)
@mala
mala / a.md
Last active Jan 24, 2019
Chrome ExtensionのLive HTTP Headersの調査(CoolBar.Pro導入 Extensionが何を行うかの調査)
View a.md

Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。

11/7追記

English version: https://translate.google.com/translate?sl=ja&tl=en&js=y&prev=_t&hl=ja&ie=UTF-8&u=https%3A%2F%2Fgist.github.com%2Fmala%2Fe87973df5029d96c9269d9431fcef5cb&edit-text=&act=url

Summary in english.

@stknohg
stknohg / Write-BOMlessUTF8Sample.ps1
Last active Oct 14, 2019
PowerShellでBOM無しUTF8を書くサンプル
View Write-BOMlessUTF8Sample.ps1
# 例1
"書き込み内容" `
| % { [Text.Encoding]::UTF8.GetBytes($_) } `
| Set-Content -Path ".\BOMlessUTF8.txt" -Encoding Byte
# 例2
Get-Content -Path ".\Source.txt" -Raw -Encoding Default `
| % { [Text.Encoding]::UTF8.GetBytes($_) } `
| Set-Content -Path ".\BOMlessUTF8.txt" -Encoding Byte
You can’t perform that action at this time.