Skip to content

Instantly share code, notes, and snippets.

View gofydo's full-sized avatar

Fyodor Wolf gofydo

View GitHub Profile
@gofydo
gofydo / site-filter-bookmarklet.js
Last active March 27, 2018 20:31
A JS bookmark that prompts for a piece of swappable URL params, and navigates to it in a new tab.
javascript:(function() {
var url = "https://www.google.com/search?safe=active&biw=1302&bih=916&tbm=isch&source=lnt&tbs=isz:ex,iszw:128,iszh:128&q={q}";
var prompt = 'Name the icon:';
var input_text = '';
function isValid() {
return q.length > 0;
}
function getQuery() {
user_id rating
5981ebca975c40091f105d22 4
5981ebca975c40091f105d22 3
5981ebca975c40091f105d22 5
5087ff2cffd3db6f68053828 4
5087ff2cffd3db6f68053828 4
5087ff2cffd3db6f68053828 4
user_id rating classification_category
5981ebca975c40091f105d22 1 18
5981ebca975c40091f105d22 3
5981ebca975c40091f105d22 5 11
@gofydo
gofydo / gist:268586965b5d910a71eb5ed309378344
Last active February 9, 2017 23:03
restore fwolf envs.
# TPX
mongorestore --host 127.0.0.1:27017 --drop --db tpx ../dumps/tpx/
./manage.py delete-ats connect-scoutexchangellc
./manage.py console
u = User.get_by_email("scout_support@goscoutgo.com")
u.password = "1"
u.save()
make run
# Connect