Skip to content

Instantly share code, notes, and snippets.

View dai's full-sized avatar
🗻
still Catch it Up.

dai dai

🗻
still Catch it Up.
View GitHub Profile
@yamashiro
yamashiro / matome.md
Last active December 15, 2015 08:29
java-ja.ddd の資料、ブログ記事などのまとめ
@conorbuck
conorbuck / Light Theme.html
Last active December 18, 2015 11:39
Light Theme
<!-- Load Feather code -->
<script type="text/javascript" src="http://feather.aviary.com/js/feather_beta.js"></script>
<!-- Instantiate Feather -->
<script type='text/javascript'>
var featherEditor = new Aviary.Feather({
apiKey: 'YOUR_KEY',
apiVersion: 3,
tools: 'all',
appendTo: '',
var snapbackCache = SnapbackCache({
bodySelector: "#recordings"
});
jQuery(document).on("click", "body#recordings a", function (e) {
snapbackCache.cachePage();
});
/* Copyright (c) 2016 JavaTooling
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON
@jeppeburchardt
jeppeburchardt / msbuild node gyp
Created July 17, 2013 12:54
node gyp msbuild misssing registry warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\Setenv.cmd" /Release /x86
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\Setenv.cmd" /Release /x64
@igrigorik
igrigorik / github-ruby.sql
Created April 28, 2012 19:07
BigQuery example
/* top 100 repos for Ruby by number of pushes */
SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url
FROM [githubarchive:github.timeline]
WHERE type="PushEvent"
AND repository_language="Ruby"
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-04-01 00:00:00')
GROUP BY repository_name, repository_description, repository_url
ORDER BY pushes DESC
LIMIT 100
@mala
mala / gist:457a25650950d4daf4144f98159802cc
Last active September 28, 2016 12:55
CVE-2016-7401 CSRF protection bypass on a site with Google Analytics の解説

CVE-2016-7401

多くのcookie parserは、pairsの区切りとして ; と , を許容しているのでdjango以外にも影響がある。 ブラウザが使用するcookie pairの区切りは実際には ;

Apple's Swift team has an opening for a DevOps engineer! If you are interested, please email: swift-job-apply@group.apple.com

Job Summary

Are you excited about Swift? Imagine what you could do for software development as a member of the Swift team at Apple, where you will have an opportunity to make an impact on both the Swift open source community and on Apple's developer tools products!

As a DevOps quality engineer on the Swift team, you will help engineer solutions to enable better development processes and raise the bar on the quality of the Swift compiler, both as a component of Xcode, and as an open source project. This team architects and maintains a large continuous integration (Jenkins) and automation system, so experience with scaling an infrastructure and automation is highly desired. This role also requires stellar communication, collaboration, and organization skills. The successful candidate is also highly motivated and proactive, detail-oriented, and has a passion for seeking ever hig

@drufball
drufball / high-level-features.md
Last active December 1, 2017 06:59
Short descriptions for the "what high-level features do you want to see in browsers?" survey

Infinite list: Automatically lazy-loads content from a data source as the user scrolls, view-recycling as necessary.

Lazy-load image: Won't load the resource until it is on or near the screen.

Pull to refresh: Recreate the "pull down to refresh" UI from iOS and Android.

Carousel: Side scroller that handles lazy-loading and optionally snaps to elements.

Multi-line ellipsis: Automatically hide text and replace with a fade/ellipsis after a specified number of lines.

@c-bata
c-bata / readme.md
Last active October 31, 2018 01:33
Translate po files using Google Translate API. This supports translation cache and calculating costs.