Posts

Showing posts from February 3, 2019

Hardcore wrestling

Image
Hardcore wrestling é uma forma de combate no wrestling profissional que é principalmente caracterizada pela não utilização de algumas regras tradicionais que formam uma luta padrão em favorecimento de lutas que permitem o uso de armas, que normalmente, são motivos de desclassificação. As promoções de wrestling, em sua maioria, só utilizam hardcore wrestling como forma de resolver rivalidades, no entanto, existe uma parcela delas que são especializadas neste tipo de luta, ou seja, a utilizam como uma forma de luta padrão em seus shows. Esse tipo de combate ficou primeiramente famoso no Japão através das promoções Frontier Martial-Arts Wrestling e W*ING. Nos Estados Unidos, ficou famoso através da Extreme Championship Wrestling. Hardcore wrestling possui um grande contraste em relação ao wrestling técnico/científico tradicional, dando mais prioridade a violência do que a pura habilidade técnica do wrestler em si. Por causa disso, o hardcore é pejorativamente chamado de garbage wr

How do I use a custom command with node graphicmagick?

Image
0 here is how im currently trimming my image with gm var fs = require('fs') var gm = require('gm').subClass({imageMagick: true}); gm(PATH) .trim() .write('test-output.png', function (err) { if (!err) console.log('done'); }); But it seems I need to use -fuzz (Use -fuzz to make -trim remove edges that are nearly the same color as the corner pixels.). I cannot figure out how to use this command: gm(PATH) .out('convert image -fuzz 10 -trim') .write('test-output.png', function (err) { if (!err) console.log('done'); }); This does nothing, doesn't even output. the docs aren't very clear on how to format the custom commands. Any help is appreciated. node.js imagemagick graphicsmagick

How do I automatically create an issue in a new GitHub repository?

Image
0 I am the admin of a GitHub organization. I have set up a Repository webhook for the organization. I am using ngrok to communicate to a local sinatra instance. Here is my server.rb file: require 'sinatra' require 'json' set :port, 1234 post '/payload' do push = JSON.parse(request.body.read) puts "I got some JSON: #{push.inspect}" end I receive a JSON payload when a repository is created. I would like to automatically create an issue in this new repository with a name and description. I'm assuming I need to use a gem to interact with GitHub API, so I chose octokit. I was able to authenticate, but I'm having trouble seeing how to interact with the API. I would like to create an issue in the newly created GitHub repository. Could I see some examples on ho thi