Skip to content

Instantly share code, notes, and snippets.

View HelloWorld017's full-sized avatar
๐Ÿ’
muguet - Hanahuruhibi,

nenw* HelloWorld017

๐Ÿ’
muguet - Hanahuruhibi,
View GitHub Profile
@ygkn
ygkn / session.py
Last active July 24, 2021 12:15
ๅฐๆž—ใ•ใ‚“ใกใฎใƒกใ‚คใƒ‰ใƒฉใ‚ดใƒณใงๅ‡บใฆใใŸใ‚ณใƒผใƒ‰๏ผˆๅฐๆž—ใ•ใ‚“ใ‚’ๆŽขใ›๏ผ๏ผ‰ ref: https://qiita.com/ygkn/items/6b3be1afa31e4092826e
"""
Session Management
(from web.py)
"""
@HelloWorld017
HelloWorld017 / README.md
Last active January 17, 2022 12:52
Powerline style for Atom

How to

  1. Download powerline.less into ATOM_HOME (default: ~/.atom/)
  2. Add @import './powerline.less'; into your styles.less in ATOM_HOME.
  3. Enjoy! :D

Warning

Powerline could not work on some themes.
Officially supported themes:

  • Atom Dark
  • Atom Light
@paulirish
paulirish / what-forces-layout.md
Last active June 10, 2026 01:58
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
@ErisDS
ErisDS / examples.md
Last active December 28, 2025 12:41
Ghost Filter Query examples

Filter Queries - Example Use Cases

Here are a few example use cases, these use cases combine filter with other parameters to make useful API queries. The syntax for any of this may change between now, implementation, and release - they're meant as illustrative examples :)

Fetch 3 posts with tags which match 'photo' or 'video' and aren't the post with id 5.

api.posts.browse({filter: "tags:[photo, video] + id:-5", limit="3"});

GET /api/posts?filter=tags%3A%5Bphoto%2Cvideo%5D%2Bid%3A-5&limit=3

@luca020400
luca020400 / ambient_display.patch
Created April 27, 2015 09:09
Ambient Display
From e097fc9e7b87332dd887cf55e3a3b021a284b219 Mon Sep 17 00:00:00 2001
From: luca020400 <luca.stefani.ge1@gmail.com>
Date: Mon, 27 Apr 2015 11:08:31 +0200
Subject: [PATCH] msm8226-common: enable ambient display
Change-Id: Ic33479b31094e411da9390b1fbbda2ca92b72db7
---
.../frameworks/base/core/res/res/values/config.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
4์›”์˜ ์–ด๋А ํ•ด๋ง‘์€ ์•„์นจ,
ํ•˜๋ผ์ฃผ์ฟ ์˜ ๋’ค์•ˆ๊ธธ์—์„œ ๋‚˜๋Š” 100%์˜ ์—ฌ์ž์•„์ด์™€ ์—‡๊ฐˆ๋ฆฐ๋‹ค.
์†”์งํžˆ ๋งํ•ด ๊ทธ๋‹ค์ง€ ์˜ˆ์œ ์—ฌ์ž์•„์ด๋Š” ์•„๋‹ˆ๋‹ค.
๋ˆˆ์— ๋„๋Š” ๋ฐ๊ฐ€ ์žˆ๋Š” ๊ฒƒ๋„ ์•„๋‹ˆ๋‹ค.
๋ฉ‹์ง„ ์˜ท์„ ์ž…๊ณ  ์žˆ๋Š” ๊ฒƒ๋„ ์•„๋‹ˆ๋‹ค.
๋จธ๋ฆฌ์นด๋ฝ ๋’ค์ชฝ์—๋Š” ๋‚˜์œ ์ž ๋ฒ„๋ฆ‡์ด ๋ˆ์งˆ๊ธฐ๊ฒŒ ๋‹ฌ๋ผ๋ถ™์–ด ์žˆ๊ณ ,
๋‚˜์ด๋„ ์ ์ง€ ์•Š๋‹ค.
๋ฒŒ์จ ์„œ๋ฅธ ์‚ด์— ๊ฐ€๊นŒ์šธํ…Œ๋‹ˆ๊นŒ.