Skip to content

Instantly share code, notes, and snippets.

View eddix's full-sized avatar

eddix eddix

  • Beijing
  • 06:58 (UTC +08:00)
View GitHub Profile
@maffinca69
maffinca69 / appleshit.agents.cfg
Last active July 26, 2022 17:49
This is gist has been created on based post @nebular - https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082. Thanks all, who helped creating this script
com.apple.security.keychainsyncingoveridsproxy
com.apple.personad
com.apple.passd
com.apple.screensharing.MessagesAgent
com.apple.CommCenter-osx
com.apple.Maps.mapspushd
com.apple.Maps.pushdaemon
com.apple.photoanalysisd
com.apple.telephonyutilities.callservicesd
com.apple.AirPlayUIAgent
@ericrasch
ericrasch / dabblet.css
Created March 15, 2012 16:41
Horizontal Type Line Behind Text
/**
* Horizontal Type Line Behind Text
* Inspired by this discussion @ CSS-Tricks: http://css-tricks.com/forums/discussion/comment/51357#Comment_51357
* Available on jsFiddle: http://jsfiddle.net/ericrasch/jAXXA/
* Available on Dabblet: http://dabblet.com/gist/2045198
* Available on GitHub Gist: https://gist.github.com/2045198
*/
h2 {
font: 33px sans-serif;
@dodeja
dodeja / gist:1691624
Created January 27, 2012 23:44
Warden HTTP Basic Auth Strategy for Padrino
# I am using this for an API. So auth key is passed as user name.
Warden::Strategies.add(:basic) do
def auth
@auth ||= Rack::Auth::Basic::Request.new(env)
end
def store?
false
@dhh
dhh / gist:1014971
Created June 8, 2011 18:09
Use concerns to keep your models manageable
# autoload concerns
module YourApp
class Application < Rails::Application
config.autoload_paths += %W(
#{config.root}/app/controllers/concerns
#{config.root}/app/models/concerns
)
end
end