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
- filter_description = [ { :value => :approved, :traduction => t('approved'), :condition => true }, { :value => :pending, :traduction => t('pending'), :condition => true }, { :value => :canceled, :traduction => t('canceled'), :condition => true } ] | |
- sort_by_description = { :created_at => t('created_at') } | |
#clients_my_credits{ :'data-module' => 'Groups.Clients.MyCredits' } | |
= render :partial => "shared/tm_table", :locals => { :controller => 'groups/clients', :action => 'my_credits', :elements => @wire_requests, :empty_msg => "empty_table_bottom_my_invoices", :partial_for_element => "/groups/clients/my_credits/my_wire_transfer_row_table", :partial_for_action => '/groups/clients/my_credits/buy_bundles', :sort_by_description => sort_by_description, :filter_description => filter_description } |
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
$project['name'] = 'test'; | |
$project['ctype'] = 'proofreading'; | |
$project['language_from'] = 'fr'; | |
$project['language_to'] = 'fr'; | |
$project['category'] = 'C003'; | |
$project['project_briefing'] = 'Hello word'; | |
$project['same_author_must_do_entire_project'] = 'false'; | |
$project['language_level'] = 'basic_language_level'; | |
$project['work_template'] = 'Default'; |
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
//date formatting | |
import java.util.Date; | |
import java.text.SimpleDateFormat; | |
import java.util.TimeZone; | |
//http request | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.DataOutputStream; |
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
grep -rE ',.*:focus' spec/ | |
focus_clean=$? | |
grep -rE '^ *(binding\.pry|debugger)' spec/ lib/ app/ | |
pry_clean=$? | |
if [[ $focus_clean == "1" && $pry_clean == "1" ]]; then | |
exit 0; | |
else | |
exit 1; |
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
[Unit] | |
Description=Puma HTTP Server | |
After=network.target | |
# Uncomment for socket activation (see below) | |
# Requires=puma.socket | |
[Service] | |
# Foreground process (do not use --daemon in ExecStart or config.rb) | |
Type=simple |