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
package main | |
import ( | |
"fmt" | |
"log/slog" | |
"net/http" | |
"os" | |
) | |
type Api struct { |
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
package betaseries | |
import ( | |
"bytes" | |
"fmt" | |
) | |
type ShowService service | |
type Error struct { |
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
package betaseries | |
import ( | |
"errors" | |
"fmt" | |
) | |
type ShowService service | |
type ShowResponse struct { |
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
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Tmdb\Repository\DiscoverRepository; | |
use Tmdb\Model\Query\Discover\DiscoverTvQuery; | |
class Series extends Command | |
{ |
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
#!/usr/bin/env python | |
#coding=utf-8 | |
import sys | |
from PyQt4 import QtGui, QtCore | |
import os | |
def notification(): | |
print "good" |
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
<?php | |
/* | |
File : functions.php (in your theme) | |
Override "woocommerce_before_shop_loop" hook. | |
Add a check : (Line 41 - 43) | |
Avoid error if administrator choosing "rating" in administration and rating are disabled. | |
IF "woocommerce_enable_review_rating" option equal "no" | |
AND | |
"woocommerce_default_catalog_orderby" option equal "rating" |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Homepage</title> | |
<link rel="icon" type="image/png" href="favicon.png"> | |
<meta name="viewport" content="width=1000, initial-scale=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
.ellipsis { | |
white-space: nowrap; | |
overflow: hidden; | |
-ms-text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
text-overflow: ellipsis; | |
} | |
/********** Menu *************/ | |
#menu { |
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
$.fn.sliderLabel = function(options) { | |
var settings = $.extend({ | |
marginTop: 2, | |
// Margin between the slider handle and the label (in pixels) | |
callback: function(value) { | |
return 'Value: ' + value; | |
} | |
}, options); |
NewerOlder