Skip to content

Instantly share code, notes, and snippets.

View ngs's full-sized avatar
🎣
Fly Fishing

Atsushi NAGASE ngs

🎣
Fly Fishing
View GitHub Profile
@frederikbosch
frederikbosch / Dockerfile
Created March 11, 2019 09:34
osslsigncode
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
openssl libcurl4-openssl-dev libssl-dev libengine-pkcs11-openssl \
curl libcurl4 \
git automake libtool pkg-config wget \
libccid libpcsclite1 pcscd usbutils opensc
RUN git clone https://github.com/mtrojnar/osslsigncode
HTTP/1.1 302 Found
Date: Fri, 09 Nov 2018 00:46:58 GMT
Content-Type: text/html; charset=utf-8
Server: GitHub.com
Status: 302 Found
Cache-Control: no-cache
Vary: X-PJAX
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/2502638/69829df4-6a5a-11e8-8b75-dce1f1b551e8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181109T004658Z&X-Amz-Expires=300&X-Amz-Signature=7bf0421619bd43b452b2d113483b515a5b07f1ccdce11d414ae987f798ae5ec8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Drtorrent-0.9.7.tar.gz&response-content-type=application%2Foctet-stream
Set-Cookie: has_recent_activity=1; path=/; expires=Fri, 09 Nov 2018 01:46:58 -0000
Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Tue, 09 Nov 2038 00:46:58 -0000; secure; HttpOnly
@dai0304
dai0304 / gist:6db4cfb88a9494d93b69a57d08c14142
Last active August 23, 2020 01:34
首狩り族からの手紙
日付: 2017年10月25日 17:08
件名: Steve Maddenでございます。
ミヤモト様
お世話になっております。
IT業界に特化したヘッドハンター、Steve Maddenと申します。
度々のご連絡、大変失礼いたします。
@ezura
ezura / phantom_type.swift
Last active June 15, 2017 09:36
Phantom Type @iosdc
/*:
## Reference
* [Swift: Money with Phantom Types](https://www.natashatherobot.com/swift-money-phantom-types/)
* [Swift で Phantom Type (幽霊型)](http://qiita.com/taketo1024/items/71e3272211f08d7e0cde)
* [Functional Snippet #13: Phantom Types](https://www.objc.io/blog/2014/12/29/functional-snippet-13-phantom-types/)
* [Phantom Typeでコンパイル時に状態チェックする: shibuya.swift #4](https://speakerdeck.com/kazuhiro4949/phantom-typedekonpairushi-nizhuang-tai-tietukusuru-shibuya-dot-swift-number-4)
*/
import Foundation
@dealforest
dealforest / slack.py
Last active January 24, 2018 01:53
send to slack in LLDB
#!/usr/bin/env python
import lldb
def slack(debugger, command, result, internal_dict):
frame = lldb.debugger.GetSelectedTarget().GetProcess().GetSelectedThread().GetSelectedFrame()
path = command
lldb.debugger.HandleCommand("""
expr -l swift --
@kissrobber
kissrobber / graph_database_memo.md
Last active April 16, 2018 02:36
Graph Database memo
#
# AWS TOTAL Billing information
#
<source>
type cloudwatch
tag cloudwatch-billing.amount
cw_endpoint monitoring.us-east-1.amazonaws.com
namespace AWS/Billing
metric_name EstimatedCharges
@novi
novi / devices.c
Created April 21, 2016 05:15
Retrieval audio devices of yours with CoreAudio HAL.
// $ clang -framework CoreAudio devices.c
#include <stdio.h>
#include <stdlib.h>
#include <CoreAudio/CoreAudio.h>
int main(int argc, char *argv[]) {
AudioObjectPropertyAddress theAddress = { kAudioHardwarePropertyDevices,
@yoshuawuyts
yoshuawuyts / .profile
Created April 6, 2016 03:29 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@mwilliammyers
mwilliammyers / eclim.rb
Created September 13, 2015 04:20
eclim Homebrew formula
class Eclim < Formula
desc "Eclim provides the ability to access Eclipse code editing features via the command line or favorite editor (eg. VIM)"
homepage "http://eclim.org/index.html"
url "http://sourceforge.net/projects/eclim/files/eclim/2.4.1/eclim_2.4.1.jar", :using => :nounzip
sha256 "289ba3643a1193edfc68bf042043f4847995733eecb23e2077f49f39c51a1527"
head "git://github.com/ervandew/eclim.git"
#keg_only "..."