Skip to content

Instantly share code, notes, and snippets.

View limi58's full-sized avatar
🎯
Focusing

limi58 limi58

🎯
Focusing
View GitHub Profile
@limi58
limi58 / auto-amazon.js
Last active December 28, 2021 16:18
auto amazon of tampermonkey script
// ==UserScript==
// @name auto-amazon
// @namespace http://tampermonkey.net/auto-amazon
// @version 0.1
// @description auto-amazon
// @author DebugMi
// @match https://www.amazon.cn/*
// @grant GM_log
// @grant GM_setValue
// @grant GM_getValue
@limi58
limi58 / .vimrc
Last active August 2, 2018 15:26
vim
set number
set expandtab
set ts=2
set sw=2
set scrolloff=10
syntax enable
syntax on
set laststatus=2
set autoindent
set tabstop=2
@limi58
limi58 / phone-system.js
Created September 6, 2016 03:13
check phone system
function getSystem() {
const isWx = this.isWx()
const u = navigator.userAgent;
if(isWx && u.indexOf('Android') > -1){
return 'aw'
}
if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {
return 'a'
} else if (u.indexOf('iPhone') > -1) {
@limi58
limi58 / loader.css
Created September 1, 2016 09:37
some css or scss snippets
@-webkit-keyframes scale {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1; }
45% {
-webkit-transform: scale(0.1);
transform: scale(0.1);
opacity: 0.7; }
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->