function
stringlengths
11
56k
repo_name
stringlengths
5
60
features
list
def getfield(self, pkt, s): l = 8 return s[l:],self.m2i(pkt, s[:l])
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def m2i(self, pkt, x): l = [] l.append(struct.unpack("!H",x[6:8])[0]) octet = struct.unpack("B",x[8:9])[0] l.append( (octet & 2**7 ) >> 7 ) l.append( (octet & 2**6 ) >> 6 ) l.append( struct.unpack("B",x[9:10])[0] ) l.append( struct.unpack("!H",x[10:12])[0] ) ...
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def getfield(self, pkt, s): l = 18 return s[l:],self.m2i(pkt, s[:l])
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p) - 4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def post_build(self, p, pay): if self.len is None: l = len(p)+len(pay)-4 p = p[:2]+struct.pack("!H", l)+p[4:] return p+pay
phaethon/scapy
[ 847, 200, 847, 72, 1422527787 ]
def getEndpoint(endpoint): r = requests.get("http://localhost:80/api/{}".format(endpoint)) if r.status_code != 200: raise Exception("Bad status code for endpoint {}: {}".format(endpoint, r.status_code)) return r.json()
tech-server/gondul
[ 41, 10, 41, 64, 1460476181 ]
def add_header(response): if response.status_code == 200: response.cache_control.max_age = 5 response.cache_control.s_maxage = 1 return response
tech-server/gondul
[ 41, 10, 41, 64, 1460476181 ]
def root_get(path): updateData() try: template = env.get_template(path) body = template.render(objects=objects, options=request.args) except TemplateNotFound: return 'Template "{}" not found\n'.format(path), 404 except Exception as err: return 'Templating of "{}" failed t...
tech-server/gondul
[ 41, 10, 41, 64, 1460476181 ]
def root_post(path): updateData() try: content = request.stream.read(int(request.headers["Content-Length"])) template = env.from_string(content.decode("utf-8")) body = template.render(objects=objects, options=request.args) except Exception as err: return 'Templating of "{}" f...
tech-server/gondul
[ 41, 10, 41, 64, 1460476181 ]
def __init__(self, progress_callback=None): self.progress_callback = progress_callback
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def setProgressCallback(self, progress_callback): self.progress_callback = progress_callback
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def getInfo(self, lat, lon, epsilon): return None
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def get(self, parent, width, height):
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def getLegendGraphic(self): if self.legend is None and not self.triedlegend: self.triedlegend = True layer = self.layer if "," in layer: layer = layer[layer.rindex(",") + 1:] if self.legendlayer: layer = self.legendlayer url = self.baseurl + "?REQUEST=G...
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def co_to_ll(self, x, y): if self.customBounds: u, v = custom_to_unit(lat, lon, self.bounds) l, m = unit_to_latlon(u, v) elif self.isPLatLon: # patch for android - does not require pyproj library l, m = y, x elif self.isPGoogle: # patch for android - does not require pyproj ...
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def geturl(self, lat1, lon1, lat2, lon2, zoom, w, h): try: x1, y1 = self.xy_to_co(lat1, lon1) x2, y2 = self.xy_to_co(lat2, lon2) return self.url + "&BBOX=%f,%f,%f,%f&WIDTH=%i&HEIGHT=%i&ext=.png" % (x1, y1, x2, y2, w, h) except RuntimeError, e: return None
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def parseLayer(self, layer, data): try: name = layer.find("Name").text except: name = None srss = layer.findall("SRS") if name: # and srss: data[name] = map(lambda x:x.text, srss) if self.debug: print "Provider %s provides layer %s in projections %s" % ...
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def initFromGetCapabilities(self, host, baseurl, layer=None, index=0, srs=None): self.debug = (layer == None) and (index == 0) # GetCapabilities (Layers + SRS) if layer is None or srs is None: capabilities = urlopen(host + baseurl + "?SERVICE=WMS&VERSION=1.1.1&Request=GetCapabilities").read()....
jchome/LocalGuide-Mobile
[ 1, 1, 1, 1, 1412701936 ]
def __init__(self, working_directories=None): super(Configuration, self).__init__() self.img_model = ImgModel() self.mask_model = MaskModel() self.calibration_model = CalibrationModel(self.img_model) self.batch_model = BatchModel(self.calibration_model, self.mask_model) ...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def integrate_image_1d(self): """ Integrates the image in the ImageModel to a Pattern. Will also automatically save the integrated pattern, if auto_save_integrated is True. """ if self.calibration_model.is_calibrated: if self.use_mask: mask = self.mask...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def save_pattern(self, filename=None, subtract_background=False): """ Saves the current integrated pattern. The format depends on the file ending. Possible file formats: [*.xy, *.chi, *.dat, *.fxye] :param filename: where to save the file :param subtract_background: flat whet...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def _create_xy_header(self): """ Creates the header for the xy file format (contains information about calibration parameters). :return: header string """ header = self.calibration_model.create_file_header() header = header.replace('\r\n', '\n') header = header + ...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def _auto_save_patterns(self): """ Saves the current pattern in the pattern working directory (specified in self.working_directories['pattern']. When background subtraction is enabled in the pattern model the pattern will be saved with background subtraction and without in another sub-fo...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def integration_rad_points(self): return self._integration_rad_points
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def integration_rad_points(self, new_value): self._integration_rad_points = new_value self.integrate_image_1d() if self.auto_integrate_cake: self.integrate_image_2d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def cake_azimuth_points(self): return self._cake_azimuth_points
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def cake_azimuth_points(self, new_value): self._cake_azimuth_points = new_value if self.auto_integrate_cake: self.integrate_image_2d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def cake_azimuth_range(self): return self._cake_azimuth_range
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def cake_azimuth_range(self, new_value): self._cake_azimuth_range = new_value if self.auto_integrate_cake: self.integrate_image_2d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def oned_azimuth_range(self): return self._oned_azimuth_range
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def oned_azimuth_range(self, new_value): self._oned_azimuth_range = new_value if self.auto_integrate_pattern: self.integrate_image_1d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def integration_unit(self): return self._integration_unit
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def integration_unit(self, new_unit): old_unit = self.integration_unit self._integration_unit = new_unit auto_bg_subtraction = self.pattern_model.pattern.auto_background_subtraction if auto_bg_subtraction: self.pattern_model.pattern.auto_background_subtraction = False ...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def correct_solid_angle(self): return self.calibration_model.correct_solid_angle
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def correct_solid_angle(self, new_val): self.calibration_model.correct_solid_angle = new_val if self.auto_integrate_pattern: self.integrate_image_1d() if self._auto_integrate_cake: self.integrate_image_2d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def auto_integrate_cake(self): return self._auto_integrate_cake
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def auto_integrate_cake(self, new_value): if self._auto_integrate_cake == new_value: return self._auto_integrate_cake = new_value if new_value: self.img_model.img_changed.connect(self.integrate_image_2d) else: self.img_model.img_changed.disconnect(sel...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def auto_integrate_pattern(self): return self._auto_integrate_pattern
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def auto_integrate_pattern(self, new_value): if self._auto_integrate_pattern == new_value: return self._auto_integrate_pattern = new_value if new_value: self.img_model.img_changed.connect(self.integrate_image_1d) else: self.img_model.img_changed.disco...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def cake_img(self): return self.calibration_model.cake_img
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def roi(self): return self.mask_model.roi
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def roi(self, new_val): self.mask_model.roi = new_val self.integrate_image_1d()
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def save_in_hdf5(self, hdf5_group): """ Saves the configuration group in the given hdf5_group. :type hdf5_group: h5py.Group """ f = hdf5_group # save general information general_information = f.create_group('general_information') # integration parameters:...
Dioptas/Dioptas
[ 44, 25, 44, 14, 1421345772 ]
def __init__(self, conrev=1): # conrev defaulting to 1 to maintain compatibility with old definitions # conrev=1 -> old controllers (DEFAULT) # conrev=2 -> newer controllers (17R4 ...) self.zone_map = {} self.power_zones = [] self.reset_types = {} self.state_map = {} ...
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def get_state_name(self, state): """ Given a state number, return a string state name """ for state_name in self.state_map: if self.state_map[state_name] == state: return state_name return "UNKNOWN"
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def get_reset_type_name(self, num): """ Given a reset number, return a string reset name """ if num in list(self.reset_types.keys()): return self.reset_types[num] else: return "UNKNOWN"
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _reset(self, reset_type): """ Send a "reset" packet to the AlienFX controller.""" reset_code = self._get_reset_code(reset_type) pkt = self.cmd_packet.make_cmd_reset(reset_code) logging.debug("SENDING: {}".format(self.pkt_to_string(pkt))) self._driver.write_packet(pkt)
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _wait_controller_ready(self): """ Keep sending a "get status" packet to the AlienFX controller and return only when the controller is ready """ ready = False errcount=0 while not ready: pkt = self.cmd_packet.make_cmd_get_status() logging.debug...
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def pkt_to_string(self, pkt_bytes): """ Return a human readable string representation of an AlienFX command packet. """ return self.cmd_packet.pkt_to_string(pkt_bytes, self)
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _get_no_zone_code(self): """ Return a zone code corresponding to all non-visible zones.""" zone_codes = [self.zone_map[x] for x in self.zone_map] return ~reduce(lambda x,y: x|y, zone_codes, 0)
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _get_zone_codes(self, zone_names): """ Given zone names, return the zone codes they refer to. """ zones = 0 for zone in zone_names: if zone in self.zone_map: zones |= self.zone_map[zone] return zones
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _get_reset_code(self, reset_name): """ Given the name of a reset action, return its code. """ for reset in self.reset_types: if reset_name == self.reset_types[reset]: return reset logging.warning("Unknown reset type: {}".format(reset_name)) return 0
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _make_loop_cmds(self, themefile, zones, block, loop_items): """ Given loop-items from the theme file, return a list of loop commands. """ loop_cmds = [] pkt = self.cmd_packet for item in loop_items: item_type = themefile.get_action_type(item) i...
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _make_zone_cmds(self, themefile, state_name, boot=False): """ Given a theme file, return a list of zone commands.
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def _send_cmds(self, cmds): """ Send the given commands to the controller. """ for cmd in cmds: logging.debug("SENDING: {}".format(self.pkt_to_string(cmd))) self._driver.write_packet(cmd)
ashwinm76/alienfx
[ 227, 67, 227, 19, 1396889661 ]
def setUp(self): self.person = Person.objects.create(name=u"A person") self.category = Category.objects.create(name="Education") self.promise = Promise.objects.create(name="this is a promise",\ description="this is a description",\ ...
ciudadanointeligente/check-it
[ 12, 3, 12, 7, 1397502331 ]
def test_tag_css_unicode(self): '''A tag css has a unicode''' self.promise.tags.add("test") tag = self.promise.tags.first() extracss = TagExtraCss.objects.create(tag=tag, classes="extraclass") self.assertEquals(extracss.__unicode__(), u"extraclass for test")
ciudadanointeligente/check-it
[ 12, 3, 12, 7, 1397502331 ]
def line_displaced(start_coord, end_coord, displacements): '''Returns a Path defined as a line spanning points `start_coord` and `end_coord`, displaced by scalars `displacements`. The number of points in the path is determined by the lenght of `displacements`. ''' p = path([start_coord, end_coor...
drepetto/chiplotle
[ 27, 16, 27, 7, 1432836867 ]
def test_permission_from_list_to_list(self): expected = ['MANAGE_WEBHOOKS', 'USE_EXTERNAL_EMOJIS'] permission = Permission(['MANAGE_WEBHOOKS', 'USE_EXTERNAL_EMOJIS']) actual = permission.to_list() self.assertListEqual(sorted(actual), sorted(expected))
Arcbot-Org/Arcbot
[ 8, 6, 8, 16, 1416042396 ]
def test_permission_in_permission(self): self.assertTrue("ADMINISTRATOR" in Permission(2056))
Arcbot-Org/Arcbot
[ 8, 6, 8, 16, 1416042396 ]
def test_permission_not_in_permission(self): self.assertTrue("USE_VAD" not in Permission(2056))
Arcbot-Org/Arcbot
[ 8, 6, 8, 16, 1416042396 ]
def test_permission_add(self): permission = Permission(2056) self.assertTrue(permission.allows("ADMINISTRATOR")) self.assertFalse(permission.allows("MENTION_EVERYONE")) permission.add("MENTION_EVERYONE") self.assertTrue(permission.allows("MENTION_EVERYONE"))
Arcbot-Org/Arcbot
[ 8, 6, 8, 16, 1416042396 ]
def __init__(self, item_spacing=ITEM_SPACING, *args, **kwargs): super().__init__(*args, **kwargs)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def add_item(self, item): self._vbox_items.pack_start(item.widget, expand=False, fill=False)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def reorder_item(self, item, position): new_position = min(max(position, 0), len(self._items) - 1)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def remove_item(self, item): item_position = self._get_item_position(item) if item_position < len(self._items) - 1: next_item_position = item_position + 1 self._items[next_item_position].item_widget.grab_focus()
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def clear(self): for unused_ in range(len(self._items)): self.remove_item(self._items[0])
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _setup_drag(self, item): self._drag_and_drop_context.setup_drag( item.item_widget, self._get_drag_data, self._on_drag_data_received, [item], [item], self)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _get_drag_data(self, dragged_item): return str(self._items.index(dragged_item))
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_drag_data_received(self, dragged_item_index_str, destination_item): dragged_item = self._items[int(dragged_item_index_str)] self.reorder_item(dragged_item, self._get_item_position(destination_item))
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_item_widget_key_press_event(self, widget, event, item): if event.state & gtk.gdk.MOD1_MASK: # Alt key key_name = gtk.gdk.keyval_name(event.keyval) if key_name in ["Up", "KP_Up"]: self.reorder_item( item, self._get_item_position(item) - 1) elif key_name in ["Down", "KP...
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_item_button_remove_clicked(self, button, item): self.remove_item(item)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _get_item_position(self, item): return self._items.index(item)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def __init__(self, item_widget): self._item_widget = item_widget
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def widget(self): return self._event_box
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def item_widget(self): return self._item_widget
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def button_remove(self): return self._button_remove
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def remove_item_widget(self): self._hbox.remove(self._item_widget)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _setup_item_button(self, item_button, icon, position=None): item_button.set_relief(gtk.RELIEF_NONE)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_event_box_enter_notify_event(self, event_box, event): if event.detail != gtk.gdk.NOTIFY_INFERIOR: self._hbox_buttons.show()
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_event_box_leave_notify_event(self, event_box, event): if event.detail != gtk.gdk.NOTIFY_INFERIOR: self._hbox_buttons.hide()
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_event_box_size_allocate(self, event_box, allocation): if self._is_event_box_allocated_size: return
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _on_event_box_buttons_size_allocate(self, event_box, allocation): if self._buttons_allocation is not None: return
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def __init__( self, new_item_default_value, min_size=0, max_size=None, item_spacing=ItemBox.ITEM_SPACING, max_width=None, max_height=None, *args, **kwargs): """ Parameters:
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _init_gui(self): self._size_spin_button = gtk.SpinButton( gtk.Adjustment( value=0, lower=self._min_size, upper=self._max_size, step_incr=1, page_incr=10, ), digits=0)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def add_item(self, item_value=None, index=None): if item_value is None: item_value = self._new_item_default_value
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def reorder_item(self, item, new_position): orig_position = self._get_item_position(item) processed_new_position = super().reorder_item(item, new_position)
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def remove_item(self, item): if (self._locker.is_unlocked("prevent_removal_below_min_size") and len(self._items) == self._min_size): return
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def set_values(self, values): self._locker.lock("emit_size_spin_button_value_changed") self._locker.lock("prevent_removal_below_min_size")
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]
def _setup_drag(self, item): self._drag_and_drop_context.setup_drag( # Using the entire item allows dragging only by the label rather than the # widget itself. This avoids problems with widgets such as spin buttons # that do not behave correctly when reordering and also avoids accidental # c...
khalim19/gimp-plugin-export-layers
[ 522, 38, 522, 29, 1403878280 ]