Skip to content

Instantly share code, notes, and snippets.

View Innei's full-sized avatar
πŸ’­
Coding with cloud.

Innei Innei

πŸ’­
Coding with cloud.
View GitHub Profile
@Innei
Innei / cloudSettings
Last active July 15, 2020 02:50
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-15T02:50:45.463Z","extensionVersion":"v3.4.3"}
[{"categories":[{"digital":"4:51:28","hours":4,"minutes":51,"name":"Coding","percent":99.88,"seconds":28,"text":"4 hrs 51 mins","total_seconds":17488.318153},{"digital":"0:00:20","hours":0,"minutes":0,"name":"Building","percent":0.12,"seconds":20,"text":"20 secs","total_seconds":20.28499}],"dependencies":[{"digital":"0:05:02","hours":0,"minutes":5,"name":"classnames","percent":13.97,"seconds":2,"text":"5 mins","total_seconds":302.275741},{"digital":"0:05:02","hours":0,"minutes":5,"name":"react","percent":13.97,"seconds":2,"text":"5 mins","total_seconds":302.275741},{"digital":"0:05:02","hours":0,"minutes":5,"name":"index.module","percent":13.97,"seconds":2,"text":"5 mins","total_seconds":302.275741},{"digital":"0:02:19","hours":0,"minutes":2,"name":"asset","percent":6.43,"seconds":19,"text":"2 mins","total_seconds":139.275741},{"digital":"0:02:02","hours":0,"minutes":2,"name":"react-redux","percent":5.64,"seconds":2,"text":"2 mins","total_seconds":122},{"digital":"0:02:02","hours":0,"minutes":2,"name":"contex
TypeScript 6 hrs 48 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘ 70.1%
JSON 49 mins β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.6%
YAML 44 mins β–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 7.7%
Markdown 41 mins β–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 7.1%
Bash 17 mins β–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.0%
@Innei
Innei / init.sh
Last active March 29, 2020 11:08
Homebrew init
xcode-select install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew tap thoughtbot/formulae \
github/gh \
mongodb/brew \
beeftornado/rmtree
brew install annie \
archey \
ccat \
@Innei
Innei / XtraFinderPreferences.plist
Last active May 3, 2021 11:03
XtraFinderPreferences
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>XtraFinder_ShowStatusBarIcon</key>
<false/>
<key>XtraFinder_XFArchiveActionPlugin</key>
<true/>
<key>XtraFinder_XFArchiveActionPlugin_RecentFolders</key>
<array>
⏰ Stats for April 11th 2023
Productivity Pulse 10h 5m β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘ 62%
All Productive 5h 24m β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘ 54%
All Distracting 2h 10m β–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 22%
Neutral 2h 30m β–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 25%
log = console.log
list = document.querySelectorAll('.test-t > li')
questions = [];
[...list].map(ch => {
log(ch)
const title = ch.querySelector('.title').textContent.trim();
const answerBox = ch.querySelector('.answer-box')
let answers = []
if (answerBox) {
@Innei
Innei / url-transition.js
Created August 13, 2020 13:01
Animate your url transitions
/*
* @Author: Innei
* @Date: 2020-08-13 19:55:12
* @LastEditTime: 2020-08-13 20:57:59
* @LastEditors: Innei
* @FilePath: /url-animation/index.js
* @Coding with Love
*/
// @ts-check
const allHref = [...document.querySelectorAll('a')]
@Innei
Innei / index.html
Created September 6, 2020 12:15
CSS Mask Chrome Tab
<!--
* @Author: Innei
* @Date: 2020-09-06 19:04:12
* @LastEditTime: 2020-09-06 19:54:21
* @LastEditors: Innei
* @FilePath: /mask/index.html
* @Coding with Love
-->
<!DOCTYPE html>
<html lang="en">
@Innei
Innei / convert.sh
Created May 10, 2021 10:43
convert png to webp
#!/bin/bash
for file in *; do
name="${file%.*}"
convert $file ${name}.webp
done