Skip to content

Instantly share code, notes, and snippets.

View piayo's full-sized avatar
🏠
Working from home

piayo.wau piayo

🏠
Working from home
View GitHub Profile
@rob-balfre
rob-balfre / babel.config.js
Last active October 13, 2020 08:49
Svelte webpack IE11
const presets = [
[
'@babel/preset-env',
{
targets: ['last 2 versions', 'ie >= 11'],
}
]
];
const plugins = [
@matthewp
matthewp / lit-haunted-element.js
Last active October 17, 2021 15:52
Haunted State Integration
import { LitElement } from 'lit-element';
import { State } from 'haunted';
export default class LitHauntedElement extends LitElement {
constructor() {
super();
this.hauntedState = new State(() => this.requestUpdate(), this);
}
@navix
navix / readme.md
Last active August 4, 2023 09:02
TypeScript Deep Partial Interface

TypeScript Deep Partial Interface

export type DeepPartial<T> = T extends Function ? T : (T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T);

Before typescript@3.1

type DeepPartial = {
@EkkoG
EkkoG / hd.txt
Last active March 9, 2022 04:44
All WWDC 2015 sessions download URL (video subtitle: https://github.com/qiaoxueshi/WWDC_2015_Video_Subtitle)
http://devstreaming.apple.com/videos/wwdc/2015/217wu453thu1r1/217/217_hd_adopting_new_trackpad_features.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/2267p2ni281ba/226/226_hd_advanced_nsoperations.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/233l9q8hj9mw/233/233_hd_advanced_touch_input_on_ios.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/224o6pqmtb4ik/224/224_hd_app_extension_best_practices.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/2048w4vdjhe1i1m/204/204_hd_apple_watch_accessibility.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/232f1zopzycv/232/232_hd_best_practices_for_progress_reporting.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/213w6grumlfm0q/213/213_hd_building_apps_with_researchkit.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/234reaz1byqc/234/234_hd_building_document_based_apps.mp4?dl=1
http://devstreaming.apple.com/videos/wwdc/2015/2313dt427pmq/231/231_hd_cocoa_touch_best_practices.mp4?dl=1
http://devstreaming.apple.com/vide
@ailispaw
ailispaw / patch.fix.tumblr.getTumblelogs.tbrl.js
Last active December 28, 2021 04:33
Fix Tumblr.getTumblelogs 2021.10
// ==Taberareloo==
// {
// "name" : "Fix Tumblr.getTumblelogs 2021.12"
// , "description" : "Fix Tumblr.getTumblelogs 2021.12"
// , "include" : ["background"]
// , "version" : "0.5.2"
// , "downloadURL" : "https://gist.githubusercontent.com/ailispaw/3aef8857c274e22f2b41/raw/patch.fix.tumblr.getTumblelogs.tbrl.js"
// }
// ==/Taberareloo==
@studiomohawk
studiomohawk / 2013-11-30-A-Recipe-for-Modern-Mobile-Front-end-Web-Development-html5-conference-2013.md
Created December 2, 2013 01:31
HTML5 Conference 2013: モバイル時代のフロントエンド開発レシピ フォローアップ

A Recipe for Modern Mobile Front-end Development

モバイル時代のフロントエンド開発レシピ

斉藤 祐也: Twitter@cssradar

スライド: http://d.pr/s2Qw

Intro

2013 年の新卒研修メニュー

Rails Tutorial

目的

  • 2013 年にモダンな方法で一通り Web アプリケーションを自分一人で作れるようになってもらう
  • 作る過程で Web 開発で必要とされるアプリケーションレイヤのスキルセットを身につけてもらう

教科書

@hail2u
hail2u / twitter-bird.svg
Created June 6, 2012 20:39
SVG version of the new Twitter bird.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
@paulirish
paulirish / rAF.js
Last active March 22, 2024 00:00
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];