Skip to content

Instantly share code, notes, and snippets.

View pobing's full-sized avatar

Jed pobing

View GitHub Profile
@pobing
pobing / golbal.coffee
Last active January 30, 2018 08:01
Some global Javascript method
window.TBS ||= {}
Date::format = (format) ->
o =
'M+': @getMonth() + 1
'd+': @getDate()
'h+': @getHours()
'm+': @getMinutes()
's+': @getSeconds()
'q+': Math.floor((@getMonth() + 3) / 3)
@pobing
pobing / 大学.json
Created May 11, 2018 09:02 — forked from zerosrat/大学.json
中国大学名单
{
"湖南省": [
"湘潭大学",
"吉首大学",
"湖南大学",
"中南大学",
"湖南科技大学",
"长沙理工大学",
"湖南农业大学",
"中南林业科技大学",
desc "update zone data"
task :find_bad_js => :environment do
JS_PATH = "/lit/app/assets/javascripts/**/*.js";
Dir[JS_PATH].each do |file_name|
puts "\n#{file_name}"
puts Uglifier.compile(File.read(file_name))
end
end
@pobing
pobing / Preferences.sublime-settings
Created February 23, 2022 09:06
Preferences.sublime-settings of User
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"color_scheme": "Monokai.sublime-color-scheme",
"copy_with_empty_selection": true,
"dictionary": "Packages/Language - English/en_US.dic",
"ensure_newline_at_eof_on_save": true,
"font_size": 20,
"ignored_packages":
[