This file contains hidden or 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
| brew link --overwrite node |
This file contains hidden or 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
| $rawData = file_get_contents("php://input"); | |
| \Log::emergency('User payload: ', ['headers' => $this->request->headers, 'user_input' => $rawData]); |
This file contains hidden or 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
| test "should get home" do | |
| get pages_home_url | |
| assert_response :success | |
| end |
This file contains hidden or 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
| require_relative '../../app/matko/nokogiri_scrape.rb' | |
| namespace :shipment do | |
| desc('Check if there any changes in shipments') | |
| task schedule: :environment do | |
| nok = NokogiriScrape.new | |
| nok.check_all_shipments | |
| end | |
| end |
This file contains hidden or 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
| open(url, "r:ISO-8859-1:UTF-8").each_line |
This file contains hidden or 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
| function showAndHideText() { | |
| var showChar = 100; | |
| var ellipsestext = "..."; | |
| var moretext = "more"; | |
| var lesstext = "less"; | |
| $('#instructions-table td').each(function () { | |
| var content = $(this).html(); | |
| if (content.length > showChar) { |
This file contains hidden or 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
| .goog-te-banner-frame.skiptranslate { | |
| display: none !important; | |
| } | |
| body { | |
| top: 0px !important; | |
| } |
This file contains hidden or 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
| @echo off | |
| @setlocal | |
| set CODECEPT_PATH=vendor/bin/ | |
| "%CODECEPT_PATH%codecept.bat" %* | |
| @endlocal |
This file contains hidden or 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
| $(".search-song").keyup(function () { | |
| // work around to get case insensitive :contains | |
| $.expr[":"].contains = $.expr.createPseudo(function (arg) { | |
| return function (elem) { | |
| return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; | |
| }; | |
| }); | |
| let searchSongValue = $(this).val(); | |
| let songField = $(".song"); | |
| let findSong = $(".song:contains('" + searchSongValue + "')").show(); |
This file contains hidden or 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
| $.expr[":"].contains = $.expr.createPseudo(function(arg) { | |
| return function( elem ) { | |
| return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0; | |
| }; | |
| }); |