Skip to content

Instantly share code, notes, and snippets.

View ginokent's full-sized avatar
๐Ÿ 
Working from home

ginokent ginokent

๐Ÿ 
Working from home
View GitHub Profile
@voluntas
voluntas / webrtc_ultra_low_latency_streaming.rst
Last active August 6, 2023 21:42
WebRTC ่ถ…ไฝŽ้…ๅปถ้…ไฟกใƒŽใ‚นใ‚นใƒก

WebRTC ่ถ…ไฝŽ้…ๅปถ้…ไฟกใƒŽใ‚นใ‚นใƒก

ๆ—ฅๆ™‚:2018-08-08
ไฝœ่€…:@voluntas
ใƒใƒผใ‚ธใƒงใƒณ:18.08.0
url:https://sora.shiguredo.jp/

ใ“ใฎ่จ˜ไบ‹ใŒ่‰ฏใ„ใจๆ€ใฃใŸใ‚‰ใ“ใฎ่จ˜ไบ‹ใซ Star ใ‚’ๆ˜ฏ้ž

@salrashid123
salrashid123 / hmac_sign.py
Last active June 21, 2022 10:24
hmac_sign.py
import base64
import datetime
import hashlib
import hmac
import time
import os
import sys
import json
<div id=root />
<script type=module>
import React from 'https://dev.jspm.io/react@16'
import ReactDOM from 'https://dev.jspm.io/react-dom@16'
ReactDOM.render(
React.createElement('h1', null, 'hello'),
document.querySelector('#root')
)
</script>
@tkhk
tkhk / think_ansible.md
Last active May 28, 2018 07:44
WIP: ansible playbook ้›‘่จ˜

ansible playbook ้›‘่จ˜

playbook ใ‚’ๆ›ธใไธŠใง

  • ใ€Œไฝ•ใ‚’ใ—ใŸใ‹ใ€
  • ใ€Œไฝ•ใ‚’่€ƒใˆใ‚‹ใ‹ใ€
  • ใ€Œไฝ•ใŒ่พ›ใ‹ใฃใŸใ‹ใ€

ใ‚’ๅฟ˜ใ‚Œใชใ„ใ‚ˆใ†ใซๆ›ธใ„ใฆใŠใ

@voluntas
voluntas / death_march.md
Last active May 1, 2025 20:44
ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

่‘—่€…๏ผš ้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“ย @bluecrow2

ใ“ใ‚Œใฏ็ตๅŸŽๆตฉใ•ใ‚“ใฎ้‹็”จใ•ใ‚Œใฆใ„ใŸ YukiWiki ใซๅฝ“ๆ™‚ Coffee ๆง˜ (้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“๏ผ‰ใŒใ‹ใ‹ใ‚Œใฆใ„ใŸๆ–‡็ซ ใงใ™ใ€‚ ใŸใ  2018 ๅนด 3 ๆœˆ 7 ๆ—ฅใซ YukiWiki ใŒ้‹็”จๅœๆญขใ—ใŸใŸใ‚ๆถˆใˆใฆใ—ใพใ„ใพใ—ใŸใ€‚ใใฎ่จ˜ไบ‹ใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใงใ™ใ€‚

ไปŠใฏ 404 ใงใ™ใŒใ€ใ‚‚ใจใ‚‚ใจใฎ่จ˜ไบ‹ใฎ URL ใฏ http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 ใซใชใ‚Šใพใ™ใ€‚

ๆ˜”ใ€่‡ชๅˆ†ใŒใจใฆใ‚‚ๆ„Ÿ้Š˜ใ‚’ๅ—ใ‘ใŸๆ–‡็ซ ใชใฎใงใ€ใ“ใฎใพใพ่ชญใ‚ใชใใชใ‚‹ใฎใฏใจใฆใ‚‚ใ‚‚ใฃใŸใ„ใชใ„ใจๆ€ใ„ใ€ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใจใ—ใฆๅ…ฌ้–‹ใ—ใฆใ„ใพใ™ใ€‚

@Integralist
Integralist / Golang Prevent Directory Listing with Static FileServer.go
Created April 3, 2018 14:53
[Golang Prevent Directory Listing with Static FileServer] #static #fileserver #go #golang
func noDirListing(h http.Handler) http.HandlerFunc {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if strings.HasSuffix(r.URL.Path, "/") {
http.NotFound(w, r)
return
}
h.ServeHTTP(w, r)
})
}
@crgimenes
crgimenes / stringToReaderCloser.go
Last active March 11, 2025 06:14
string to io.ReadCloser
package main
import (
"bytes"
"fmt"
"io"
"os"
"strings"
)
@shunirr
shunirr / criminal_jc.md
Last active December 25, 2024 04:13
ๅฅณๅญไธญๅญฆ็”Ÿใƒใ‚ฑใƒƒใƒˆ่ฉๆฌบไบ‹ไปถ

criminal_jc

@ryboe
ryboe / .travis.yml
Last active December 5, 2024 03:44
Example .travis.yml for Golang
# use the latest ubuntu environment (18.04) available on travis
dist: bionic
language: go
# You don't need to test on very old versions of the Go compiler. It's the user's
# responsibility to keep their compiler up to date.
go:
- 1.16.x
@agentsim
agentsim / highsierra_bootable.sh
Created June 10, 2017 02:23
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg