Skip to content

Instantly share code, notes, and snippets.

View feliupe's full-sized avatar

Felipe feliupe

  • Nuuday
View GitHub Profile
@feliupe
feliupe / bugs.csv
Created August 30, 2023 10:07
bugs
Created Labels Labels Labels Labels Labels Labels
2023-08-24 12:53 ew:navigation ew:player
2023-08-24 12:41 ew:navigation ew:pointermode
2023-08-24 12:36 ew:navigation ew:pointermode
2023-08-24 10:58 ew:navigation ew:pointermode
2023-08-21 11:23 ew:epg
2023-08-17 13:54 ew:content
2023-08-17 12:05 ew:content ew:player
2023-08-17 11:58 ew:player
2023-08-10 14:49 ew:design
/* eslint-disable react/jsx-no-undef */
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable chai-friendly/no-unused-expressions */
/* eslint-disable @typescript-eslint/no-unused-vars */
// @ts-nocheck
import React, { useState } from 'react'
import { useDispatch, useSelector } from 'react-redux'
import { useMount } from '~/hooks/useMount'
interface Synopsis {
@feliupe
feliupe / gpl
Created February 16, 2022 13:22
query userChannels($cursor: String) {
channels(after: $cursor, category: ALLOWED, type: [TV_CHANNEL]) {
pageInfo {
hasNextPage
__typename
}
edges {
cursor
node {
... on TVChannel {
@feliupe
feliupe / stack.py
Created August 16, 2018 19:11
exchange timeout log
integrations_1 | ERROR 19:04:05 exchange.py:138 : Error trying to connect to exchange.
integrations_1 | Traceback (most recent call last):
integrations_1 | File "/home/background/archii/background/file_integration/services/exchange.py", line 104, in authenticate
integrations_1 | access_type=DELEGATE
integrations_1 | File "/usr/local/lib/python3.6/site-packages/exchangelib/account.py", line 100, in __init__
integrations_1 | self.root = Root.get_distinguished(account=self)
integrations_1 | File "/usr/local/lib/python3.6/site-packages/exchangelib/folders.py", line 811, in get_distinguished
integrations_1 | account=account, folders=[cls(account=account, name=cls.DISTINGUISHED_FOLDER_ID)]).get_folders()
integrations_1 | File "/usr/local/lib/python3.6/site-packages/exchangelib/services.py", line 1053, in call
integrations_1 | s
var getNodeObjects = function (path, options) {
// add extra options based on 'options'
function _processNode (node) {
const _node = Object.assign({}, node)
var icon
if (options.getIcon) {
icon = options.getIcon(_node.nodeId)
} else {
icon = options.icons[_node.nodeId]
<%= link_to new_task_path(:project_id => @project.id, :state => '1'), remote: true, data: {reveal_id: "myModal"} do %>
<div id="myModal" class="reveal-modal" data-reveal>
<%= render 'form' %>
</div>
name release_date price description img_url
Blusa de Agiota 1972 75 Blusa intimidante pra quem quer intimidar http://www.ligadoemserie.com.br/wp-content/uploads/2014/07/faustofanti.jpg
Roupa típica Gauchada 1990 65 Roupa típica usada no festival da Gauchada http://i.ytimg.com/vi/sImk_dAamZQ/hqdefault.jpg
Calça Moletom (usada) 1992 12 Calça Moletom (Heringer) usada mas em ótimas condições http://www.buscabrecho.com.br/img_roupas/calca-moleton-hering-4-anos.JPG
Camiseta Exército 170 10 Camiseta com ar de usada porém nova. Obs: várias fantasias (Exécito/Mendigo/Salsicha) http://2.bp.blogspot.com/_yCzU7dPi50w/TFoq68YSnAI/AAAAAAAAACw/OkB4EdDgtps/s1600/camiseta-g-20100406.jpg
@feliupe
feliupe / 1-seeds.rb
Last active August 29, 2015 14:14
Script para preencher o banco
require 'csv'
CSV.foreach(Rails.root.join("db/seeds_data/items.csv"), headers: true) do |row|
Peca.find_or_create_by(name: row[0],
release_date: row[1],
price: row[2],
description: row[3],
img_url: row[4])
end
foo.js
============================================================
$.ajax({
data: {'termo': termo},
url: 'http://localhost/tarefa66/sysvendas/getFestas.php',
complete: function(data) {
$('#resultado').text(JSON.parse(data)[0]);
@feliupe
feliupe / package.json
Created November 6, 2014 23:06
package.json
{
"name": "grunt-reload",
"version": "1.0.0",
"devDependencies": {
"grunt": "~0.4.3",
"grunt-contrib-less": "^0.12.0",
"grunt-contrib-watch": "~0.6.0",
"grunt-express": "~1.2.1",
"grunt-open": "~0.2.3",
"matchdep": "~0.3.0"