Skip to content

Instantly share code, notes, and snippets.

@prokop75
prokop75 / 7MZO6FG3ND
Created January 17, 2018 16:30
7MZO6FG3ND
12609247
12545728
12545718
12545580
12545217
12543924
12543809
12543494
12543491
12542064
@prokop75
prokop75 / 4K95OCMQUW
Created January 17, 2018 16:08
4K95OCMQUW
This file has been truncated, but you can view the full file.
12615038
12545680
12545642
12545477
12545296
12545258
12545233
12545219
12545203
12545007
This file has been truncated, but you can view the full file.
8940183
6987118
8818850
9556766
8429061
12591505
12464320
11279077
8310891
12392780
This file has been truncated, but you can view the full file.
12624828
12519105
11589024
11194899
6928629
11639801
8385588
7905233
11682189
7793893
This file has been truncated, but you can view the full file.
12392062
5596781
7446779
11705332
7053768
7149450
11410656
8179217
7770798
2838485
@prokop75
prokop75 / gist:a1e141c10b828d03ae74aca3f06e06e4
Created November 10, 2016 20:39
Chopt make order ahead orders not reorderable
chopt_location_ids = [
5652,
6397,
6646,
6647,
6648,
6650,
6651,
6652,
6653,
require 'json'
require "set"
class MenuItem
def initialize(id, name)
@id = id
@name = name
@categories = {}
@all_categories = Set.new
@prokop75
prokop75 / gist:6d58f1e111e1a8b34d11
Created December 17, 2015 16:38
Veggie Grill user opt out
app = App.find(858)
users = app.users
c=0
users.each {|u|
if (u.apps.count == 1)
puts "#{u.id} #{u.email}"
u.prevent_bundling_until = Time.now + 100.years
u.save!