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 | |
if($get_image) { | |
if(strpos($get_image, '.png') == true) { | |
$get_image = str_replace('.png','',$get_image); | |
} | |
if($image_functions->get_image_for_check($get_image) == 'false') { |
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 | |
//MAIN CONFIGURATION | |
require_once(dirname(__FILE__) . "/include/configuration.php"); | |
//DATABASE | |
require_once(dirname(__FILE__) . "/include/db/conn.php"); | |
require_once(dirname(__FILE__) . "/include/db/func.php"); | |
$sb = new susboy($pdo); |
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
Sub CreateAfile() | |
Call ImageCreate | |
''FILE 1 START'' | |
Set fs = CreateObject("Scripting.FileSystemObject") | |
Set a = fs.CreateTextFile(App.Path & "\data\animals\" & txtBugName.Text & "\antenna.txt", True) | |
a.WriteLine ("N/A") | |
a.Close | |
''FILE 1 END'' | |
''FILE 2 START'' | |
Set fs = CreateObject("Scripting.FileSystemObject") |
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
VERSION 5.00 | |
Begin VB.Form ProViewer | |
BorderStyle = 1 'Fixed Single | |
Caption = "Form1" | |
ClientHeight = 7695 | |
ClientLeft = 45 | |
ClientTop = 375 | |
ClientWidth = 6015 | |
LinkTopic = "Form1" | |
MaxButton = 0 'False |
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> | |
<head> | |
<title>Lyrics Database</title> | |
</head> | |
<body> | |
<?php | |
error_reporting(0); | |
$artist_original = $_GET['artist']; | |
$song_original = $_GET['song']; | |
// |
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 | |
require("../include/configuration.php"); | |
require("../include/helper.php"); | |
require("../include/db/conn.php"); | |
require("../include/db/func.php"); | |
$home = new MyHomeBoardPHP($pdo); | |
if(isset($_GET['action']) && isset($_GET['id']) && isset($_GET['type'])){ | |
$type = htmlentities($_GET['type']); |
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
<script> | |
function SearchEnabled() { | |
if(document.getElementById("ext_search_txt").value==="") { | |
document.getElementById('ext_search').disabled = true; | |
} else { | |
document.getElementById('ext_search').disabled = false; | |
} | |
} | |
</script> |
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
Imports YourApp.Registry | |
Public Class frmMain | |
Private Sub btnRegGet_Click(sender As Object, e As EventArgs) Handles btnRegGet.Click | |
Try | |
lbKeys.Items.Clear() | |
For Each i In getKeys("SOFTWARE\Google") | |
lbKeys.Items.Add(i.ToString) | |
Next |
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
body { | |
font-family: monospace; | |
background-color: #1d1f21; | |
color: #FFF; | |
} | |
a:link { | |
text-decoration:none; | |
color:#CC3300; | |
} |
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 | |
$user = "laim"; | |
$key = ""; | |
$type = "history"; //history or watching | |
// You need to register an API app here https://trakt.tv/oauth/applications to get the API Key (ClientID) | |
function traktAPI($user, $key, $type) { | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, "https://api.trakt.tv/users/$user/$type"); |
OlderNewer