- the certificate mywebsite-com.crt
- the key mywebsite-com.key
- the provider certificate aprovider-com.crt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Account.where("agenda_preferences::json ->> 'features' LIKE '%new-help-center%'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
profile = PublicProfile.first | |
profile.method(:name).source_location | |
=> ["/Users/christopher/code/bandc/eden/app/models/public_profile.rb", 30] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET staging_influence_v2/_settings | |
POST staging_influence_v2/_close | |
POST staging_influence_v2/_open | |
PUT staging_influence_v2/_settings | |
{ | |
"analysis": { | |
"normalizer": { | |
"username_normalizer": { |
!!! Toujour vérifier que chaque session microsoft est ouvert dans des instances indépendantes #sessionprivée !!!
Fichier inventaire : https://docs.google.com/a/brandandcelebrities.com/spreadsheets/d/1RIp039mt0Pgd7YODNY7fYUWzEjxUghwLOV_nl4OOPOQ/edit?usp=drive_web
Ajouter une nouvelle @ du type (ex : [email protected])
Créer un alias de l'@ pour le groupe [email protected]
(le xx représente le master).
scope = Celebrity.find(10).tweet
Celebrity Load (0.5ms) SELECT `celebrities`.* FROM `celebrities` WHERE `celebrities`.`id` = 10 LIMIT 1
Tweet Load (38.2ms) SELECT `tweets`.* FROM `tweets` WHERE `tweets`.`celebrity_id` = 10
Before
$ item = Project::Speaker.find(5)
$ item.class.name
> "Project::Speaker"
$ item.class.name.split('::').first
> "Project"
$ item.class.name.split('::').last
> "Speaker"
@user = User.new(name: '')
[...]
= text_field_tag :pseudo, nil, value: params[:pseudo] || @user.name
# doesn't work :'(
= text_field_tag :pseudo, nil, value: params[:pseudo].present? ? params[:pseudo] : @user.name.present?
# works, but ugly, x2 character count ! :'(
NewerOlder