Skip to content

Instantly share code, notes, and snippets.

View Nerahikada's full-sized avatar
➡️
left

ねらひかだ Nerahikada

➡️
left
View GitHub Profile
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2023-01-18T18:19:11.4118961</Date>
<Author>NULL234\null234</Author>
<URI>\SetDefaulDeviceOnConnection</URI>
<Description>Stop annoying windows! i want to decide what stadart playback device i use.</Description>
</RegistrationInfo>
<Triggers>
<EventTrigger>
@yaroslavche
yaroslavche / create_stream_from_string.md
Last active September 16, 2024 09:17
PHP. Create a stream from a string

If you know the string is small use

$stream = fopen(sprintf('data://text/plain,%s', $string), 'r');
$result = stream_get_contents($stream);

data://

When passing plain string without base64 encoding, do not forget to pass the string through URLENCODE(), because PHP automatically urldecodes all entities inside passed string (and therefore all + get lost, all % entities will be converted to the corresponding characters).

If data is large - better use

@voluntas
voluntas / webrtc_for_work.rst
Last active November 6, 2024 03:49
仕事で WebRTC

仕事で WebRTC

日時:2023-01-15
作:@voluntas
バージョン:2023.1
url:https://voluntas.github.io/

この資料は以下の製品の宣伝を含みます。

@jimmywarting
jimmywarting / readme.md
Last active June 5, 2025 05:56
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@caniszczyk
caniszczyk / clone-all-twitter-github-repos.sh
Created October 9, 2012 04:25
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'