Skip to content

Instantly share code, notes, and snippets.

View Fiyorden's full-sized avatar

Cartier Alexandre Fiyorden

View GitHub Profile
@Fiyorden
Fiyorden / gist:156f4d477a59811d100b
Created April 29, 2015 21:27
Capistrano 3 - Hipchat usage
require 'hipchat'
set :hipchat_user, "Capistrano"
set :hipchat_token, "mettre le token"
set :hipchat_client, HipChat::Client.new(fetch(:hipchat_token))
set :hipchat_room_name, "Nom de la salle" # If you pass an array such as ["room_a", "room_b"] you can send announcements to multiple rooms.
# Optional
set :hipchat_announce, false # notify users
set :hipchat_message_format, 'html' # Sets the deployment message format, see https://www.hipchat.com/docs/api/method/rooms/message
set :hipchat_options, {
:api_version => "v2" # Set "v2" to send messages with API v2
@Fiyorden
Fiyorden / gitlab_repo.rb
Last active February 29, 2020 11:42
Gitlab repo for dashing
#!/usr/bin/env ruby
require 'net/http'
require 'json'
gitlab_token = "YOUR TOKEN"
gitlab_uri = "URL GITLAB"
# number of repositories to display in the list
# order the list by the numbers
ordered = true
@Fiyorden
Fiyorden / application.js
Created April 12, 2012 22:47
Erreur d'utilisation de jquery-file-upload
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
Warning: Building with LLVM, but this formula is reported to not work with LLVM:
Dies during compilation of motionpixels_tablegen
We are continuing anyway so if the build succeeds, please open a ticket with
the following information: 2336-10.7. So
that we can update the formula accordingly. Thanks!
If it doesn't work you can try: brew install --use-clang
==> You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should: git reset --hard