Skip to content

Instantly share code, notes, and snippets.

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

nenw* HelloWorld017

πŸ’
muguet - Hanahuruhibi,
View GitHub Profile
@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 April 28, 2025 06:24
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 January 14, 2025 22:52
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 <[email protected]>
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%의 μ—¬μžμ•„μ΄μ™€ μ—‡κ°ˆλ¦°λ‹€.
μ†”μ§νžˆ 말해 κ·Έλ‹€μ§€ 예쁜 μ—¬μžμ•„μ΄λŠ” μ•„λ‹ˆλ‹€.
λˆˆμ— λ„λŠ” 데가 μžˆλŠ” 것도 μ•„λ‹ˆλ‹€.
λ©‹μ§„ μ˜·μ„ μž…κ³  μžˆλŠ” 것도 μ•„λ‹ˆλ‹€.
머리카락 λ’€μͺ½μ—λŠ” λ‚˜μœ μž λ²„λ¦‡μ΄ 끈질기게 달라뢙어 있고,
λ‚˜μ΄λ„ 적지 μ•Šλ‹€.
벌써 μ„œλ₯Έ 살에 κ°€κΉŒμšΈν…Œλ‹ˆκΉŒ.